The New York Knicks have issued Democratic socialist NYC mayoral candidate Zohran Mamdani a cease-and-desist letter for using their iconic logo in a campaign advertisement — and stressed that the team does “not endorse Mr. Mamdani for Mayor.”

The advertisement aired during the Knicks season opener Wednesday night and featured an altered New York Knicks orange and blue logo that replaced the word “Knicks” with “Zohran.”

The cease-and-desist letter, obtained by The Post, states that Mamdani’s ad is “likely to mislead the public into believing that the Campaign is affiliated with, sponsored or endorsed by, or in some way connected with the Knicks.”

An illustration of a “New York Zohran” logo, similar to the New York Knicks logo, superimposed over a blurry, black and white image of a person.Zohran Mamdani’s ad aired during the Knicks season opener Wednesday night and featured an altered version of the iconic orange and blue logo. @zohrankmamdani/Instagram

Zohran Mamdani in a backwards blue cap with a blue, white, and orange ball spinning on it, holding a microphone while a man in a black shirt points to a New York Basketball shirt.The Kincks stressed that they “do not endorse Mr. Mamdani for Mayor.” @ZohranforNYC/YouTube

The team is demanding that the socialist candidate remove all of the Knicks’ intellectual property from campaign or promotional material.

“The NY Knicks have sent NYC Mayoral candidate Zohran Mamdani a cease-and-desist letter for using the NY Knicks logo to promote his candidacy,” a team spokesperson told The Post.

“The Knicks want to make it clear that we do not endorse Mr. Mamdani for Mayor, and we object to his use of our copyrighted logo. We will pursue all legal remedies to enforce our rights.”

Mamdani also shared the advertisement on his social media platforms with the caption “This is our year. This is our time.”