Updated at: 04/21/2016 1:22 PM
By VERENA DOBNIK
(AP) NEW YORK - NEW YORK (AP) â€” Spider-Man, Elmo and the Statue of Liberty will just have to be on their best behavior.
After fielding complaints for years about aggressive costumed characters pressuring tourists for tips, Mayor Bill de Blasio signed a bill Thursday to regulate where and how they operate in Times Square and to curtail any aggressive behavior.
The City Hall ceremony capped a yearlong effort to rein in pushy panhandlers who have flooded the square, some harassing pedestrians to pay for photos. Last summer, topless, body-painted women caused a furor with their in-your-face presence.
The new law allows city officials to restrict the characters' movements and keep them from blocking pedestrians in traffic-free parts of the square, which draws 39 million visitors from around the world each year in addition to millions of New Yorkers.
The council approved the legislation this month.
Manhattan Borough President Gale Brewer said the atmosphere in Times Square ranges "between fun and frightening," depending on the various characters' behavior. She said the aim now is "to bring order to the chaos, a good chaos â€” but chaos that threatens Times Square."
The legislation also gives the city Department of Transportation control over pedestrian plazas throughout the city. That includes people's conduct, litter and traffic flow.
At one of the City Council hearings leading up to the vote, Keith Albahae, who works as the Joker, said the new rules are "not right."
"We provide an immense entertainment," he said. "The only people who are upset basically are people who want free pictures. Nobody forces you to take pictures, and if somebody does, then that's on them."
But critics point to past attacks on visitors, including children. One Spider-Man was accused of punching a police officer for telling a woman she didn't have to pay.
Officials attending Thursday's signing included Times Square Alliance President Tim Tompkins, city Department of Transportation Commissioner Polly Trottenberg and City Councilman Corey Johson, a member of a city task force that had proposed the limited "activity zones."
Along with the police department, the Broadway community and neighborhood businesses, they're all working to nail down details of the new plans for Times Square before the summer crowds descend.
"Times Square is one of the great symbols of our city, it encapsulates New York's energy, its scale, its diversity, its quirkiness, and in a good way, I think, its craziness," Johnson said.
(Copyright 2016 by The Associated Press. All Rights Reserved.)