A heavily armed police officer stands in the street near the parade route of the New York City Pride Parade Sunday, June 26, 2016, in New York City. A year after New York City's storied gay pride parade celebrated a high point with the legalization of gay marriage nationwide, the atmosphere this year couldn't be more different. Parades in New York and other major cities Sunday will feature increased security, anti-violence messages and tributes to those killed in this month's massacre at a gay nightclub in Florida. (AP Photo/Mel Evans)
A heavily armed police officer stands in the street near the parade route of the New York City Pride Parade Sunday, June 26, 2016, in New York City. A year after New York City's storied gay pride parade celebrated a high point with the legalization of gay marriage nationwide, the atmosphere this year couldn't be more different. Parades in New York and other major cities Sunday will feature increased security, anti-violence messages and tributes to those killed in this month's massacre at a gay nightclub in Florida. (AP Photo/Mel Evans) Credit: Mel Evans

New York — With a moment of silence followed by the roar of motorcycles, New York City’s gay pride parade kicked off Sunday, a celebration of barriers breached and a remembrance of the lives lost in a shooting at a gay nightclub in Florida.

Crowds of onlookers stood a dozen deep along Fifth Avenue, many waving rainbow flags. Some spectators held up orange “We are Orlando” signs, and indications of increased security were everywhere, with armed officers standing by. An announcer in a pickup truck introducing state officials and guests also shouted out, “Love is love! New York is Orlando!” in memory of the 49 people killed two weeks ago in Orlando.

Authorities had expected a larger-than-usual crowd, and 15-year-old Chelsea Restrepo, of Staten Island,N.Y., was among the participants. She brushed aside her father’s concerns about security to attend the march for the first time.

“What happened in Orlando made me want to come more,” said Restrepo, swathed in a multicolored scarf. She said she wanted to show her support.

New York’s parade was one of several being held Sunday across the country, along with San Francisco and Chicago. They came two weeks after the nation’s deadliest mass shooting in modern U.S. history.

Organizers honored the shooting victims with the moment of silence but also wanted the pride and resilience to come through.

“Last year was such a celebratory time, and this year, we have this happening,” said James Fallarino, a spokesman for organizers of the New York parade, one of the nation’s oldest. “But that’s also why it’s so important that we are out and loud and proud.

“If we change our event — if we make everything somber — it’s, in many ways, allowing those who wish to silence us to win.”

Sunday’s parades did have a new milestone to mark: President Obama on Friday designated the site around New York City’s Stonewall Inn as the first national monument to gay rights. Democratic Gov. Andrew Cuomo announced that the Stonewall Inn would be designated as a state historic site and that New York would erect a monument in honor of all victims of hate and intolerance, including those killed in Orlando.

The lead float in New York’s parade was dedicated to the Orlando victims. And gun-control, anti-gun-violence groups joined the lineup since the shooting forged new bonds between them and gay-rights activists.

“As the mom of a gay teen, Orlando terrified me,” said Shannon Watts, the founder of Moms Demand Action for Gun Sense in America. She and 19-year-old daughter Emma, who is gay, planned to join about 200 other people behind the group’s banner in the parade.

At San Francisco’s parade, a “We’re Orlando” group of about 300 people was fourth in the lineup. Victims were honored with a moment of silence when the march reached the grandstand. A memorial with their photos was set up inside City Hall.

“It’s been an interesting experience to build the parade with kind of a heavier message” after the optimistic sentiment last year, Stephanie Mufson said.

New York police planned to deploy roving counterterrorism units and use bomb-sniffing dogs, rooftop observation posts, police helicopters and thousands of officers to provide extra layers of security at Sunday’s parade. Thousands of uniformed officers were to line the route, supplemented by plainclothes officers in the crowd. While the city has provided similar protections in the past, “you’ll see more” this year, Democratic Mayor Bill de Blasio said.

San Francisco spectators faced metal detectors for the first time, and more police than usual kept watch. Some participants aren’t welcoming the stepped-up security: Two honorary grand marshals and a health clinic that serves sex workers withdrew Friday from the parade to protest the heavy police presence.

Chicago police put 200 more officers than usual on duty for the city’s pride parade Sunday. Organizers nearly doubled their corps of private security agents, to 160.

For all the security and solemnity, some spectators at pride parades this month have made a point of making merry.

“We had fun. That is what gay people do,” comedian Guy Branum wrote in a New York Times essay after attending the West Hollywood parade. “Our answer to loss and indignity, it seems, is to give a party, have a parade and celebrate bits of happiness.”