MASTIC BEACH, N.Y. (CBSNewYork) — A Suffolk County Police officer saved the life of a Mastic Beach man who overdosed on heroin on Wednesday.

Officer Michael Alfieri went to a home on Lacrosse Road just before 7 a.m. after a 911 caller reported a 27-year-old man had overdosed.

READ MORE: Gov. Hochul, Mayor Adams: New Interstate Task Force On Illegal Guns To Focus On Safety Of New York City

The man was unresponsive and not breathing when Alfieri arrived at the scene.

Alfieri knew just what to do.

“When I arrived at the scene we began some CPR and were able to administer a Narcan, a nasal spray” Alfieri told 1010 WINS.

READ MORE: NYC Mourning NYPD Officers Wilbert Mora, Jason Rivera After Deadly Ambush In Harlem

The Suffolk County Police Department recently joined the New York State Department of Health’s pilot program involving the deployment of the intranasal anti-narcotic medication.

Alfieri also gave the man oxygen.

“I was definitely shocked at how well it worked,” Alfieri said. “I was very relieved when he opened his eyes and started breathing on his own.”

The man was taken to Brookhaven Memorial Hospital Medical Center in East Patchogue. There is no word on his condition.

MORE NEWS: Fire Damages Building Under Construction In Brooklyn

He will not be charged.