Frank Skinner was given a role in 'Doctor Who' to stop his campaigning for a role.
Mark Gatiss, one of the show's writers, has revealed the comedian - who is a lifelong fan of the BBC sci-fi drama - was given a part in the new series because he has incessantly lobbied producers for a cameo.
He told The Sun newspaper: "I'm delighted he'll be in the show. He's a very good actor and he's a huge fan.
"He must be over the moon - he's been dropping enough hints! He's the number one fan. He's the Doctor's stalker."
Frank, 57, will appear in an episode of the upcoming eighth series which will be written by 'Being Human' scribe Jamie Mathieson.
The comic previously revealed he will miss his son Buzz's second birthday in order to fulfil his dream of appearing in 'Doctor Who'.
He said: "I thought about being in 'Doctor Who' about every four-and-a-half minutes years before this happened! However, I'm afraid I've gone deep into 'bad dad' territory, because in order to be in 'Doctor Who', one of the filming days is [son] Buzz's birthday. So I'm having to miss it."
BBC has confirmed the eighth series of the show - which will see Peter Capaldi take over the role of the titular Time Lord - will begin airing in August.
Tagged in Peter Capaldi