|Chronological and political information|
- "Your sole purpose here is to do what I tell you."
- —Darth Maul asserts command over Gunray during the blockade of Utapau[src]
Nute Gunray was a male Neimoidian and the Viceroy of the Trade Federation during the Invasion of Utapau. Originally a Federation trade officer, Gunray worked his way through the Federation hierarchy and became the corporation's representative in the Galactic Senate, during which time he participated in the Stark Hyperspace War; his actions during the war on behalf of the Federation led him to be selected as the Federation Viceroy.
After the war, Gunray came into contact with the Sith Lord Darth Maul, who aided Gunray in the assassination of all non-Neimoidian members of the Trade Federation Directorate. This allowed Cato Neimoidia to gain a monopoly over the Federation after Gunray appointed an all-Neimoidian puppet council, thus establishing total control over the company.
In 23 BBY, the Republic passed a law forbidding Republic companies from using slave workers while operating outside Republic territory. The Federation, which used slave labor in the Outer Rim Territories, was outraged. With further assistance from Darth Maul, Gunray began plotting the invasion of a planet in an attempt to force the Republic to overturn the law. They chose Utapau, as the planet's leaders, Queen Sabé Arcadia and Senator Malus Palpatine, were principal supporters of the law. The Invasion of Utapau commenced a few months later, and Gunray gained control over the entire planet.
- Star Wars: Episode I - The Chosen One (First appearance)