NEW YORK — Millions of people gathered on Sunday for the New York City Pride March, packing the streets of Manhattan for a celebration amid the most hostile political environment for LGBTQ+ Americans in decades.

The march commemorates the 1969 Stonewall riots, which are widely seen as giving rise to the modern LGBTQ+ rights movement. That effort, over many years, has increased public support for LGBTQ+ people, but the movement has begun to falter badly in the face of opposition from the Supreme Court, the Trump administration and even some Democrats.

Pride celebrations have always been equal parts party and protest, and those who planned to march Sunday said that filling the streets with rainbow flags and colorful floats was now more important than ever as the rights of LGBTQ+ people come under increasing attack.

The New York march is the largest of its kind in the United States, with 75,000 participants and roughly 2 million spectators, according to organizers. It is also broadcast on network television.