The US embassy in Israel will stay in Tel Aviv for a while longer, after President Donald Trump temporarily waived a law requiring its relocation to Jerusalem. Trump says he still favors the move, but that the delay is intended to help with peace talks.

The Jerusalem Embassy Act was passed during Bill Clinton’s first term in 1995, but has been waived every six months by US presidents ever since. Trump was facing a Thursday deadline to renew the waiver or have the State Department lose half its funding for overseas facilities, AP reported.

“President Trump made this decision to maximize the chances of successfully negotiating the deal between Israel and the Palestinians,” the White House said in a statement. “But, as he has repeatedly stated his intention to move the embassy, the question is not if that move happens, but only when.”

“No one should consider this step to be in any way a retreat from the President's strong support for Israel and for the United States-Israel alliance,” the White House said.

יכולים לקרוא כאן את הודעת הבית הלבן על כך ששגרירות ארה״ב לא תעבור לירושלים. בינתיים pic.twitter.com/IzgZC9QOTs — Barak Ravid (@BarakRavid) June 1, 2017

Israel claims the entirety of Jerusalem as its capital city, but the claim has not been widely recognized. As a result, the US maintains its embassy in Tel Aviv.

Israel is “disappointed” that the embassy will not move at this time but appreciates Trump’s friendship and commitment to moving it in the future, said Ofir Gendelman, a spokesman for Israeli PM Benjamin Netanyahu.

“The US embassy, like all other embassies, should be in Jerusalem, our eternal capital,” Gendelman said, adding, “Maintaining embassies outside the capital drives peace away by helping keep alive Palestinian fantasy that we have no connection to Jerusalem.”

Energy Minister Yuval Steinitz, a close ally of Netanyahu’s, told Israel’s Army Radio that leaving the embassies in Tel Aviv represents “a surrender to unfair Arab and Muslim pressure.”

Israel's consistent position is that the US embassy, like all other embassies, should be in Jerusalem, our eternal capital. — Ofir Gendelman (@ofirgendelman) June 1, 2017

“We strongly welcome the decision and highly value the message it is sending,” Jordanian government spokesman Mohammed Momani said Thursday, according to AP.

Trump’s decision shows “how much the administration values the advice of its allies,” Momani added.

Jerusalem was partitioned in 1949, following an armistice between the newly declared state of Israel and its Arab-majority neighbors. The Old City and what is now known as the West Bank were held by Jordan until the June 1967 war.

While Jordan has since given up the claim to those territories, their international status remains in limbo, with Palestinians asserting the right to statehood and claiming East Jerusalem as their rightful capital.

In 1st for US presidents, Trump prays at Western Wall in Jerusalem https://t.co/eJqEWJdGE0pic.twitter.com/nTNQ8o8qsc — RT (@RT_com) May 22, 2017

Trump visited Israel last month, on his first overseas tour, and was the first sitting US president to pray at the Western Wall in Jerusalem. However, the White House asked Netanyahu not to come along, as his appearance in Jerusalem would appear to prejudice the US position in the peace talks.