Copyright NBC10 Boston

Zohran Mamdani has won New York City’s mayoral race, NBC News projects, after the 34-year-old democratic socialist energized progressives in the city and across the country, while generating intense backlash from President Donald Trump and Republicans as well as some Democratic moderates. Mamdani, the Democratic nominee, on Tuesday handily defeated former New York Gov. Andrew Cuomo — who ran as a third-party candidate after losing the Democratic primary — and Republican nominee Curtis Sliwa. New York City Mayor Eric Adams, who mounted a third-party campaign for re-election after winning as a Democrat in 2021, dropped out of the race in September and endorsed Cuomo last month. The victory caps a meteoric rise through New York politics for Mamdani since he launched his campaign roughly one year ago, transforming him from a virtually unknown state assemblyman who barely registered in polling to the incoming leader of America’s largest city. Along the way, he pushed aside the heir to one of New York’s most iconic political dynasties not once but twice within five months. Now a nationally known political figure, Mamdani will attempt to enact the sweeping policy platform that inspired his supporters while managing an enormous municipal bureaucracy — and influencing national politics, as one of the most prominent democratic socialists and Democrats in the country. Among other items, Mamdani wants to freeze rent on rent-stabilized units, enact universal childcare, create a free bus program and launch city-run grocery stores. “It is tempting to believe that this moment was always destined,” Mamdani said before thousands at a rally in Queens late last month, before noting that when he started his campaign, “there was not a single television camera there to cover it.” “Four months later and as recently as this February, our support had reached eye-watering heights of 1%,” Mamdani continued. “We were tied with noted candidate ‘someone else.’” Mamdani’s victory is sure to reverberate not just throughout New York City but around the nation. In New York, Mamdani’s next challenge will be the tall task of uniting leaders in Albany and on the city council — many of whom were not eager to line up behind him — to advance his ambitious agenda. Nationally, many Democrats will examine his rise from obscurity, his success messaging on social media and his focus on affordability for clues about how to navigate their own races. Meanwhile, Republicans are eager to turn Mamdani’s left-wing platform into a wedge issue in competitive races far beyond New York City’s borders. The closing weeks of the race turned into a brawl between Mamdani and Cuomo, the onetime front-runner who spent the general election trying to play catch-up. The two had heated debates in recent weeks, with Cuomo calling Mamdani a “divisive force in New York” while Mamdani painted Cuomo as Trump’s “puppet.” The president made a late jump into the race Monday night, endorsing Cuomo on social media and saying that a vote for Sliwa, the Republican nominee, was essentially a vote for Mamdani in the split general election field. Late last month, Mamdani delivered an emotional address condemning what he slammed as “racist, baseless” attacks he’s faced for his Muslim faith. Mamdani will be the first Muslim mayor in New York City history. His unapologetically pro-Palestinian stance energized progressives who oppose Israel’s war in Gaza, as pro-Israel Democrats and donors grew anxious about his rise. At a rally alongside Rep. Alexandria Ocasio-Cortez, D-N.Y., and Sen. Bernie Sanders, I-Vt., days later, Mamdani said Cuomo, Adams and Sliwa only possess “the playbook of the past.” “They have sought to make this election a referendum not on the affordability crisis that consumes New Yorkers’ lives,” he said, “but on the faith I belong to and the hatred they seem to normalize.”