US Navy chief Richard Spencer has been fired over his handling of the case of a Navy Seal demoted for misconduct.
The case of Edward Gallagher, who was convicted for posing with a corpse, had sparked tensions between US President Donald Trump and military officials.
The navy officer had been due to face a disciplinary review where he could have been stripped of his Seals membership.
There have been differing accounts as to why Richard Spencer was asked to resign.
US Defence Secretary Mark Esper said he had lost confidence in the navy secretary because his private conversations with the White House contradicted his public position.
However, Mr Trump said he was not happy with “cost overruns” and how Chief Petty Officer Gallagher’s trial was run, and suggested this was why Mr Spencer was fired.
Meanwhile, in a strongly worded letter, Mr Spencer said it was apparent that he and Mr Trump did not have the same view of “good order and discipline”.
“The lives of our Sailors, Marines and civilian teammates quite literally depend on the professional execution of our many missions,” he said.
Mr Trump has drawn criticism from parts of the military after pardoning army officers convicted of war crimes.
Source:bbc.com