In a sharp break with fellow progressives, Mayor Bill de Blasio on Thursday slammed Rep. Ilhan Omar’s remarks about Israel and compared them to offensive statements made about Italian-Americans in past generations.

“Let me be really clear, suggesting that support for Israel is beholden to a foreign power is absolutely unacceptable — and it’s illogical too,” the mayor said at an unrelated press conference at City Hall.

“I believe strongly in the state of Israel. I don’t feel beholden one bit to a foreign power. I’m a proud American who believes in the state of Israel and believes it must exist.”

He added: “I happen to be Italian-American. I never heard anyone suggest that because of my pride in my ancestral homeland, I’m beholden to a foreign government. It’s a really inappropriate comment.”

The freshman Minnesota congresswoman came under intense fire after she claimed that support for Israel in many political circles was “all about the Benjamins,” referencing the $100 bill, which features the face of inventor Benjamin Franklin.

“Unfortunately, it aligns with a history — for centuries — of that kind of negative comment being thrown at the Jewish community,” de Blasio added. “There’s a long anti-Semitic tradition associated with that kind of comment.”

He called on Omar to sit down with representatives of Jewish communities to learn why her remarks caused such pain.

“We need to fight anti-Semitism with the same energy we fight sexism or racism or Islamophobia or anti-LGBT bias,” he said. “It all goes together.”

Liberal Democrats have routinely criticized Israeli Prime Minister Benjamin Netanyahu’s conservative government.

But Omar’s remarks created a firestorm of their own for indulging in what critics described as anti-Semitic tropes by linking Democratic and Republican support for Israel to campaign contributions.

Progressives, including Rep. Alexandria Ocasio-Cortez, have questioned why Omar is coming under such heavy attack when others have gotten a pass while attacking Latinos and other ethnic and racial groups.

“One of the things that is hurtful about the extent to which reprimand is sought of Ilhan is that no one seeks this level of reprimand when members make statements about Latinx + other communities (during the shutdown, a GOP member yelled ‘Go back to Puerto Rico!’ on the floor),” Ocasio-Cortez tweeted on Tuesday.

Sen. Bernie Sanders said Wednesday that a planned House resolution that implicitly criticizes Omar was an effort aimed at “stifling debate” about the Netanyahu government.