Former CIA Director John Brennan lashed out at the Trump administration on Thursday for its "outrageous" reaction to a United Nation General Assembly resolution condemning the U.S. for recognizing Jerusalem as the capital of Israel.

"Trump Admin threat to retaliate against nations that exercise sovereign right in UN to oppose US position on Jerusalem is beyond outrageous," Brennan wrote in his second-ever Twitter missive on Thursday.

"Shows @realDonaldTrump expects blind loyalty and subservience from everyone—qualities usually found in narcissistic, vengeful autocrats," the Obama administration alum added.

Trump Admin threat to retaliate against nations that exercise sovereign right in UN to oppose US position on Jerusalem is beyond outrageous. Shows @realDonaldTrump expects blind loyalty and subservience from everyone—qualities usually found in narcissistic, vengeful autocrats. — John O. Brennan (@JohnBrennan) December 21, 2017



The U.N. on Thursday voted 128-9 to denounce the Trump administration's Israel decision, despite warnings from the White House that countries who voted in favor of the nonbinding rebuke would risk losing foreign aid from the U.S.

"The United States will remember this day in which it was singled out for attack in the General Assembly for the very act of exercising our right as a sovereign nation," U.S. Ambassador to the U.N. Nikki Haley said during debate.

"We will remember it when we are called upon to once again make the world's largest contribution to the United Nations. And we will remember when so many countries come calling on us, as they so often do, to pay even more and to use our influence for their benefit," Haley continued.

The status of Jerusalem is a hotly contested topic amid Israeli-Palestinian peace talks as the city is a holy site for Jews, Muslims, and Christians.