Obi-Wan Kenobi (/ˈoʊbiːˌwɑːn kəˈnoʊbiː/), also known as Ben Kenobi, is a character in the Star Wars franchise. Within the original trilogy he serves as a supporting character and is portrayed by English actor Alec Guinness, while in the later-released prequel trilogy a younger version of the character serves as one of the main protagonists and is portrayed by Scottish actor Ewan McGregor. In the original trilogy, he is a mentor to Luke Skywalker, to whom he introduces the ways of the Jedi, until he becomes one with the Force after sacrifing himself to Darth Vader in their fight and later guides him in the fight against the Empire with the Rebel Alliance while also being instrumental in Luke’s completion of his Jedi training. In the prequel trilogy, set decades earlier, he is initially a Padawan (apprentice) to a Jedi Master named Qui-Gon Jinn and later the mentor and friend to Luke’s father Anakin, who falls to the dark side of the Force and becomes Darth Vader. He is frequently featured as a main character in various other Star Wars media.