A man who is believed to have overdosed on drugs at a Central Islip courthouse Wednesday was revived thanks to a court officer with Narcan training.

Suffolk County Courts Sgt. Regina Rutigliano was standing in the lobby of the Cohalan Court Complex about 1:45 p.m. when she noticed a young man who appeared to be unwell.

“I had asked him if he had taken any drugs or felt ill,” Rutigliano said. “He started shaking and I knew something wasn’t right.”

The man then began to turn blue and Rutigliano and her fellow officer, Gregory Rains, laid the man on the ground. Rutigliano then administered three doses of Narcan to reverse the overdose as they waited for an ambulance.

Narcan, a name brand for the drug naloxone, is an emergency injection or nasal spray that can revive people who are suffering from an opiate overdose.