It is the first resolution the Security Council has adopted on Israel and the Palestinians in nearly eight year

Donald Trump has vowed to change things at the United Nations when he takes over at the White House next month, after the UN Security Council’s vote in favour of a resolution demanding the halt of settlement activity by Israel in occupied Palestinian territory.

The resolution was put forward at the 15-member council for a vote on Friday by New Zealand, Malaysia, Venezuela and Senegal a day after Egypt withdrew it under pressure from Israel and US president-elect Trump.

Israel and Trump had called on the US to veto the measure but it ended up abstaining, resulting in the resolution being adopted with 14 votes in favour to a resounding round of applause.

It is the first resolution the Security Council has adopted on Israel and the Palestinians in nearly eight years.

“This is a day of victory for international law, a victory for civilised language and negotiation and a total rejection of extremist forces in Israel,” chief Palestinian negotiator Saeb Erekat told Reuters news agency.

“The international community has told the people of Israel that the way to security and peace is not going to be done through occupation … but rather through peace, ending the occupation and establishing a Palestinian state to live side by side with the state of Israel on the 1967 line,” Erekat said.

Israel refused to recognise the UN resolution and retaliated by recalling its ambassador to New Zealand and Senegal.

“Israel rejects this shameful anti-Israel resolution at the UN and will not abide by its terms.” said Netanyahu.

“At a time when the Security Council does nothing to stop the slaughter of half-a-million people in Syria, it disgracefully gangs up on the one true democracy in the Middle East, Israel, and calls the Western Wall ‘occupied territory’.”

New Zealand Foreign Minister Murray McCully said the decision should have been no surprise to Israel which knew Wellington’s position long before the UN vote.

“Israel has informed us of their decision to recall their ambassador to New Zealand for consultations,” McCully told AFP news agency in a statement.

“We have been very open about our view that the [Security Council] should be doing more to support the Middle East peace process and the position we adopted today is totally in line with our long established policy on the Palestinian question.

“The vote today should not come as a surprise to anyone and we look forward to continuing to engage constructively with all parties on this issue.”

The resolution demands that “Israel immediately and completely cease all settlement activities in the occupied Palestinian territory, including East Jerusalem.”

Malaysia and Venezuela also sponsored the UN resolution but do not have diplomatic relations with Israel.