This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

A federal judge on Tuesday granted a temporary restraining order barring Orange County Sheriff’s deputies from arresting homeless people who refuse to leave encampments along the Santa Ana River.

U.S. District Judge David Carter’s order is related to a lawsuit filed Jan. 29 seeking to halt an ongoing effort to clear homeless people who have set up camp along the river trail and prevent three cities — Anaheim, Costa Mesa and Orange — from enforcing anti-camping, trespassing and loitering laws.

The lawsuit alleges the county and cities have taken actions that forced hundreds of homeless people to move to the riverbed and is now moving to push those people back into cities without plans to provide adequate housing and shelter.

“The court will not allow haphazard, hurried enforcement action in an effort to clear the population …,” Carter wrote in his order.

Read the full story on LATimes.com.