He commanded with great distinction the First Division under General (afterwards Marshal) Forey in the Mexican expedition in 1862, where he pursued the war with great vigour and success, driving President Benito Juárez to the frontier.
His decisive action was instrumental in the taking of the city of Puebla in 1863.