The ex-trooper who suffered a “medical event” in Middleboro that ended up costing him his job — but not any charges — was saved by Narcan shots that reversed an opioid overdose, the Herald has learned.

Matthew Kelley of 7 Warren Avenue was found “not breathing” on his bathroom floor on May 7, 2021, after his girlfriend made a 911 call at 6:06 p.m., a source said.

He was given multiple shots of Narcan and an ambulance rushed him to Morton Hospital in Taunton after a quick-thinking officer on the scene “saved him,” the source added.

Narcan, or Naloxone, reverses an opioid overdose “by blocking the effects of opiates on the brain and by restoring breathing,” according to online medical sites. Naloxone will “only work if a person has opiates in their system. It will not work with other drugs,” experts state.

With ODs skyrocketing, reaching an all-time high in Massachusetts, first responders treat Narcan pens as they do their service weapons: Both are standard equipment when they head out on patrol.

The Plymouth District Attorney’s Office said Thursday night Kelley, 35, will not face any charges. He has been dishonorably discharged from the State Police.

“No charges were filed against Mr. Kelley. Given the facts and circumstances surrounding this incident, MGL Chapter 94C Section 34A(b) provides that an overdose victim cannot be charged or prosecuted for possession of a controlled substance if the charge of possession was gained as a result of the overdose,” the DA’s spokeswoman Beth Stone said.

As the Herald reported Thursday, a heavily redacted internal affairs report states “coke” and “8-ball size bags” taken in a drug bust Kelley was involved in were all part of the probe into what sent the now-bounced trooper to the hospital a year ago.

Middleboro Police Chief Joe Perkins said the case was initially handled by his department until the State Police took over.

“Middleboro did respond to a call at a residence for a medical” emergency, he said Thursday. “We notified State Police and we assisted with further investigation and they took command of the scene.”

He added State Police collected evidence, meaning his department could not make a criminal case even if they wanted to.

Kelley could not be reached for comment.

This story was updated based off a Middleboro Police report.