Actor Debra Messing wrote an Islamophobic comment on her Instagram in reference to New York City Democratic mayoral candidate Zohran Mamdani, claiming that he “celebrated” 9/11.

“I have nothing against Socialism, don’t know where you got that,” Messing, who is known for her role in the sitcom “Will & Grace,” wrote in an Instagram comment replying to a user who called her out for sharing a reel denouncing socialism. “I voted against M because he celebrated 9/11. Let that sink in. I love my country. My reasoning is not Islamophobia. I’ve chosen to live in the most beautifully diverse city in the world. The same people who did 9/11 did Oct. 7. I just don’t want a mayor who sides with terrorists. Oh and he wants to defund the police. And he has no experience. I’ll stop here.”

If elected in November, Mamdani, a democratic socialist and state assemblyman who was born and raised in Uganda before moving to New York City at age 7, would become New York City’s first Muslim mayor. Since his primary win Tuesday, he has faced an influx of Islamophobic threats on social media — some from far-right figures, like Laura Loomer, who wrote on social media that because of his win, New York will face another 9/11.