In Star Wars: Episode I – The Phantom Menace, Obi-Wan Kenobi appears as the Jedi Padawan (or student) of Jedi Master Qui-Gon Jinn. He accompanies his master in negotiations with the Trade Federation, which is blockading the planet Naboo with a fleet of spaceships. After they are attacked by battle droids and forced to retreat to Naboo, Obi-Wan and Qui-Gon rescue Queen Padmé Amidala through the help of native Gungan Jar Jar Binks and escape in a spaceship toward Coruscant, the Republiccapital. Their ship is damaged in the escape, however, and they are forced to land on Tatooine, where they discover a young Anakin Skywalker. Qui-Gon senses Anakin's extraordinarily strong link to the Force and brings the boy to Coruscant to begin Jedi training, although Obi-Wan expresses concerns.
When Qui-Gon and Obi-Wan return to Naboo to defeat the Trade Federation, they are met by Sith Lord Darth Maul. When Maul mortally wounds Qui-Gon in the ensuing duel, Obi-Wan rushes to fight Darth Maul, who nearly kills him. However, Obi-Wan manages to turn the tables and defeat Maul, slicing him in half and sending him plunging down a vast reactor shaft. He promises to fulfill Qui-Gon's dying wish of training Anakin in the ways of the Jedi, with or without the Council's blessing. Yoda proclaims Obi-Wan a Jedi Knight and reluctantly allows him to take Anakin on as his own Padawan.