resolve the conflict peacefully, the Chancellor of the Galactic Republic, Finis Valorum, sends two Jedi, master Qui-Gon Jinn and his padawan, Obi-Wan Kenobi, to negotiate with the Viceroy. However, after they arrive on Gunray's ship, the meeting room begins to fill with poisonous gas. Realizing that Gunray plans to assassinate them, the Jedi escape the room and fight their way through the ship, battling the Trade Federation's army of battle droids. They reach the hangar bay and escape in separate ships to the swamps of Naboo. There, Obi-Wan meets with Jar-Jar Binks, an exile of the Gungan city Otoh Gunga, who reunites him with Qui-Gon. Upon travelling to Otoh Gunga, Jar-Jar is imprisoned, leaving Obi-Wan to navigate through the city to rescue him while Qui-Gon attempts to negotiate for his release with Gungan leader Boss Nass. Qui-Gon manages to convince Nass to spare Jar-Jar's life and they depart for Naboo's capital, Theed, where Obi-Wan is again separated from Qui-Gon and Jar-Jar, forcing him to navigate his way through the Gardens of Theed. Upon doing so, he finds Qui-Gon and Jar-Jar with Queen Amidala and her entourage. He is then required to safely escort the group through the city as an invasion commences. Along with Captain Panaka, they flee the besieged capital and make an emergency landing on the desert planet of Tatooine. Qui-Gon scours the market of Mos Espa for the vital ship parts needed to escape the planet and encounters child slave Anakin Skywalker, who helps him find the parts in return for help finding components to fix his racer. Following a deal struck with crime lord Jabba the Hutt, in which he had to kill one of Jabba's beasts in exchange for a sum of money, Qui-Gon uses it to make a bet with Anakin's master Watto and wins his freedom. As Qui-Gon escorts Anakin back to the ship, he is attacked by a mysterious Sith warrior, Darth Maul, who was seen earlier watching Qui-Gon prior to the pod race in which Anakin's freedom is won. Qui-Gon fights him off and escapes with Anakin. The group returns to Coruscant so that the Queen can meet with her ally Senator Palpatine and plead Naboo's case to the Chancellor and the Senate. After Panaka escorts her through the dangerous under-belly of Coruscant (foiling several attempts by bounty hunters to capture her in the process), she decides to return to Naboo