BERKELEY (CBS SF) — Despite heated opposition from homeless advocates, the Berkeley city council voted Tuesday night in favor of a strict set of laws that will ban people from taking up more than 2 square feet of space on sidewalks.

The laws ban people from sleeping in planter beds, leaving any personal belongings in trees, and also tighten existing bans on public urination and defecation.

READ MORE: Santa Clara County Mounts Effort to Boost Vaccination Rate to Reach Herd Immunity

ALSO READ: Facebook Takes Down Page Touting ‘White Student Union’ At UC Berkeley

Vice Mayor Linda Maio says the rules are meant to help the homeless.

“This is designed to create welcoming sidewalks for everyone,” Maio said.

ALSO READ: Google Accused Of Invading Students’ Privacy In Complaint To Feds

READ MORE: San Francisco Nightlife: Not Quite Back to Normal But Getting There

The city plans to build new public bathrooms downtown, and create storage units for personal belongings.

Six council members voted in favor of the ordinances, while three others did not vote, BerkeleySide tweeted late Tuesday night.