Internet wags have celebrated the appointment of Peter Capaldi as the new lead in Doctor Who by creating expletive-packed spoofs.

The 55-year-old actor is famed for his role as spin doctor Malcolm Tucker in BBC satire The Thick Of It, in which he fires off four-letter rants and filthy, withering put-downs.

Now clips of his outbursts have been edited together with footage from Doctor Who in joke trials for the sci-fi show and posted to YouTube.

Capaldi's addition to the cast was revealed in a special live programme broadcast on Sunday, which drew an average of 6.1 million viewers. The show had 400,000 more viewers than the highest overnight audience figures for the most recent seven-show run of Doctor Who itself.

Capaldi, who becomes the 12th incarnation of The Doctor, was the bookies' favourite and is the first Oscar winner to take on the role. He said: "Being asked to play The Doctor is an amazing privilege. Like the Doctor himself I find myself in a state of utter terror and delight. I can't wait to get started."

He is a lifelong fan of the show and wrote a letter to the Radio Times about the Daleks as a teenager.

Smith will bow out after the traditional Christmas special. Capaldi will film his first scenes this autumn.