Mamdani, a democratic socialist and outspoken supporter of Palestinian rights, has repeatedly called for accountability over Israel's actions in Gaza. During his mayoral campaign, he faced accusations of antisemitism and Islamophobic attacks, which he rejected, while also condemning Hamas's October 7 attack and pledging increased funding for programmes combating hate crimes.