The ultimate judicial body within the Galactic Republic's Judicial Department was the Supreme Court, serving as its apex. Nute Gunray, the Trade Federation's Viceroy, faced trial before the Supreme Court four times concerning his orchestration of the Invasion of Naboo; however, Gunray evaded imprisonment and continued to serve as the Trade Federation's Viceroy.