Egypt agreed to postpone a vote on a UN Security Council resolution against Israeli settlements after US President-elect Donald Trump called President Abdel Fattah al-Sisi, the Egyptian president’s office said.

Egypt had circulated the draft late on Wednesday, demanding Israel halt settlement activity in the occupied West Bank, and a vote was initially scheduled for Thursday.

But it requested that the resolution be postponed after Israel launched a frantic lobbying effort, including calls from Israeli Prime Minister Benjamin Netanyahu for the US to use its veto power at the Security Council to block the resolution.

On Friday, Sisi’s spokesman said the two leaders agreed to allow Trump’s incoming administration a chance to tackle the issue.

“During the call, they discussed regional affairs and developments in the Middle East, and in that context the draft resolution in front of the Security Council on Israeli settlement,” said spokesman Alaa Yousef.

“The presidents agreed on the importance of affording the new US administration the full chance to deal with all dimensions of the Palestinian case with a view of achieving a full and final settlement.”

A similar resolution was vetoed by the US in 2011.

Earlier, diplomats from New Zealand, Venezuela, Malaysia and Senegal told Egypt that if it did not clarify on whether it planned to call the vote, they would press ahead without Cairo’s involvement.

Trump, who campaigned on a promise to recognise Jerusalem as Israel’s capital, had called on Washington to use its veto to block the resolution.

“The resolution being considered at the United Nations Security Council regarding Israel should be vetoed,” the Republican said in a statement released hours ahead of the scheduled vote.

OPINION: Trump and Israel

“As the United States has long maintained, peace between the Israelis and the Palestinians will only come through direct negotiations between the parties, and not through the imposition of terms by the United Nations.

“This puts Israel in a very poor negotiating position and is extremely unfair to all Israelis,” Trump added.

Israeli settlements are illegal under international law and seen as a major stumbling block to peace efforts as they are built on Palestinian land occupied by Israel.

The United Nations maintains settlements are illegal, but UN officials have reported a surge in construction over the past months.

Palestinians want an independent state in the West Bank, Gaza and East Jerusalem, areas Israel occupied in a 1967 war.

Israel disputes that settlements are illegal and says their final status should be determined in any future talks on Palestinian statehood.