The director of Berlin's Jewish Museum has resigned, the museum announced Friday, days after it was criticized for endorsing a petition against a parliamentary motion defining anti-Israel boycotts as anti-Semitic and banning the boycott movement from using public buildings.

The resignation of museum Director Peter Schäfer comes after Israeli Ambassador to Germany Jeremy Issacharoff called the museum’s sharing of the petition “shameful.”

The petition, asserting that "boycotts are a legitimate and nonviolent tool of resistance," was signed by 240 Jewish intellectuals.

The signatories, among them Avraham Burg and Eva Illouz, called on the German government not to adopt the motion, to protect freedom of speech and continue funding of Israeli and Palestinian organizations “that peacefully challenge the Israeli occupation, expose severe violations of international law and strengthen civil society. These organizations defend the principles and values at the heart of liberal democracy and rule of law, in Germany and elsewhere. More than ever, they need financial support and political backing.”

An Israeli guide at the Berlin museum told Haaretz he planned to resign in protest of "the crude interventions by the Israeli government and Germany in the museum's work."

Professor Emeritus Yaacov Shavit, former head of the department of History of the Jewish People at Tel Aviv University, told Haaretz that "this whole story is nothing more than a cause to displace Prof. Sheffer, a researcher of international renown of the Second Temple period, Mishna, and Talmud."

"Community leaders in Berlin needed to be grateful that someone like him agreed to serve as manager of the museum. This foolish act by community leaders is outrageous and bothersome," he added.

Last year, it was reported that Israeli Prime Minister Benjamin Netanyahu demanded from Chancellor Angela Merkel that Germany stop funding the museum because it had held an exhibition about Jerusalem, “that presents a Muslim-Palestinian perspective.” Merkel was asked to halt funding to other organizations as well, on grounds that they were anti-Israel, among them the Berlin International Film Festival, pro-Palestinian Christian organizations, and the Israeli news website +972, which receives funding from the Heinrich Böll Foundation.

Netanyahu did not deny the report and his bureau confirmed that he had raised “with various leaders the issue of funding Palestinian and Israeli groups and nonprofit organizations that depict the Israel Defense Forces as war criminals, support Palestinian terrorism and call for boycotting the State of Israel.”

The Bundestag’s motion last month marked the first time a European parliament had officially defined the BDS movement as anti-Semitic. The motion, which is a call to the government and isn’t legally binding, won broad multiparty support from Merkel’s Christian Democratic Union, the Social Democrats and the Free Democratic Party. Some members of the Greens Party also supported the motion, though others abstained at the last minute. The motion stated that the BDS movement’s “Don’t Buy” stickers on Israeli products evoke the Nazi slogan “Don’t buy from Jews.”