US President Donald Trump and Palestinian President Mahmoud Abbas.

Palestinian President Mahmoud Abbas said on Wednesday, the Trump administration’s decision to recognize Jerusalem as the capital of Israel was the “greatest crime” and a flagrant violation of international law.

“Jerusalem is and always will be the capital of Palestine,” he told an emergency meeting of Muslim leaders in Turkey. He said the United States was giving away Jerusalem as if it were an American city. “It crosses all the red lines,” he said.

Abbas said it was unacceptable for the United States to have a role in the Middle East peace process because it was biased in favor of Israel.

Turkish President Tayyip Erdogan, who hosted the summit of more than 50 Muslim countries in Istanbul, said the U.S. move meant Washington had forfeited its role as broker in efforts to end Israeli-Palestinian conflict.

“From now on, it is out of the question for a biased United States to be a mediator between Israel and Palestine, that period is over,” Erdogan said at the end of the meeting of the Organization of Islamic Cooperation member states.

“We need to discuss who will be a mediator from now on. This needs to be tackled in the U.N. too,” Erdogan said. A communique posted on the Turkish Foreign Ministry website said the emirs, presidents and ministers gathered in Istanbul regarded Trump’s move “as an announcement of the U.S. Administration’s withdrawal from its role as sponsor of peace”.

It described the decision as “a deliberate undermining of all peace efforts, an impetus (for) extremism and terrorism, and a threat to international peace and security”. Leaders including Palestinian President Mahmoud Abbas, Iran’s President Hassan Rouhani and Jordan’s King Abdullah, a close U.S. ally, all criticized Washington’s move.

“Jerusalem is and always will be the capital of Palestine,” Abbas said, adding Trump’s decision was “the greatest crime” and a violation of international law. Asked about the criticism at a State Department briefing in Washington, spokeswoman Heather Nauert said that despite the “inflammatory rhetoric” from the region, Trump “is committed to this peace process.”

“That type of rhetoric that we heard has prevented peace in the past,” she said, urging people to “ignore some of the distortions” and focus on what Trump actually said. She said his decision did not affect the city’s final borders, which were dependent upon negotiation between Israel and the Palestinians.

But when asked whether East Jerusalem could similarly be recognized as the capital of a future Palestinian state, Nauert said that determination should be left to final status negotiations between Israelis and Palestinians.

“We’re taking a position on how we view Jerusalem,” she said. “I think it’s up to the Israelis and Palestinians to decide how they want to view the borders - again final status negotiations.” Abbas told OIC leaders in Istanbul that Washington had shown it could no longer be an honest broker.

“It will be unacceptable for it to have a role in the political process any longer since it is biased in favor of Israel,” he said. “This is our position and we hope you support us in this.”

Jerusalem, revered by Jews, Christians and Muslims alike, is home to Islam’s third holiest site and has been at the heart of the Israeli-Palestinian conflict for decades. Israel captured Arab East Jerusalem in 1967 and later annexed it in an action not recognized internationally.

The communique on the Turkish ministry website and a separate “Istanbul Declaration” distributed to journalists after the meeting said the leaders called on all countries to recognize East Jerusalem as the capital of Palestine.

“We invite the Trump administration to reconsider its unlawful decision that might trigger...chaos in the region, and to rescind its mistaken step,” the declaration said.