President-elect Donald Trump Friday slammed the United Nations Security Council's vote to condemn Israel for its settlements in the West Bank, pledging that "things will be different" after his inauguration next month.

Trump said on Twitter:

As to the U.N., things will be different after Jan. 20th. — Donald J. Trump (@realDonaldTrump) December 23, 2016

The United States abstained from the 14-0 vote by the Security Council, which called Israel's settlements and continuing construction in the West Bank and East Jerusalem a "flagrant violation' of international law."

Historically, the United States has cast a veto to support Israel on council resolutions on the Israel-Palestinian conflict.

Israeli Prime Minister Benjamin Netanyahu had publicly urged the U.S. to veto the resolution, calling it bad for peace.

On Thursday, Trump called on President Barack Obama to reject the resolution after Israeli officials reportedly approached him amid fears that they could not make progress with the current administration.

The resolution being considered at the United Nations Security Council regarding Israel should be vetoed....cont: https://t.co/s8rXKKZNF1 — Donald J. Trump (@realDonaldTrump) December 22, 2016

Israel "implored the White House not to go ahead and told them that if they did, we would have no choice but to reach out to President-elect Trump," an Israeli diplomatic official told CNN.

Trump's tweet marked an unprecedented intervention by a president-elect in the diplomatic affairs of a sitting commander-in-chief — sparking widespread accusations that he was trying to undermine Obama's position.

The Associated Press contributed to this report.