President Trump Donald John TrumpFederal prosecutor speaks out, says Barr 'has brought shame' on Justice Dept. Former Pence aide: White House staffers discussed Trump refusing to leave office Progressive group buys domain name of Trump's No. 1 Supreme Court pick MORE announced Sunday that Kenneth Braithwaite, the current ambassador to Norway, would replace Richard Spencer as the secretary of the Navy shortly after Spencer's ouster earlier in the day.

Trump's announcement came hours after Spencer was fired by Defense Secretary Mark Esper Mark EsperOvernight Defense: Stopgap spending measure awaits Senate vote | Trump nominates former Nunes aide for intelligence community watchdog | Trump extends ban on racial discrimination training to contractors, military Overnight Defense: Pentagon redirects pandemic funding to defense contractors | US planning for full Afghanistan withdrawal by May | Anti-Trump GOP group puts ads in military papers Official: Pentagon has started 'prudent planning' for full Afghanistan withdrawal by May MORE, with Esper claiming that Spencer had met behind his back with White House officials and offered to allow a SEAL convicted of a war crime to retire at his current rank.

"I was not pleased with the way that Navy Seal Eddie Gallagher’s trial was handled by the Navy. He was treated very badly but, despite this, was completely exonerated on all major charges. I then restored Eddie’s rank," Trump tweeted Sunday evening, referring to Gallagher's trial and acquittal on murder charges.

ADVERTISEMENT

"Secretary of the Navy Richard Spencer’s services have been terminated by Secretary of Defense Mark Esper. I thank Richard for his service & commitment. Eddie will retire peacefully with all of the honors that he has earned, including his Trident Pin," Trump continued.

"Admiral and now Ambassador to Norway Ken Braithwaite will be nominated by me to be the new Secretary of the Navy. A man of great achievement and success, I know Ken will do an outstanding job!" he said.

I was not pleased with the way that Navy Seal Eddie Gallagher’s trial was handled by the Navy. He was treated very badly but, despite this, was completely exonerated on all major charges. I then restored Eddie’s rank. Likewise, large cost overruns from past administration’s..... — Donald J. Trump (@realDonaldTrump) November 24, 2019

....contracting procedures were not addressed to my satisfaction. Therefore, Secretary of the Navy Richard Spencer’s services have been terminated by Secretary of Defense Mark Esper. I thank Richard for his service & commitment. Eddie will retire peacefully with all of the..... — Donald J. Trump (@realDonaldTrump) November 24, 2019

....honors that he has earned, including his Trident Pin. Admiral and now Ambassador to Norway Ken Braithwaite will be nominated by me to be the new Secretary of the Navy. A man of great achievement and success, I know Ken will do an outstanding job! — Donald J. Trump (@realDonaldTrump) November 24, 2019

A spokesman for the Pentagon said Spencer's firing was due to the Defense secretary's lack of confidence in the Navy chief following secret dealings with White House officials.

ADVERTISEMENT

Spencer, Esper's spokesman said, had made overtures to White House officials urging them to accept that Gallagher would retire at his current rank if the president agreed to not intervene in his case.

In his own letter, Spencer seemed to suggest that his ouster hinged instead on an order from the president apparently related to the Gallagher case that Spencer could not follow due to moral reservations.

"I cannot in good conscience obey an order that I believe violates the sacred oath I took in the presence of my family, my flag, and my faith," Spencer wrote.

The president, meanwhile, pointed to insufficient cost-cutting efforts carried out by the Navy and general dissatisfaction with how Gallagher's case was handled.

"Likewise, large cost overruns from past administration’s contracting procedures were not addressed to my satisfaction. Therefore, Secretary of the Navy Richard Spencer’s services have been terminated by Secretary of Defense Mark Esper," the president tweeted.