US President-elect Donald Trump lashed out at the Obama administration on Wednesday over its decision not to veto the recent UN Security Council resolution condemning Israeli settlements.

Taking to his preferred medium of Twitter, the Republican president-elect said that Washington cannot continue to treat Israel “with such total disdain and disrespect.”

Trump also implied that under Obama, the US was no longer “a great friend” to the Jewish state.

Get The Times of Israel's Daily Edition by email and never miss our top stories Free Sign Up

“We cannot continue to let Israel be treated with such total disdain and disrespect. They used to have a great friend in the U.S., but…” Trump wrote. “Not anymore. The beginning of the end was the horrible Iran deal, and now this (UN)! Stay strong Israel, January 20th is fast approaching!”

We cannot continue to let Israel be treated with such total disdain and disrespect. They used to have a great friend in the U.S., but……. — Donald J. Trump (@realDonaldTrump) December 28, 2016

not anymore. The beginning of the end was the horrible Iran deal, and now this (U.N.)! Stay strong Israel, January 20th is fast approaching! — Donald J. Trump (@realDonaldTrump) December 28, 2016

Prime Minister Benjamin Netanyahu responded to the tweet minutes after it was posted, thanking Trump for his “warm friendship and your clear-cut support.” He also included the Twitter handles of Trump’s children Ivanka and Eric Jr.