In the campaigns of 1805 and 1806 he greatly enhanced his reputation at Austerlitz, Saalfeld, Jena, Pułtusk and Ostrolenka. He obtained the title of count on 19 March 1808, married on 16 November of the same year Mlle. Honorine Anthoine de Saint-Joseph (Marseille, 26 February 1790 – Paris, 13 April 1884), a niece of Julie Clary, the wife of Joseph Bonaparte, and soon afterwards was ordered to Spain. He was named commander of the army of Aragon and governor of that region, and in two years brought the area into complete submission. Beaten by the Spanish at Alcañiz, he sprung back and soundly defeated the army of Blake at María on 14 June 1809, and on 22 April 1810 defeated Henry Joseph O'Donnell, Count of La Bisbal at Lleida.