In 1808, he was in the first French corps to enter Spain, and was stationed in Madrid during the revolt of the Dos Mayo. At the Second Siege of Saragossa, he won further promotion to the rank of captain, and in 1809–1810 found opportunities for winning distinction under Suchet in the eastern theatre of the Peninsular War, in which he rose to the rank of major and the command of a full regiment. At the first restoration he was made a colonel, but he rejoined Napoleon during the Hundred Days, and under his old chief Suchet distinguished himself in the war in the Alps.