The TARDIS crew arrive in Mexico in the 15th Century. With the TARDIS trapped in a tomb, Barbara is mistaken for a reincarnation of the ancient high priestess Yetaxa, and assumes her guise and identity. In her new position of power Barbara sees her chance to bring an end to human sacrifice. She sees the good side of Aztec culture manifested in Autloc, the High priest of knowledge, and the gruesome side embodied in 'the local butcher' High Priest Tlotoxl. As somewhat of an expert on this period, she sees how advanced their culture really is and believes that if sacrifice were abolished, they would be spared destruction at the hands of the Spanish. The Doctor's warnings that she cannot change history fall on deaf ears.
The bloodthirsty Tlotoxl begins to suspect Barbara is not Yetaxa returned, especially because she is trying to ban human sacrifice. He sets a series of elaborate traps for her and her companions. For example, Ian has been compelled into the military and fights the strongest warrior, Ixta, to prove his ability to command the Aztec forces. Thus Ixta develops a grudge against Ian and is used by Tlotoxl to try and prove Barbara is not Yetaxa. The Doctor unwittingly tells Ixta how to defeat Ian in combat using a drugging agent, and this battle nearly ends in the Doctor witnessing his friend's death. When this fails to be conclusive, Tlotoxl convinces the priest Tonila to make a poison for Barbara; the death of Barbara following consumption of the poison would prove she is not immortal and therefore not a god. But Ian silently warns her from his hiding place and Barbara refuses to drink the poison. She tells Tlotoxl that she is not Yetaxa but warns him not to tell the people. He now knows the truth - but must find a way to unmask the false goddess.
Susan and the Doctor have meanwhile both become involved in marriage-making scenarios. She has transgressed Aztec law and has been promised to the Perfect Victim, who has been scheduled for sacrifice by Tlotoxl on the day of the next eclipse; while the Doctor, who knows little of Aztec customs, has become engaged to an Aztec woman named Cameca after they shared a cup of cocoa. Cameca is a kind lady and helps the Doctor and Ian find a way to re-enter the tomb by a secret entrance, despite realising this will help her beloved leave her. Ian braves a treacherous tunnel in which he is almost drowned to re-enter the tomb by a secret door and soon tells his friends that they can flee.
Despite her efforts Barbara realises she cannot change an entire culture, although she does succeed in changing the views of one man, the High-Priest of Knowledge, Autloc, although this comes at a high price to Autloc, who exiles himself. He helps her become reunited with her friends before departing to meditate in the desert on what remains of his faith. In a pitched battle to gain access to the tomb door, Ian kills Ixta in a fight to the death, as shown in the picture, to protect the TARDIS crew.
The Doctor and his companions leave knowing that despite their intervention history will take its pre-destined course. As they depart Tlotoxl is very much in control and sacrifices the Perfect Victim to end the naturally occurring eclipse.
Doctor William Hartnell (First Doctor)
Companions Carole Ann Ford (Susan Foreman)
Jacqueline Hill (Barbara Wright)
William Russell (Ian Chesterton)
Keith Pyott — Autloc
John Ringham — Tlotoxl
Ian Cullen — Ixta
Margot Van der Burgh — Cameca
Tom Booth — First Victim
David Anderson — Aztec Captain
Walter Randall — Tonila
André Boulay — Perfect Victim
Writer John Lucarotti
Director John Crockett
Script editor David Whitaker
Producer Verity Lambert
Mervyn Pinfield (associate producer)
Executive producer(s) None
Production code F
Series Season 1
Length 4 episodes, 25 minutes each
Originally broadcast May 23–June 13, 1964