NEW YORK (AP) — Not long ago, New York City Mayor Zohran Mamdani was demonized by leaders of both political parties. Today, just six months after taking office, the 34-year-old democratic socialist’s political strength is surging. Always a darling of the far left, he has earned praise from both President Donald Trump and former Democratic critics like New York Gov. Kathy Hochul. He has emerged as the face of the region’s sports renaissance. And days before New York’s primary elections, Mamdani is testing the limits of his newfound political muscle in a bid to reshape the Democratic Party — in his state capital and in Washington — even if it means challenging his own party’s leadership.Mamdani will join Sen. Bernie Sanders, I-Vt. at a get-out-the-vote rally in Brooklyn on Thursday. The event is designed to elevate a slate of candidates aligned with Mamdani’s values, including two running against Democratic incumbents in Tuesday’s primary.

“He’s seeing that opportunity — that we can radically change the Democratic Party,” said Faiz Shakir, a senior adviser to Sanders and a friend of Mamdani’s. “Like Bernie, he’s not saying I’m doing this out of spite against you, dear leadership. He’s saying, I am supporting these candidates who have a better vision, and I am prepared to lose if it has to be the case.”