LONDON – Peter Capaldi is going from spin doctor to “Doctor Who.” The BBC announced Sunday that the Scottish actor, best known as political fixer Malcolm Tucker in the sitcom “The Thick of It” and its film spin-off, “In the Loop,” is the new star of “Doctor Who,” the famed science fiction series.

The identity of the new Doctor was the subject of frantic speculation, and the revelation was made with fanfare befitting the popular, 50-year-old show during a live TV broadcast.

Capaldi, 55, is the 12th actor to play the Doctor, a galaxy-hopping Time Lord.

“Like the Doctor himself, I find myself in a state of utter terror and delight,” Capaldi said.

Capaldi has a long list of credits, from the 1983 film “Local Hero,” to “World War Z,” to the BBC’s recent drama “The Hour.”