In "Return of the Jedi", Luke alongside Leia, Chewbacca, R2-D2, C-3PO and Lando Calrissian attempt to rescue Han Solo from Jabba The Hutt but fail and end up captured and condemned to the Sarlacc Pit. However, Luke, using R2-D2's help, devises a plan and is able to escape the Pit and save his friends, killing Boba Fett and Jabba The Hutt in the process.