The Battle of Naboo was a conflict that occured 32 years before the Battle of Yavin. The Trade Federation had a blockade of deadly battleships surrounding the planet Naboo. Jedi Master Qui-Gon Jinn and his Padawan Learner Obi-Wan Kenobi boarded the Droid Control Ship on a diplomatc mission as Chancellor Valorum's ambassodars to convince The Trade Federation to end the blockade, but negotiations failed. Later on, Queen Padme Amidala planned a division. The Gungan Grand Army would draw the battle droids away from Theed Royal Palace while the pilots would make an attempt to break through a deflector shield and destroy the Droid Control Ship. The Jedi, along with her and her guards, would capture Nute Gunray, Viceroy of The Trade Federation. But when they arrived at the way to the Palace Throne Room, Sith Lord Darth Maul blocked their way. Qui-Gon and Obi-Wan told Amidala that they would handle him, while the others went the long way. Anakin Skywalker was able to destroy the control ship and the diversion worked so Padme Amidala was able to capture Gunray. Obi-Wan defeated Maul, but not before Qui-Gon was impaled by the Sith Lord.