Space Seed was a first-season episode of of Star Trek, and the inspiration for . It was first broadcast on February 2, 1967, and was written by Gene L. Coon and Carey Wilber based on a story by Carey Wilber.
The Starship Enterprise discovers a ship floating in space, seemingly abandoned. They send a landing party, and discover it is a human sleeper ship, launched centuries ago. They manage to revive some of the people in cryogenic suspension, among them the warlord Khan Noonien Singh (played by guest star Ricardo Montalban).
It transpires that after the Eugenics War on Earth and the defeat of the genetically enhanced faction which had tried to seize control of the world, its leader, Khan, and his closest followers stole an experimental sleeper ship and set out on it. After Khan is revived, he attempts to seize control of the Enterprise, but is foiled by Captain James T. Kirk. It is eventually decided to exile Khan and his group to an uncolonised planet, along with the ship's historian, who had fallen in love with him.
The story is continued in the feature film .