NEW YORK (AP) — More than a dozen elected officials were arrested Thursday while protesting conditions at a New York City immigration holding facility where a federal judge this week extended a court order requiring the government to improve the treatment of detainees.

Eleven officials were apprehended while attempting to inspect holding rooms on the 10th floor of the government’s 26 Federal Plaza building in Manhattan. This action was part of a larger coalition of politicians, advocates, and faith leaders advocating for reform.

The officials, which included City Comptroller Brad Lander and members of the state legislature, aimed to ensure compliance with a preliminary injunction issued Wednesday by a federal court, which mandates U.S. Immigration and Customs Enforcement (ICE) to eliminate squalid conditions and overcrowding in detention facilities.

Lander, who has previously been arrested for non-violent activism linked to the immigrant community, expressed concern about detainee treatment after linking arms with someone authorities were attempting to detain during a prior event. He was released within hours of his arrest.

Additionally, city Public Advocate Jumaane Williams was among those arrested outside the federal building as part of the protest efforts. In total, more than 75 participants were reportedly detained, marking a significant moment in the ongoing battle for improved immigration policies and humane treatment of those in custody.