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 it claim that humanity would die by their own hand. Soon, the Doctor, Nardole, and Bill 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.

Ratings
to be added

Filming locations
to be added

Production errors
to be added

Continuity

 * 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: Planet of the Dead)
 * A pyramid appears on Earth. (TV: Pyramids of Mars)

DVD releases
to be added

Blu-ray releases
to be added

Digital releases
to be added