A former New York state trooper who admitted staging a fake crime scene, shooting himself in the leg and saying someone else did it — part of what prosecutors say was an effort to garner sympathy — was sentenced Wednesday to six months in jail in accordance with a plea deal.

Thomas Mascia, 28, previously pleaded guilty to tampering with physical evidence, falsely reporting an incident and official misconduct in the Oct. 30, 2024 incident. Mascia had claimed he was wounded by an unknown gunman.

In addition to the jail time, Mascia is looking at five years of probation. Mental health treatment will be a required condition of that probation. Also, a $289,511 civil judgment will be ordered.

“Thomas Mascia’s actions were as meticulously calculated as they were disgraceful. His lies wasted hundreds of hours of law enforcement manpower, deeply cost taxpayers in Nassau County, and betrayed the public’s trust of those in uniform,” Nassau County District Attorney Anne Donnelly said in a statement.

It was the day before Halloween, last year, that Mascia, had reported seeing a disabled vehicle on the center median near exit 17 westbound on the Southern State Parkway. He said the vehicle had a temporary New Jersey plate and heavily tinted windows — and that after he took steps toward it, a masked man opened fire.

The New York State Police, Nassau County Police Department, New York City Police Department, New Jersey State Police and Newark Police Department all mobilized to track down the shooter as Mascia was transported to Nassau University Medical Center for treatment for the gunshot wound. Nine .22 caliber shell casings were recovered from the scene, and a BOLO was ordered for the Dodge Charger Mascia said the shooter was driving.

After an extensive investigation by the New York State Police and NCDA, evidence was uncovered that Mascia shot himself in the leg and transmitted a false report. He later told a court he created a fake crime scene near exit 17 of the Southern State Parkway by spreading spent shells on the road. He then drove in his state trooper vehicle to Hempstead Lake State Park, where he said he shot himself with the same caliber rifle as the shells he left at the scene. Then Mascia said he went back to the highway and called in the shooting.

Mascia resigned from the New York State Police in January.

His parents previously pleaded guilty to an unrelated weapons charge.