Star Wars: Return of the Jedi

Luke Skywalker, having fashioned himself as a Jedi Knight, initiates a plan to rescue the frozen Han Solo from the vile crime lord Jabba the Hutt. Princess Leia infiltrates Jabba's palace on Tatooine disguised as a bounty hunter and releases Han from his carbonite prison, but is caught and forced to serve as Jabba's slave girl. Luke arrives the next morning and allows himself to be captured. Jabba sentences Luke and Han to be fed to the monstrous Sarlacc, but Luke breaks free and a large battle erupts; in the ensuing chaos, Leia strangles Jabba to death with her slave chains, Han inadvertently knocks Boba Fett, the bounty hunter who captured him, into the gaping maw of the Sarlacc, and Luke destroys Jabba's sail barge, escaping with his allies. As Han and Leia rendezvous with the other Rebels, Luke returns to Dagobah where he finds that Yoda is dying. With his last breaths, Yoda confirms that the evil Darth Vader is Luke's father, Anakin Skywalker, and that Luke must confront him again. He and the spirit of Obi-Wan Kenobi also reveal that Luke has a twin sister, whom Luke deduces to be Leia.
The Rebel Alliance learn that the Empire has been constructing a new battle station larger and more powerful than the first Death Star. In a plan to destroy the new weapon, Han is elected to lead a strike team to destroy the battle station's shield generator on the forest moon of Endor, allowing a squadron of starfighters to enter the incomplete infrastructure and destroy the station from within. Returning from Dagobah, Luke joins the strike team along with Leia, but soon fears that, sensing Darth Vader's presence, he may be endangering the mission. On Endor, Luke and his companions encounter a primitive yet intelligent tribe of Ewoks and form an alliance with them. Later, Luke confesses to Leia everything he knows about his relationship to Vader and to her, and that he is leaving to confront Vader one more time, believing that there is still good in him.
Luke and Vader board the Death Star and meet the evil Emperor, who reveals that Luke's allies are walking into a trap. Back on Endor, the Rebels are captured by Imperial forces, but a surprise counterattack by the Ewoks allows the Rebels to fight back. During the strike team's assault, Lando Calrissian leads the Rebel fleet in the Millennium Falcon to the Death Star, only to find the station's shield is still up. As a dogfight ensues, the Emperor tempts Luke to give in to his anger and join the dark side of the Force. A lightsaber duel between Luke and Vader erupts, during which Vader searches Luke's thoughts and learns that Luke has a sister. When Vader suggests she would turn to the dark side instead, Luke cannot contain his anger and viciously attacks his father, slicing off his hand. However, he comes to his senses and, despite the Emperor's goading, spares his father and declares himself a Jedi. Enraged, the Emperor begins to slowly kill Luke with Force lightning. His son's agonized pleas for help causes Vader to repent, becoming Anakin Skywalker once more. He turns on the Emperor and casts him down a reactor shaft to his death, but is mortally wounded by the Emperor's lightning. Luke removes Anakin's mask to look into the eyes of the pale, withered man that is his father. Having seen his son with his own eyes for the first and final time, Anakin dies, finally at peace.
Back on Endor, the strike team finally destroys the shield generator, and the Rebel fleet seizes the opportunity to launch a final assault on the Death Star. Lando leads his remaining comrades into the station and fires at the main reactor, causing it to collapse. Luke escapes on an Imperial shuttle with his father's body before the Death Star explodes, as does Lando. On Endor, Leia reveals to Han that Luke is her brother, and they share a kiss. That evening, Luke returns to Endor and cremates his father's armor on a funeral pyre. The entire galaxy celebrates the fall of the Empire. During the Rebels' own celebration on Endor, Luke catches sight of the spiritual figures of Obi-Wan, Yoda, and his redeemed father Anakin, who watch over them with pride.