A Bronx teacher arrested in the Occupy Wall Street protests won a battle with the city to get his job back.

David Suker, a 47-year-old GED teacher, was arrested in a protest back in November 2011.

Suker was then hit with charges by the Department of Education for not immediately reporting his arrest, and was also accused of riling up students during a police presentation.

The DOE also charged Suker with excessive absences and breaking protocol while punishing two students 3 years earlier.

He was eventually fired in August 2012.

A Manhattan Supreme Court judge ruled that while Suker can return to work, he'll have to pay $7,000 in fines for violations.

Suker's attorney says he'll be getting the equivalent of three years back pay.