After a year of scathing media reports and a Department of Justice review, New York City is changing the way it treats its teen inmates. The city will stop holding 16- and 17-year-old inmates in solitary confinement, beginning at the end of the year, AP reported.

In August, the United States attorney’s office released a report that said that Rikers Island, where the majority of New York City prisoners are held, too often turned to solitary confinement and had a “deep-seated culture of violence,” the New York Times reported. The change will affect roughly 300 of Rikers Island’s 11,000 inmates.

For more, watch this report of a former teen inmate at Rikers Island talking about the experience and lasting impacts of being held in solitary confinement while he was behind bars.