Fantasy author Neil Gaiman has revealed that there were alternate and deleted scenes from an episode of Doctor Who. In 2005, the BBC drama came back to the television screen, and TV viewers followed the incarnations of "The Doctor" as he traveled around space and time fighting against the forces of evil. Gaiman made his debut as a writer in the sixth season of the series.

In season 6, episode 4, "The Doctor's Wife," the Doctor (Matt Smith), Amy (Karen Gillan) and Rory (Arthur Darvill) were sent to an asteroid outside of the universe to work with the inhabitants, to save themselves and stop House. Although the episode received positive feedback, some scenes did not make it into the show. "The Doctor's Wife" was Gaiman's first time writing a script for Doctor Who.

Related: Doctor Who: Amy & Rory Return In New Scene From Neil Gaiman

Neil Gaiman posted scripts pages for the episode on Twitter, revealing his original idea for the opening scene with the Doctor and the scene with Rory and the Zero Room. In the original opening scene where the Doctor receives the Time Lord Message Box, Rory wasn't supposed to be included in that part of the episode. However, the producers took things in a different direction. Also, the scene with Rory and the Zero Room was changed because of budget reasons. Rory was originally going to levitate, but that was cut.  In addition to these two parts, another big scene was changed.

The final scene of this episode was also altered, according to the writer. Originally, Gaiman wanted to have a conversation between the Doctor and Amy after Rory left the universe. He also revealed that the Doctor was supposed to give Amy the Daisy Chain. Although he was satisfied with the ending, Gaiman still wished he had kept the original ending. In addition to "The Doctor's Wife," Gaiman also wrote season 7, episode 12, "Nightmare in Silver."

Neil Gaiman is well-known as a novelist, for books such as American Gods, Coraline, and The Graveyard Book. Several of his books have been adapted into movies and TV shows, most recently, Good Omens, an Amazon Prime Original that Gaiman wrote as well. Longtime fans of the writer were eager to see his take on the Doctor, partially contributing to the success of the episode. It's unclear whether he will come back to write another script for the Doctor Who, but it's clear the character remains important to the author.

More: Christopher Eccleston's Doctor Who Was Declared Not Suitable For Kids

Source: Neil Gaiman/Twitter