Padmé Amidala, Serving the Republic