 Obi @-@ Wan and Qui @-@ Gon discover that the Queen has fallen into the hands of the Federation . Before heading to the Queen 's palace to initiate an attack , they free captured citizens on the streets of Theed . The Jedi infiltrate the palace and manage to free the Queen . Meanwhile , Obi @-@ Wan 's young friend Anakin Skywalker commandeers a vacant starfighter and is able to destroy the Federation droid control ship in space , causing the entire droid army to deactivate . Obi @-@ Wan and Qui @-@ Gon , meanwhile , encounter the Sith Lord 's apprentice , Darth Maul . Qui @-@ Gon is mortally wounded in the battle , but Obi @-@ Wan manages to kill the Sith apprentice . As a result , Obi @-@ Wan 's quest to become a Jedi Knight is completed . 
