NEW YORK (CBSNewYork/AP) — Celebration and pride mixed with defiance in New York City on Sunday as two million people crowded the streets, rainbow flags waving, for the annual gay pride march.

Tennis legend Billie Jean King was one of the grand marshals, along with transgender advocate Tyler Ford and civil rights organization Lambda Legal. The event, and others like it around the country, commemorate the riots that erupted in response to a police raid at a New York gay bar called the Stonewall Inn in June 1969.

Onlookers and participants in New York noted those origins at Sunday’s event, which was both a celebration of the diversity of LGBT culture and a statement against anti-LGBT policies promoted by President Donald Trump, such as the Republican president’s attempt to ban all transgender people from serving in the military. They also spoke out against policies aimed at other communities, like immigrants and minorities.

“We’re making a statement that we’re here, everybody. Whether it’s immigrants, whether it’s queer people or people of color, we’re not going to put up with what this administration is doing,” said Diego Molano of Queens, at his second pride parade. “You can’t just cage everybody up.”

Olivia Nadler, a Connecticut resident attending her third parade, said “people that are oppressed are not going to go away, they’re not going to be quiet, they’re not going to be ignored.”

Elected officials, including New York Gov. Andrew Cuomo and New York City Mayor Bill de Blasio, both Democrats, were among those attending the march.

Before it started, Cuomo promised new proposed state-level protections for transgender patients in advance of possible federal changes to key provision of the Affordable Care Act.

Cuomo also joined members of the LGBT community for the dedication of a new memorial honoring those lost in the Orlando Pulse nightclub shooting in June 2016 and “all victims of hate, intolerance and violence.”

The memorial, designed by artist Anthony Goicolea, is located at the western edge of Greenwich Village in Hudson River Park.

It has nine boulders with pieces of glass installed in them that can act as prisms and reflect rainbows in sunlight.

Cuomo formed the commission to come up with an LGBT memorial after the Pulse nightclub shooting in Orlando that left 49 people dead.

The theme of this year’s march was “Defiantly Different.”

(© Copyright 2018 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)