Announcing his departure from the show earlier this year, Capaldi said that the show helped him see “the world at its best.”

“From our brilliant crew and creative team working for the best broadcaster on the planet, to the viewers and fans whose endless creativity, generosity and inclusiveness points to a brighter future ahead. I can’t thank everyone enough. It’s been cosmic.”

Sherlock co-creator Steven Moffat, who currently serves as writer and executive producer on Doctor Who, will also leave the show after the end of its current season.