 He achieved distinction in the Spanish campaign of 1823, and became captain in 1825.In 1830 he entered the Royal Guard and was sent to North Africa, where he took part in the Mascara expedition.Promoted commandant in 1835, he distinguished himself under Marshal Clauzel in the campaign against Ahmed Pasha, bey of Constantine, and became lieutenant-colonel in 1837.