SACRAMENTO (CBS13) – The mayor of Sacramento is apologizing about police efforts to move homeless people seeking shelter outside city hall during the strong storms earlier this month.

“I want to apologize, that should not have happened, people should not have been asked to leave at 2:30 in the morning in a rainstorm, period,” Mayor Darrell Steinberg said during Wednesday’s city council meeting.

READ MORE: Yolo County Sheriff's Deputies Recover Stolen Boat, Jet Ski

Homeless advocates say officers forced people who were trying to stay dry under a city hall overhang to leave.

READ MORE: Police: 'Ghost' Gun, Parts To Make More Found During Traffic Stop In Woodland

An ordinance bans anyone from the city hall plaza after 11 p.m.

MORE NEWS: Sacramento County Has California's First Probable Case Of Monkeypox Virus

The mayor says it was a mistake and he wants the policy to be changed.