The triumphant Naboo victory over the Trade Federation felt great in Star Wars: Episode I – The Phantom Menace, but it turns out George Lucas rewrote that victory only three years later. The Trade Federation invasion of Naboo was a huge surprise to the galaxy, to the point where the Galactic Senate was able to be convinced not to believe it. In the end, however, an alliance between the humans of Naboo and the Gungan forces were able to fight off the Federation, which was to be punished in the Senate.