Many people have joked that President Donald Trump might tweet something out that will accidentally get the United States of America involved in a war. But it turns out, that actually was almost a reality.

Renowned journalist Bob Woodward is promoting a new book he's writing that highlights the huge amount of dysfunction going on in the Trump White House. While on CBS promoting the book Woodward told a story about how a Trump tweet nearly led to nuclear war.

According to Woodward, during the period where North Korea and the United States were at heightened tensions over nuclear missiles, Trump planned on sending a tweet that said, "We are going to pull our dependents from South Korea — family members of the 28,000 people there." Essentially, that means the United States would be pulling all family members of military personnel out of South Korea.

When the Pentagon heard about this, they freaked out. They had heard from their own intelligence that North Korea would interpret this move as the sign that the United States was about to launch a pre-emptive attack on them, and that they would be forced to launch their own attack. So basically Trump's tweet would've probably led to North Korea launching a nuclear attack on South Korea or elsewhere.

“At that moment, there was a sense of profound alarm in the Pentagon leadership that, ‘My God, one tweet and we have reliable information that the North Koreans are going to read this as ‘an attack is imminent,’” Woodward said.

The Pentagon, with help from backchannel sources from North Korea, were able to convince the White House that the tweet would be a major mistake and President Trump didn't send it.

So that's the story of how one Trump tweet nearly led to millions of people dying.

Well done, Republican voters! You've really chosen a winner!

(h/t Vice)