CARDIFF, WALES - JUNE 10:  Peter Capaldi who plays the Doctor in BBC show Doctor Who spotted during filming for the ninth ser
Matthew Horwood/GC Images via Getty Images

Peter Capaldi, known for playing the lead role in Doctor Who, announced he will be leaving the show. The British actor confirmed the news today on Jo Whiley's BBC Radio 2 show, Digital Spy reports. The Time Lord is set to exit the popular sci-fi program after its 10th series.

Capaldi said on the radio show,

"One of the greatest privileges of being Doctor Who is to 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."

Steven Moffat, one of Doctor Who's executive producers, is also planning to leave the show after the next series. He commented on Capaldi's departure:

"For years before I ever imagined being involved in Doctor Who, or had ever met the man, I wanted to work with Peter Capaldi. I could not have imagined that one day we'd be standing on the TARDIS together. Like Peter, I'm facing up to leaving the best job I'll ever have, but knowing I do so in the company of the best, and kindest and cleverest of men, makes the saddest of endings a little sweeter. 

But hey, it's a long way from over. Peters' amazing, fiery, turbulent Doctor is still fighting the good fight, and his greatest adventures are yet to come. Monsters of the universe, be on your guard—Capaldi's not done with you yet!"

Doctor Who has been on air since 1963, and Capaldi first made an appearance as the titular character in a 2013 Christmas special. He later joined the show the following year for the eighth and ninth series. The actor's 10th and final series is set to premiere this April.

Next up, watch a New York Comic Con rookie and veteran try to make their way through the convention together: