The Pyramid at the End of the World (TV story)

 was the seventh episode of the tenth series of Doctor Who produced by BBC Wales.

Synopsis
At a war zone in Turmezistan where American, Chinese, and Russian armies are about to meet, a 5,000 year old pyramid stands. It's very strange, but one thing raises the suspicions of the Twelfth Doctor: it just appeared overnight. The aliens inside claim that humanity would die by their own hand. Soon, the Doctor, Bill and Nardole are facing an invasion the likes of which they have seen before. Before they invade, the aliens need the permission of humanity.

Plot
to be added

Cast

 * The Doctor - Peter Capaldi
 * Bill - Pearl Mackie
 * Nardole - Matt Lucas
 * Secretary General - Togo Igawa
 * The Commander - Nigel Hastings
 * Colonel Don Brabbit - Eben Young
 * Erica - Rachel Denning
 * Douglas - Tony Gardner
 * Ilya - Andrew Byron
 * Xiaolian - Daphne Cheung
 * Monk - Jamie Hill
 * Voice of the Monk - Tim Bentinck

Crew
to be added

Story notes

 * A line of dialogue referring to terrorism was reportedly exorcised from the episode, out of respect for the victims of the, which occurred five days prior to broadcast.
 * When the Secretary General asks about the President, Bill says she doesn't know him, and says he is "orange". While never stated in the narrative, this is a reference to Donald Trump.

Ratings
to be added

Filming locations
to be added

Production errors
to be added

Continuity

 * The Doctor told Bill she should call Penny on a date. (TV: Extremis)
 * The Doctor had previously been in Turmezistan. (TV: The Zygon Inversion)
 * The Doctor mentions having been blind since Chasm Forge. (TV: Oxygen, Extremis)
 * The Doctor states that the future dead Earth wouldn't be his first dead planet. (TV: "The Dead Planet", Planet of the Dead)
 * A pyramid appears on Earth. (TV: Pyramids of Mars)
 * Nardole calls himself "sexy", a nickname used often by the Eleventh Doctor to describe the TARDIS. (TV: The Doctor's Wife et al)
 * The Doctor mentions his reassembly of Nardole, telling Nardole "I got your lungs cheap", further indicating that Nardole may be a cyborg. (TV: The Return of Doctor Mysterio, The Pilot)
 * The Doctor is President of Earth in a crisis. (TV: Death in Heaven)

DVD releases
to be added

Blu-ray releases
to be added

Digital releases
to be added