Cambyses II
After the defeat at Pelusium in 525 BCE and the subsequent conquest of Egypt by Cambyses II, he eventually was relieved from his military duties.