In June 1808, the governor of Cadiz and Captain General of Andalusia, Tomás de Morla y Pacheco, commissioned Mourgeón with setting up the Battalion of Tiradores de Cadiz (Sharpshooters of Cadiz), for which he was promoted to lieutenant colonel. He led his battalion later that year at Baylen, for which he was promoted to colonel.[1]
Leading the vanguard of Grimarest's 2nd Andalusian Division, part of General Castaños's Army of the Centre, which was defeated by Marshal Moncey at Lerín (25 October), Mourgeón and his troops found themselves surrounded by Morlot's division when Grimarest retreated.[2] Mourgeón took refuge in the castle at Lerín with his troops, all new levies, and consisting of a single regular battalion, his Tiradores de Cadiz, and a few Catalan volunteers. They defended themselves there for two days, expecting Grimarest to come to their rescue, but he was decided not to. Mourgeón finally surrendered after two-thirds of his troops had been killed or wounded.[2] Grimarest was reprimanded for his defeat at Lerín.[3]
Mourgeón managed to escape from France and made his way to Cádiz, where he was rewarded with the promotion to brigadier in July 1810 and seeing action that year at Moguer (August 1810).[1]
He saw further action at Barrosa (March 1811)[4] and at Albuera (May 1811), after which he was promoted to field marshal.[1]