Showrunner Steven Moffat may be leaving "Doctor Who," but he doesn't think series star Peter Capaldi is coming with him.

Moffat announced in January that he would leave the series after its tenth season, which is set to air in 2017. Some speculated that Capaldi may also exit, as previous doctor David Tennant did in 2010 when Moffat's predecessor Russell T Davies left the series.

However, Moffat doesn't think that this is what will happen, telling Doctor Who Magazine, "I have no reason to suppose that I'm writing out a Doctor. Peter is loving the role, and long may he do so."

Capaldi has only officially signed on through the end of the tenth season, but he revealed to RadioTimes that he was asked to stay. "It's such a long time before I have to make that decision," he said in the March interview. "I have to make up my mind, and I haven't yet."

Moffat will be replaced as head writer and executive producer in the BBC America show's eleventh season, which will air in 2018, by "Broadchurch" executive producer Chris Chibnall.