The United Nations Security Council has voted in favor of a draft resolution condemning Israeli regime for its settlement activities in the occupied Palestinian lands after the US refused to veto it.

US’ refusal to veto the resolution comes as the country reverses its longstanding policy of sheltering the Israeli regime from condemnatory resolutions at the UN.

The resolution, which was drafted by Egypt, was passed with 14 votes in favor and one abstention on Friday.

Egypt had withdrawn from pursuing the resolution after Israel asked US President-elect Donald Trump to pressure the North African country to delay voting on the draft resolution.

On Friday, however, New Zealand, Malaysia, Senegal and Venezuela put the resolution forward again. The resolution called on Israel to “immediately and completely cease all settlement activities in the occupied Palestinian territory, including East Jerusalem al-Quds.”

The resolution also said that the construction of settlements has “no legal validity and constitutes a flagrant violation under international law.”

This is the first resolution on Israel and the Palestinians that the United Nations has passed in nearly eight years.

The Security Council was first scheduled to vote on the resolution on Thursday.

President-elect Trump tweeted after the resolution was passed, saying, “As to the U.N., things will be different after Jan. 20th.”