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: 'Thousands Of Dollars In Damage;' Sacramento Sideshow Organizer Arrested In North Natomas

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

READ MORE: Tracy City Council To Consider Appointing New City Manager At Upcoming Council Meeting

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

MORE NEWS: 23rd Annual 'A Home For The Holidays At The Grove' Comes To CBS On Sunday, December 5th

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