Viewers around the world saw Peter Capaldi make his first brief appearance as The Doctor - along with each of his past regenerations - in the 50th anniversary episode of Doctor Who.
The programme, thought to have set a record as the biggest ever TV drama simulcast, also saw a surprise cameo return for Tom Baker who bowed out as the Fourth Doctor in 1981.
The 75-minute show had been under a veil of secrecy for months and was the climax of weeks of celebrations on TV, radio and with a huge fan convention in east London.
Tonight's edition of the BBC1 programme saw The Doctor rewrite history by avoiding the annihilation of his planet Gallifrey, and instead freezing it in time and dispatching it to an unknown place in the universe.
Capaldi - who was announced as the next face of The Doctor - was glimpsed only fleetingly as his eyes looked towards the camera. And many of the other Doctors were seen in archive footage, with CGI used to bring them together in a line-up at the show's climax.
The programme brought together current Doctor Matt Smith and his predecessor David Tennant, along with a previously barely seen regeneration played by John Hurt. The trio teamed up to avert the destruction of Gallifrey.
With a rich heritage to draw upon, there were numerous nods to the past for fans from the start, with the programme beginning with the original credit sequence used in the first ever edition in 1963.
The Doctor's sidekick, Clara (Jenna Coleman), was seen teaching at Coal Hill School, which featured in the very first story, An Unearthly Child, and was attended by The Doctor's granddaughter Susan. There was also a character, Osgood, wearing a Tom Baker-style multicoloured scarf.
A favourite foe, the Zygons, were brought back for the occasion by the sci-fi show's executive producer Steven Moffat. The creatures have been seen only once before, in the mid 1970s, and in the milestone show - broadcast 50 years to the day since the programme made its debut - adopted the form of Queen Elizabeth I.
Viewers also saw the daughter of much-loved character the Brigadier in a senior role with his old protection force Unit.
Baker's Doctor was seen meeting and chatting with Smith in London's National Gallery at the conclusion of the story.
The programme was being broadcast simultaneously in 94 countries, with hundreds of cinemas around the UK also screening it with many in 3D.