Quarsh Panaka (Earth-2042)

"Your Highness, this is a battle I do not think that we can win."

- Quarsh Panaka, to Queen Padmé Amidala

Quarsh Panaka was a male Human who served as the head of the Royal Naboo Security Forces before, during, and after the Invasion of Naboo, and later was the Moff for the Chommell sector during the Galactic Civil War. He was a vocal militarist among the peaceful people of Naboo, a fish out of water amongst his peers. Shaken by the murder of King Ars Veruna, he installed various security measures to make sure that the same thing did not happen to his second monarch, Queen Padmé Amidala. By learning from the mistakes of his predecessor, he was able to successfully defend her in several periods of danger, and continued to serve Naboo, the Republic, and eventually, the Empire.

Source

 * https://starwars.fandom.com/wiki/Quarsh_Panaka/Legends