During the time of conflict known as the Clone Wars, which pitted the Confederacy of Independent Systems against the Galactic Republic, the Confederacy launched an invasion against the city of Theed. Theed, serving as the capital of Naboo, was often visited by Padmé Amidala, the planet's senator. Throughout the invasion, Confederate battle droids in conjunction with spider droids focused their efforts on eliminating the senator, yet their assassination attempt failed because an artist foresaw the danger she was in and intervened.