A resounding majority of United Nations member states has defied unprecedented threats by the US to approve a draft resolution rejecting President Donald Trump's recognition of Jerusalem as Israel's capital.
The non-binding measure passed at a UN General Assembly emergency meeting on Thursday with 128 votes in favour and nine against, while 35 countries abstained.
It passed despite intimidation by Trump, who had threatened on Wednesday to eliminate financial aid to UN members who would vote against his decision.
"They take hundreds of millions of dollars and even billions of dollars, and then they vote against us. Well, we're watching those votes. Let them vote against us. We'll save a lot. We don't care," Trump told reporters at the White House.
His comments came as Nikki Haley, the US ambassador to the UN, warnedthat she would be "taking names" of states that vote against Washington's Jerusalem move.
The session on Thursday at the 193-member body was held at the request of Arab and Muslim countries after the US vetoed the same measure in the Security Council on Monday.
While the Security Council's five permanent members - the US, Britain, France, China and Russia - had veto power on Monday's vote, there are no vetoes at the General Assembly.
Similar to the Egyptian-drafted text that was blocked by Washington on Monday, the draft resolution approved on Thursday did not mention the US by name but expressed "deep regret at recent decisions" concerning Jerusalem's status.
Marwan Bishara, Al Jazeera's senior political analyst, called the result of the General Assembly vote a "great humiliation for the US".
Bishara said that most UN member states that voted in favour of the draft resolution did not necessarily do so to back the Palestinians but to support "international legality".
"They voted for what they saw as a violation of international law," he said.
"The resolution starts by naming several UN Security Council resolutions, where the US either voted for or abstained, saying that Israel cannot annex East Jerusalem; that Israel cannot export its own population to East Jerusalem; that Israel cannot continue with the settlement building in East Jerusalem and so on," added Bishara.
"All in all, 128 countries voted for international law."
In addition to recognising Jerusalemas Israel's capital, Trump announced on December 6 that the US would move its embassy from Tel Aviv to Jerusalem.
No country currently has its embassy in the city, which is home to holy religious sites and has particular significance for Muslims, Christians and Jews.
The US decision triggered a series of protests in the occupied Palestinian territories, as well as major international cities - from Jakarta, through Istanbul, to Rabat.
Ahead of Thursday's vote, Israeli Prime Minister Benjamin Netanyahu had called the UN a "house of lies".
"The state of Israel rejects outright this vote, even before it passes," he said at an opening ceremony of a hospital in southern Israel.