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.