The U.S. Court of Appeals for the Fifth Circuit has largely upheld a monumental decision that dismantles Harris County’s bail system because it holds thousands of people behind bars for no other reason than that they are poor.

Last year, U.S. District Judge Lee Rosenthal of Houston ruled in O’Donnell v. Harris County that the bail system used in Texas’ biggest county violated the due process and equal protection rights of indigent people arrested for minor offenses. Rosenthal also rejected Harris County’s argument that persons who have been arrested have no right to affordable bail.