The Los Angeles City Council on Tuesday approved a ban homeless encampments within 500 feet of schools and daycare centers during a meeting that was disrupted by protesters who said it criminalizes homelessness.

The council voted 11-3 to expand an existing ban on sitting, sleeping or camping that currently only applies to daycare centers and schools specified by the council.

The meeting was recessed before the vote when dozens of demonstrators began shouting and police cleared the council chamber.

LOS ANGELES HOTEL LEADER WARNS HOMELESS HOUSING PROPOSAL WILL 'KILL' INDUSTRY'S MARKETABILITY

The 11-3 final vote, which applies to public and private schools, came after two previous votes, including one last week that was also interrupted by a protest. The measure must be signed by LA Mayor Eric Garcetti before it takes effect.

About 750 public school sites are within the city limits, Los Angeles Unified School District officials told the Los Angeles Times, which said nearly 1,000 commercial day-care businesses are registered with the city. The next public school year starts on Aug. 15.

LA homeless encampment

A homeless encampment is seen on a bridge over the CA-110 freeway in Los Angeles. The Los Angeles City Council has voted to ban homeless encampments within 500 feet of schools and daycare centers.  (AP Photo/Damian Dovarganes,File)

Los Angeles is among many cities struggling to deal with a surge in homelessness and large encampments scattered along sidewalks that have sparked public outcry.

LOS ANGELES DA GEORGE GASCON ANNOUNCES CHARGES FOR DRIVER IN FIERY CRASH THAT KILLED 6

Supporters of the blanket ban said homeless camps are a health and safety threat to schoolchildren, especially because of the disruptive presence of people with drug addictions or mental illness.

Opponents, including homeless advocates, said the measure would further criminalize homelessness.

LOS ANGELES VOTERS TO DECIDE IF HOTELS WILL BE FORCED TO HOUSE THE HOMELESS DESPITE SAFETY CONCERNS

The ban comes as several hotels are set to end their involvement in the government’s Project Roomkey, which paid them to provide hundreds of rooms to unsheltered people.