Star Trek II, the Wrath of Khan is a science fiction film not set within the Solar System which was released in 1982 and is directed by Nicholas Meyer.
The film starts with a testing session for new recruits using the "Kobayashi Maru" scenario, a no-win situation. We see Lieutenant Saavik, a Vulcan sit and fail the test. The aim of the test is to rescue the crew of the "Kobayashi Maru" before the Klingons attack and destroy both the trainee's ship and the "Kobayashi Maru". The session is overseen by Admiral Kirk.
The USS Reliant with Pavel Chekov on board is searching for a new planet to carry out a test of the Genesis machine. They beam down to the planet and before long are captured by inhabitants of the planet who take them aboard their craft. The Captain of the downed craft turns out to be Khan Noonien Singh, who in the episode Space Seed had been marooned on a planet (Ceti Alpha V) but its neighbouring planet Ceti Alpha VI blew up and destroy the vegetation on their planet, turning it in a desert. Khan's wife died in subsequent years and he vows to avenge her death on Kirk. Using mind controlling worms which he implants in his prisoners (Chekov and Terrell), he takes control of the Reliant.
The Reliant heads to Regula I research space station and in attacking it, the Federation is alerted and sends the Enterprise to investigate. Khan is after the Genesis project which it is said to terraform planets to make them hospitable. Khan uses the mind controlled captives (Terrell and Chekov) to gain access to the Regula's computers. After the skirmish in which a number of Starfleet officers are killed Khan is forced into retreating. Kirk visits the research station inside the Regula I asteroid where he gets the low down on the project. When he returns to the ship, he takes his ship to the nearby "Mutara nebula" where there is to be another confrontation between Kirk and Khan,
In the final battle in the Nebula, Capt. James Tiberius Kirk damages the Reliant beyond repair. Khan activates the Genesis machine but the Enterprise is too damaged to escape from the detonation. Damage to the warp core is preventing the Enterprise from escape the incoming explosion. Spock runs to the engine room and sacrifices himself in order that he may save the crew. Before he steps into the chamber, Spock does a mind meld with Doctor Leonard Bones McCoy. Spock is able to repair the damage and the Enterprise is able to flee.
Saavik ( Kirstie Alley )
Clark Terrell ( Paul Winfield )
Khan Noonien Singh ( Ricardo Montalban )
First appeared in the episode `Space Seed` where he is marooned on a planet with his superhuman followers. His followers were survivors of the Eugenic Wars of the late twentieth century. When Kirk confronts the leader, he offers him a planet in which to live so that he doesn`t cause problems. Khan accepts and with his followers settle on the planet.
Fast forward a number of years and Khans dreams have ended and he`s now on a desert planet after the first blew up. He wants revenge on the Captain and crew for the injustice meted out to him.