A one year-old child is alive, thanks to the efforts of Police Officer Thomas Dunn, whose quick thinking saved the baby on Sunday.

According to the NYPD, Dunn responded to a call about an unconscious baby at Rainbow Clothing Store on West 181 Street at 1:50 p.m. A firefighter was holding the limp baby in his arms, and Dunn, who has also been an EMT for 10 years, took him and started to look for vital signs.

Dunn was unable to find his heartbeat or breathing, so he pinched the baby's thigh. The baby didn't respond, so the cop put him on the trunk of his patrol car and gave him two chest compressions and then two rescue breaths. The NYPD says, "Immediately the child gasped for air and began to breathe again just as EMS pulled up to the front of the store."

The baby, who had been with his sitter, was taken to Columbia-Presbyterian Medical Center in stable condition. The police say he was released to his mother and is doing well.

You can learn CPR for free from the FDNY—there's a mobile CPR unit and if your company has more than 15 employees, you can arrange to have them visit your office for instruction. The FDNY also has an app that takes you through CPR compressions and also helps you locate defibrillators.