The New York Times said it had an "error of judgment" in allowing a cartoon to be published internationally that contained “anti-Semitic tropes.”

The cartoon was a drawing of President Trump wearing a yarmulke and being led by Israeli Prime Minister Benjamin Netanyahu, who is portrayed as being a service dog for the blind.

“A political cartoon in the international print edition of The New York Times on Thursday included anti-Semitic tropes, depicting the prime minister of Israel as a guide dog with a Star of David collar leading the president of the United States, shown wearing a skullcap,” the statement on the New York Times Opinion Twitter account said Saturday.

“The image was offensive, and it was an error of judgment to publish it. It was provided by The New York Times News Service and Syndicate, which has since deleted it,” the statement concluded.

The offending cartoon was not associated with an article.

Netanyahu won his fifth term as prime minister this month, surviving multiple scandals to win the election.

Trump and Netanyahu have developed a close relationship as Trump has implemented aggressive pro-Israel stances, including moving the U.S. embassy from Tel Aviv to Jerusalem and recognizing Israel’s claim to the Golan Heights, where Netanyahu said he would name a settlement after the president.

CORRECTION: In a previous version of this story, the Washington Examiner reported that the New York Times apologized for publishing the cartoon, when in fact the New York Times only expressed regret. The Washington Examiner regrets the error.