WASHINGTON, Sep 29 (AFP) - General Mark Milley stepped down Friday as the top US military officer with a parting swipe at his former boss Donald Trump, saying no soldier ever swore an oath to serve a "wannabe dictator."

The stunning rebuke from Milley on his last day as chairman of the Joint Chiefs of Staff illustrated the way the US military has been dragged into the increasingly volatile political arena since the Trump era.

At an elaborate military ceremony for his departure -- attended by Defense Secretary Lloyd Austin and President Joe Biden -- Milley did not name Trump, but there was no doubt about the target of his barb.

"We don't take an oath to a king, or queen, or a tyrant or a dictator," Milley said of American soldiers. "And we don't take an oath to a wannabe dictator."

Milley will be replaced as chairman of the Joint Chiefs of Staff by Air Force General Charles "CQ" Brown -- just the second African American to hold the top military job.

A barrel-chested army veteran of countless foreign deployments and high-level command posts, Milley served in uniform for four decades.

But he faced his highest-stakes challenge when Trump appointed him in 2019 to the career pinnacle of senior military advisor to the president.

During a four-year term -- continuing under Biden from 2021 -- Milley managed the harrowing exit of US troops from Afghanistan, special forces operations in Syria, and the enormous program to assist Ukraine's desperate fight against Russian invasion.

As chairman, "it was one crisis right after another," Milley told AFP last month.

Milley's years at the top, however, also saw the military involved in an unusual number of politicized controversies.


While the Biden administration has pressed for changes including renaming bases named after Confederate leaders in the Civil War, senior Republicans have repeatedly lashed out at what they claim are "woke" leftist policies in the ranks.

And that was nothing compared to the precarious situation Milley found himself in during the lead-up to and aftermath of the 2020 presidential election -- in which Trump, in an unprecedented political nightmare for the United States, refused to accept defeat.

At the height of tensions after Trump supporters stormed the US Capitol on January 6, 2021, Milley secretly called his Chinese counterpart to reassure Beijing that the United States remained "stable" and had no intention to attack China, according to the book "Peril" by Bob Woodward.

That revelation has caused lasting fury for Trump, who just this month wrote on his social media network that "in times gone by, the punishment would have been DEATH!" for Milley.

The barely veiled threat from Trump -- the clear frontrunner to be the Republican candidate in the 2024 presidential election -- prompted Milley to take "appropriate measures" for his safety, he told CBS News.

Photo from AP