He served in the Crimean War, in Italy, and in Mexico. For bravery at the battles of Magenta and Solferino, he was elevated to brigadier general.