Israel lashed out at US President Barack Obama over a UN Security Council resolution passed Friday demanding it halt settlements in Palestinian territory, while vowing it would not abide by it.

The Council on Friday demanded that Israel halt its settlement activities in Palestinian territory, in a resolution adopted after the US refrained from vetoing the measure condemning its closest Middle East ally. (AFP Photo)

Israel lashed out at US President Barack Obama over a UN Security Council resolution passed Friday demanding it halt settlements in Palestinian territory, while vowing it would not abide by it.

“Israel rejects this shameful anti-Israel resolution at the UN and will not abide by its terms,” a statement from Prime Minister Benjamin Netanyahu’s office said.

“The Obama administration not only failed to protect Israel against this gang-up at the UN, it colluded with it behind the scenes,” it said.

“Israel looks forward to working with President-elect (Donald) Trump and with all our friends in Congress, Republicans and Democrats alike, to negate the harmful effects of this absurd resolution.”

Israel also announced diplomatic retaliatory steps against Senegal and New Zealand, two of the four countries that pushed for a vote on the resolution. Israel does not have diplomatic relations with the other two, Malaysia and Venezuela.

Obama and Netanyahu have had testy relations, but Israel’s statement after the vote was particularly harsh toward the US administration, as were comments earlier in the day from an anonymous Israeli official.

Earlier on Friday, the Israeli official said that Obama and US Secretary of State John Kerry were “behind this shameful move against Israel at the UN”.

After the vote, Netanyahu ordered Israel’s ambassadors in New Zealand and Senegal to return for consultations, a statement from his spokesman said.

Israel also called off a planned visit by the Senegalese foreign minister in three weeks, while all aid programmes to Senegal were cancelled.

Meanwhile, a spokesman for Palestinian president Mahmud Abbas called the resolution a “big blow for Israeli policies.”

The move was “an international and unanimous condemnation of settlements and strong support for the two-state solution,” Nabil Abu Rudeina told AFP.

Saeb Erekat, a former peace negotiator and the number two in the Palestine Liberation Organisation (PLO), spoke of a “historic day”.

“December 23 is a historic day and a victory for international legitimacy, international law and international documents,” said Erekat.

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

It states that Israeli settlements have “no legal validity” and are “dangerously imperilling the viability of the two-state solution” that would see an independent Palestine co-exist alongside Israel.

Some 430,000 Israeli settlers currently live in the occupied West Bank and another 200,000 in annexed east Jerusalem, which the Palestinians see as the capital of their future state.