Doctor Who: Logopolis (Part 3)

"Logopolis (Part 3)" is the third part of the "Logopolis" storyline, which ran through episodes 25-28 in series 18 of Doctor Who. The episodes originally aired on BBC1 from February 28th to March 21st, 1981. It was directed by Michael Hayes and written by David Fisher, Douglas Adams and Graham Williams, all credited under the single pseudonym of David Agnew. In this episode, Scaroth captures Romana and blackmails her into completing Kerensky's work on his time machine. The Doctor fails to prevent him from activating it, and must follow him back to Earth's primordial past to stop him from preventing the development of the human race.