Steven Moffat is stepping down as showrunner on Doctor Who, the BBC has announced.
Moffat, who has been lead writer and executive producer since series five, will be replaced by Broadchurch creator Chris Chibnall.
With Moffat leaving, the BBC has decided to delay his now final series until spring 2017, while a Christmas special will be aired this year. Chibnall's first series will launch in 2018.
"Feels odd to be talking about leaving when I'm just starting work on the scripts for season 10, but the fact is my timey-wimey is running out," Moffat said.
"While Chris is doing his last run of Broadchurch, I'll be finishing up on the best job in the universe and keeping the TARDIS warm for him. It took a lot of gin and tonic to talk him into this, but I am beyond delighted that one of the true stars of British television drama will be taking the Time Lord even further into the future. At the start of season 11, Chris Chibnall will become the new showrunner of Doctor Who. And I will be thrown in a skip."
Chibnall said it was a "privilege and a joy" to take over, and that he had been a Doctor Who fan since he was four.
"Steven's achieved the impossible by continually expanding Doctor Who's creative ambition, while growing its global popularity," he said.
"He's been a dazzling and daring showrunner, and hearing his plans and stories for 2017, it's clear he'll be going out with a bang. Just to make my life difficult."
BBC1 controller Charlotte Moore explained Moffat's last series was being delayed to "bring the nation together" (no pressure, Steven).
She said: "2016 is spoilt with national moments including the Euros and Olympics and I want to hold something big back for 2017 - I promise it will be worth the wait!"