He participated in the Battle of Goito (1848) during the First Italian War of Independence and served as a division commander in the Crimean War.