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.

The episode saw the Doctor regaining his eyesight with the help of the Monks, after having lost it during his trip in the vacuum of space in TV: Oxygen.

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 never 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

Science

 * Agrofuel Research Operations uses EC 07, EC 31 and EC 46 to genetically modify R. planticola. They have been experimenting with the bacteria for at least 26 days.
 * Douglas is also working on Experiment 7C1677, Enzyme C36 and Culture 14578.
 * The Doomsday Clock is maintained by The Bulletin of the Atomic Scientists Science and Security Board. As the writing – and possibly filming – of the episode took place in 2016, the time shown in the beginning of the episode is three minutes to midnight. As of January 2017 – and so at the time of broadcast – however, the clock is set at two and a half minutes to midnight.

Biological data of individuals

 * According to the sonic sunglasses, Bill is female, 26 years old, 167.6cm tall, weighs 130.2 pounds, has a resting heart rate of 79BPM and a temperature of 37.6 degrees Celsius.
 * Nardole is male, 237 years old, 167.7cm tall, weighs 216.1 pounds, has a resting heart rate of 78BPM and a temperature of 30.3 degrees Celsius.
 * The Secretary General is male, 70 years old, 165.2cm tall, weighs 140.1 pounds, has a resting heart rate of 68BPM and a temperature of 37.9 degrees Celsius.
 * Xiaolian is female, 41 years old, 167.0cm tall, weighs 126.7 pounds, has a resting heart rate of 76BPM and a temperature of 37.7 degrees Celsius.
 * Don Brabbit is male, 59 years old, 177.6cm tall, weighs 141.0 pounds, has a resting heart rate of 69BPM and a temperature of 38.0 degrees Celsius.
 * Ilya Sviatoslavych is male, 70 years old, 186.7cm tall, weighs 176.4 pounds, has a resting heart rate of 72BPM and a temperature of 37.6 degrees Celsius.
 * One Monk has a height of 204.6cm and a weight of 93.5 pounds. Another has a height of 214.3cm.

Technology

 * Penny mention the computer simulation.
 * Penny says she's getting an Uber to get home.
 * Boat One is boarded again.
 * The Doctor plays his electric guitar.
 * The Doctor uses his sonic sunglasses.
 * Agrofuel uses Bowes computers.
 * Citizens in Turmezistan uses cameras to photograph the Pyramid.
 * The UN military uses guns.
 * The UN uses a Defender 110.
 * Russia tried to use a missile from a submarine against the Pyramid.
 * GriffinFinder is a search engine.
 * The Doctor tells the people at the meeting to go use Google.

Locations

 * Bill and Penny are at the pub.
 * Bill and Penny went back to Bill's flat.
 * The Doctor, Bill, Nardole and the representatives meet up in a base in Turmezistan.
 * The Doctor's office is mentioned.
 * Bill has a jacket with Okinawa printed on it.
 * Agrofuel is located in Yorkshire.

Organisations

 * The Doctor mention UNIT and UNIT HQ.
 * The Doctor pays a visit to the Agrofuel Research Operations.

Biology

 * Bacteria are being researched in Agrofuel.
 * The Doctor mention GN bacteria.

Food and beverages

 * Bill and Penny are drinking wine.
 * Bill: white wine, Penny: red wine.
 * Erica and Douglas drinks coffee.
 * Water is being drunk during the meetings in the base.
 * Nardole mentions water, food and beer

Species

 * Bill thinks the Monks are vampires.

People

 * Penny mentions that the Doctor is Bill's tutor.
 * Bill and Penny laugh about the Pope being in Bill's flat.
 * The UN breaks into Bill's flat.
 * Bill thinks the Secretary General refers to Donald Trump when saying "the President", and says she wouldn't vote for him and that he's "orange".
 * Douglas has messages on his iPad from Terry Beyer-Rees (Head of Research), Dr Patel, J. Plant, P. Spriggs, Dr Sherives, K. Moore, P. Hilton, Dr D. Newton, Dr Palmer, S. Lamont and M. Henshaw.
 * The Doctor says that they are against a world war three.

Story notes

 * This title has the longest word count for a Doctor Who episode, with eight words. By character, however, that would go to The Doctor, the Widow and the Wardrobe, with 38 characters over Pyramid's 35. The spin-off series Class trumps them both, with 42 characters in The Metaphysical Engine, or What Quill Did.
 * A line of dialogue referring to terrorism was reportedly excised 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.
 * This episode featured a unique opening sequence in which it jumped back and forward between "Previously" and "Now".

Ratings
to be added

Filming locations
to be added

Production errors

 * Although referred (and credited) to as a Colonel, the character Don Brabbit is wearing the insignia of a four star general.

Continuity

 * The Doctor told Bill she should call Penny on a date. (TV: Extremis)
 * Penny mention the Doctor being Bill's tutor. (TV: The Pilot)
 * Bill explains the Doctor's alien origins.
 * Penny laughs at Bill's claim about a simulation. (TV: ''Extremis)
 * Bill and Penny mention the Pope. (TV: ''Extremis)
 * The Doctor had previously visited Turmezistan. (TV: The Zygon Inversion)
 * A pyramid appears on Earth. (TV: Pyramids of Mars)
 * The Boat One is boarded again. (TV: Death in Heaven, The Zygon Invasion/The Zygon Inversion'')
 * The Doctor is President of Earth in a crisis. (TV: Death in Heaven, The Zygon Invasion/The Zygon Inversion)
 * The Doctor plays his electric guitar. (TV: The Magician's Apprentice)
 * The Doctor says he is meditating while in the TARDIS playing his guitar. (WC: Prologue, TV The Doctor's Meditation, The Magician's Apprentice)
 * The Doctor uses his sonic sunglasses. (TV: The Magician's Apprentice/The Witch's Familiar et al.)
 * The Doctor wonders how the UN got the TARDIS out from his office, since the Windows are too small. (TV: The Pilot)
 * Nardole again uses his mic in the coat. (TV: The Return of Doctor Mysterio)
 * The Doctor states that the future dead Earth wouldn't be his first dead planet. (TV: "The Dead Planet", Planet of the Dead)
 * The Doctor mention that Earth has been doomed before, but that he got in the way.
 * The Doctor mention UNIT and UNIT HQ.
 * The Doctor mentions having been blind since Chasm Forge. (TV: Oxygen, Extremis)
 * 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 again calls himself stupid over and over.

DVD releases
to be added

Blu-ray releases
to be added

Digital releases
to be added