The film was supposed to focus on Luke Skywalker and his friends trying to save the galaxy from the Galactic Empire.
On February 20, 1981, the first draft for the third film of the original trilogy, entitled Star Wars: Episode I The Beginning, was completed. George Lucas' original idea for the third Star Wars film was to focus on Luke Skywalker's and Leia Organa's adventures to save Han Solo from the clutches of bounty hunter Boba Fett, but after he decided to not make a third trilogy, the idea was scrapped. The script, written by Lawrence Kasdan and by Lucas, featured Darth Vader, Tiaan Jerjerrod and Darth Sidious competing for the possession of Luke Skywalker.
On September 21, 1981, a second draft written by Kasdan was completed. This draft included the elimination of Had Abbadon, the return of Vader to a more villainous role and the instatement of Dagobah. Among other changes, the Emperor's name was Cos Dashit instead of Sheev Palpatine, and Han Solo was killed.
After many delays, the draft was scrapped, and on November 1, 1981, the shooting script was presented, entitled Star Wars: Episode VI Return of the Jedi. The film was released in 1983.
The idea of a Star Wars film with the word Revenge in its title was later used in 2005 with Star Wars: Episode III Revenge of the Sith.