Obi-Wan "Ben" Kenobi is a fictional character in the Star Wars franchise, portrayed by Alec Guinness and Ewan McGregor in the films. In the original trilogy, he is a mentor to Luke Skywalker, who he introduces to the ways of the Jedi. In the prequel trilogy, he is a master and friend to Anakin Skywalker. He is frequently featured as a main character in various other Star Wars media.
Obi-Wan Kenobi is introduced in the original Star Wars living as the hermit Ben Kenobi on the planet Tatooine. When Luke Skywalker and the droid C-3PO wander off in search of the lost droid R2-D2, Ben rescues them from a band of native Tusken Raiders. At his home, R2-D2 plays Ben a recording of Princess Leia which explains that R2-D2 contains the plans for the Death Star, the Galactic Empire's superweapon. Leia asks him to deliver the droid and the plans safely to the planet Alderaan in order to help the Rebel Alliance. Ben reveals to Luke that his real name is Obi-Wan and that he is a Jedi Master, member of an ancient group of warriors that were hunted down by his apprentice Darth Vader, the apparent killer of Luke's father. He gives Luke his father's lightsaber and asks Luke to accompany him to Alderaan and take up Jedi training. Luke declines, but promises to take Obi-Wan as far as Anchorhead Station. After Luke finds his uncle and aunt killed by Imperial troops, he agrees to go with Obi-Wan to Alderaan and to train as a Jedi.