The four Jersey City police officers charged in a 2017 incident in which gunshots were fired at a moving vehicle and an innocent man was beaten after escaping from his burning car have lost their jobs, but likely won’t face jail time.

Officers MD Khan, Eric Kosinski and Francisco Rodriguez , as well as Lt. Keith Ludwig were terminated from the police department as of Tuesday’s hearing in Hudson County Superior Court and have been barred from ever being employed in law enforcement in New Jersey.

The charges stemmed from the June 4, 2017 high speed pursuit of Leo Pinkston, who led police on chase that ended when he crashed into a vehicle driven by Miguel Feliz-Rodriguez at Tonnelle Avenue and North Street. The vehicles crashed into a utility pole and downed wires set them ablaze.

Feliz-Rodriguez crawled from his car with his clothes on fire and an eyewitness video captured officers appearing to kick the innocent bystander as he attempted to extinguish himself.

Khan pleaded guilty to aggravated assault in the third-degree for his attempt to cause significant bodily injury to Feliz-Rodriguez. Kahn could have faced up to five years in prison, but is expected to be sentenced to a period of probation on Nov. 8.

Kosinski pleaded guilty to endangering another person for firing at Pinkston’s vehicle in the area of Carlton and Tonnelle avenues, risking injuring pedestrian and motorists. Kosinski has been allowed to enter the Pretrial Intervention Program and if he successfully completes a year of supervision, the charge against him will be dropped.

Both Khan and Kosinksi initially faced attempted murder charges.

Rodriguez also pleaded guilty to endangering another person for firing at Pinkston’s vehicle in the area of Tonnelle and Manhattan avenues and has also entered PTI with the same conditions as Kosinski.

Ludwig entered the PTI program without pleading guilty to a crime with the same conditions as the two officers above. He will also be compelled to retire from the police department. The cell phone video appeared to have shown Ludwig striking Feliz-Rodriguez.

The chase began when officers tried to pull Pinkston over near the Bayonne border because his car fit the description of one involved in a recent shooting.

Pinkston pleaded guilty to eluding police and aggravated assault related to the pursuit which left Feliz-Rodriguez hospitalized with severe burns. In March 2018, Pinkston was sentenced to five years in prison. He will become eligible for parole in February.

At Tuesday’s hearing, Hudson County Assistant Prosecutor Karyn Darish told Superior Court Judge Mitzy Galis-Menendez that Feliz-Rodriguez had been consulted and approved of how the charges against the officers would be resolved.

“This agreement is substantive in that it provides accountability for the actions of the police officers while at the same time taking into account the input of the victim,” said Hudson County Prosecutor Esther Suarez. “It is the most fair and just resolution in a difficult case.”

“This is a difficult day for these four men who made a decision that allows them to move on from an incident in which they tried to protect the public and ended up losing their careers as a result,” the Jersey City Police Officers Benevolent Association said in a statement. “We will continue to stand with them and their families.”