SAN FRANCISCO (AP) — Homeless people who reject three offers of shelter could be arrested under a controversial proposal before the city council of the most populous city in California’s Silicon Valley on Tuesday.

The proposal being pushed by San Jose Mayor Matt Mahon is eye-opening because it comes from a liberal city headed by a Democrat in the left-leaning San Francisco Bay Area. It is among the stricter anti-encampment deterrents proposed by elected officials since the Supreme Court in 2023 made it easier to ban homeless people from camping on public property.

And it’s another sign of just how frustrated people have become with squalid tents lining sidewalks and riverbanks, and erratic behavior of those using drugs or in distress in a state with an estimated 187,000 homeless people. California is home to roughly a quarter of all homeless people in the country.

Mahan says most people do accept offers of shelter. But he wants to make clear to the small percentage of people who refuse, that as the city builds more shelter and interim housing, they have a responsibility to move indoors.

“I think we need a cultural change, a culture of accountability for everyone involved,” said Mahan. “I don’t want to use the criminal justice system to make vulnerable people’s lives harder. I want to use it as a last resort.”

California Gov. Gavin Newsom, a Democrat and former mayor of San Francisco, has repeatedly urged cities to ban encampments. Arrests for illegal lodging have soared in San Francisco, and its current mayor, Daniel Lurie, has reiterated that it is not appropriate for people to live outdoors.

Advocates for homeless people say cracking down on encampments is traumatizing and even counterproductive. Forcing a person to clear out sets them back in their search for stability as they could lose important documents needed to apply for work and housing, they said.

“Pushing people with mental health needs or drug addiction into incarceration — without any crime committed — is both inhumane and ineffective,” said Otto Lee, president of the Santa Clara County Board of Supervisors, in a written statement emailed Monday to The Associated Press.

Lee and other county leaders are opposed to the mayor’s proposal. They say they need more housing, beds and services, and not punishment.

The “responsibility to shelter” proposal does not mandate an arrest after three rejected offers. After talking with the city attorney’s office and police, Mahan said it made more sense to give front-line outreach workers and police officers discretion to decide when to escalate or prioritize a situation. The city will set up a new six-officer quality of life unit within the police department.

“We don’t want to overly tie their hands and tell them this is the only way to do it,” the mayor said.

People who repeatedly violate the city’s encampment code of conduct — which also includes keeping tents free of trash and not blocking the public right of way — could be sent to a recovery center for detox or petitioned for court-mandated treatment to mental health and substance use disorder care, Mahan said.

San Jose has nearly 1,400 shelter spots and hopes to add another 800 by the end of the year. Officials are aware they do not have enough beds, and Mahan said that people will not be punished if beds are unavailable or the only options are unsuitable.