luke skywalker is a fictional character and the main protagonist of the original film trilogy of the star wars franchise created by george lucas. portrayed by mark hamill, luke first appeared in star wars (1977),[a] and he returned in the empire strikes back (1980) and return of the jedi (1983). three decades later, he portrayed the character in the star wars sequel trilogy, appearing in all three films: the force awakens (2015), the last jedi (2017), and the rise of skywalker (2019).

originally a farmer on tatooine living with his adoptive parents, his uncle and aunt, who are later killed by stormtroopers, luke becomes a pivotal figure in the rebel alliance's struggle against the galactic empire, a friend and eventual brother-in-law of smuggler han solo, and unknown to him until return of the jedi, the twin brother of rebellion leader princess leia. he trains to be a jedi under jedi masters obi-wan kenobi and yoda, and is the son of fallen jedi knight anakin skywalker (turned sith lord darth vader) and padmé amidala. he mentors the sequel trilogy's protagonist, rey, and is the maternal uncle and the former jedi trainer of its antagonist, kylo ren. though luke dies at the end of the last jedi, he returns as a force spirit in the rise of skkywalker, encouraging rey to face the rejuvenated emperor palpatine and empowering her alongside the spirits of other former jedi during her final confrontation with him. his ghost also appears in the film's epilogue scene alongside his sister's, who died redeeming kylo ren earlier in the film.

luke skywalker aka mark hamill

luke also briefly appears in the prequel film episode III – revenge of the sith as an infant. the expanded universe, which has been declared non-canonical, depicts him as a powerful jedi master, the husband of mara jade, father of ben skywalker and maternal uncle of jaina, jacen and anakin solo.