NEW YORK (CBSNewYork/AP) — A judge sentenced an undercover NYPD detective convicted in a 2013 attack on an SUV driver in upper Manhattan to two years in a city jail.

Justice Maxwell Wiley handed down the term to Wojciech Braszczok in state Supreme Court Wednesday.

The 34-year-old detective had faced up to seven years in prison after being acquitted of the most serious charges but convicted of lesser crimes.

Braszczok and his co-defendant, Robert Sims, had said they believed the driver was fleeing the scene of a crime because he had just struck a biker amid the September 2013 rally on the West Side Highway.

The SUV’s driver, Alexian Lien, testified in court he was scared for his life and the safety of his family after being taunted by the group, CBS2’s Alice Gainer reported. The couple called 911 numerous times.

Lien was pulled from his SUV in Washington Heights and beaten in front of his wife and young daughter.

Braszczok took off as Lien was attacked, Gainer reported.