A federal judge overseeing New York City’s jails has assigned an outside manager to take over operations on Rikers Island.

The historic move takes the troubled jail complex out of the city’s control after nearly a decade of legal battles.

The jail has been overseen by a court-appointed monitor ever since a class-action lawsuit was settled back in 2015.

Judge Laura Taylor Swain has been receiving regular updates on the conditions at Rikers, and she ruled back in November that the city was in contempt for failing to reduce violent conditions inside the jail.

Swain has now ordered a “remedial manager” to take charge.

The manager will be able to change Department of Correction policies, discipline officers who violate use-of-force rules and negotiate and renegotiate contracts with the correctional officers’ union.

Hernandez Stroud, a senior fellow in the Justice Program at the Brennan Center for Justice and an expert on receivership for prisons and jails, joined NY1 political anchor Errol Louis on “Inside City Hall” Tuesday to talk more about the judge’s decision.

“Part of the object of receivership is to remove the person and the reform work from the political sphere and put it in the judiciary where the hope is that it will be insulated from political pressures,” Stroud said.

Tap the video player above to watch the interview.