Doctor Who just retconned Donald Trump into the relaunch's first Dalek episode. When Russell T. Davies relaunched Doctor Who in 2005, he knew he needed to make liberal use of the Daleks. The first couple of episodes dropped tantalizing hints about a Time War in which Gallifrey had been destroyed, and episode 6 finally confirmed the other party in that conflict were the Daleks. Given the appropriate title of "Dalek," it was intended to draw viewers back should they be losing interest - which, ironically, turned out not to be necessary.

"Dalek" is generally considered one of the best Doctor Who episodes, and the BBC has just published an official novelization written by scriptwriter Robert Shearman himself. It's a fascinating tale, with some minor edits and additional scenes that serve to flesh out some of the supporting characters. It even gives the Dalek itself a character, revealing in a twisted way the Ninth Doctor became a Dalek's father-figure.

Related: 'Dalek' Is Still The Best Dalek Episode of Doctor Who

"Dalek" introduced viewers to Henry van Statten, a wealthy billionaire who "owns the Internet" and had been using his wealth to collect alien artifacts. The novelization fleshes out the relationship between van Statten and the president of the United States, and suffice to say the president in question is pretty identifiable. According to Shearman's novelization, the president in question was a Republican who won in large part because of his Internet presence, likes golf, and has a particularly identifiable toupee.

Donald Trump and smartphone with social media app icons

The episode itself was explicitly set in 2012, but Shearman adjusts the dialogue so the Doctor just tells Rose they are in the near-future. That is the only alteration needed to blend "Dalek" with the real world; after all, if van Statten really did "own the Internet," he would indeed have been personally responsible for the election of Donald Trump in 2016 given the role social media played in the Trump victory. Even more remarkably, "Dalek" features further dialogue in which van Statten decides to switch his allegiance away from Trump and choose a Democrat as his successor. His aide Goddard suggests this because Democrats are "just so funny, sir."

Doctor Who novelizations have often helped to clarify details and smooth out inconsistencies, but this is the first time one has been used to retcon a connection between the TV series and real-world politics. But it is far from the only time Doctor Who has been political; classic stories essentially critique former British Prime Minister Margaret Thatcher as a villain, while recent episodes like "Rosa" have explored themes of racial justice. "Revolution of the Daleks" even set up its own Trump-esque potential president, Jack Robertson, as a new enemy for the Doctor to defeat.

More: Doctor Who Finally Explains A Decade Old Time War Mystery