The city has agreed to pay up to $53 million to more than 4,000 pretrial detainees who say they were harshly treated and isolated at Rikers Island and Manhattan jails between 2018 and 2022. 

The agreement will have to be approved by a federal judge but stems from a class-action lawsuit filed by former detainees alleging the city Department of Correction confined detainees to small spaces and deprived them of sunlight. 

If the agreement goes through, those affected would be eligible to receive $400 for each day held in those facilities. They'd receive $450 per day if they were younger than 22 or diagnosed with a serious mental illness at the time.

Alex Reinert, one of the lawyers for the plaintiffs, joined Errol Louis on “Inside City Hall” Thursday to discuss the case.