It holds nuclear missile codes, it's in charge of the security of the United States, and its ultimate boss, the US president, is a prolific tweeter. But when it comes to handling its own Twitter account, the Pentagon could do with improving its skills.
On Thursday the US Department of Defense accidentally retweeted a tweet calling for Donald Trump to resign as US president.
The original tweet which also called for two other US politicians to step down following sexual harassment allegations was tweeted from an account belonging to @ProudResister, an anti-Trump activist.
It said: "The solution is simple. Roy Moore: Step down from the race. Al Franken: Resign from congress, Donald Trump: Resign from the presidency. GOP: Stop making sexual assault a partisan issue. It's a crime as is your hypocrisy."
The Pentagon's main account retweeted the message to its 5.2 million followers before quickly deleting it. But the embarrassing blunder did not go unnoticed. A screen shot of the Pentagon's retweet was itself retweeted and shared, and the reaction to it was swift.