The First Doctor's new companions Ben and Polly arrive with him in the TARDIS on the coast of seventeenth century Cornwall. They meet a worried churchwarden named Joseph Longfoot, who lives in fear of "Avery's boys" and, in thanks for the Doctor's kindness in relocating a dislocated finger, imparts a cryptic message he calls "Deadman's secret key": "Smallbeer, Ringwood, Gurney". While the time travellers head off to the local inn, Longfoot has another visitor. This is Cherub, Longfoot's former shipmate under pirate Captain Avery on the Black Albatross. Cherub and his master, Samuel Pike, who captains the Albatross since Avery died, want to recover Avery's accursed gold. Pike is convinced that Longfoot has the treasure or knows where it is hidden. When the churchwarden does not co-operate, Cherub kills him – but not before revealing he saw the three travellers who visited Longfoot earlier.