NEW YORK (CBSNewYork) — A judge issued a temporary restraining order Tuesday halting the city’s effort to move the homeless out of hotels and into congregate shelters.

READ MOREAdvocates Rally Against NYC’s Decision To Move Thousands Of Homeless Individuals From Hotels To Shelters

The ruling came after several homeless advocates were arrested as they protested earlier in the morning at the city’s Department of Social Services in lower Manhattan.

READ MORENew York City’s Plan To Move Homeless Back To Shelters Hit Roadblock As Some Refused To Leave Midtown Sheraton

The order requires the city to ensure the needs of disabled homeless New Yorkers are properly assessed before they are moved back into shelters.

“We thank the Court for taking a thoughtful look at the question of how and on what timeline we return to shelter, not whether we do – and we are pleased that the judge did not stop our overall return to shelter plan from proceeding,” the Department of Social Services said in a statement. “We will make the minor adjustments to our process as directed, we plan to move forward next week, and we remain committed to meeting our  clients’ unique needs and granting accommodations as requested, as we have in hundreds of cases already.”

CBSNewYork Team