DALLAS (AP) – An attorney for Occupy Dallas says protesters can stay at a campsite near City Hall four more weeks as long as they obey the law.

Jonathan Winocour said the agreement was reached with the city during a meeting Wednesday.

Protesters are trying to raise awareness about corporate greed and economic inequality. They say they will keep their campsite clean so they don’t get kicked out.

On Tuesday, a federal judge cleared the way for the city to close the campsite.

Dallas Mayor Mike Rawlings has said public safety and health conditions are a “paramount concern.”

The city last week alleged protesters violated an agreement allowing the campsite. The city noted reports of an alleged sexual assault of a child, the removal of a baby over possible endangerment and trespassing arrests.

(© Copyright 2011 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)