The Cardedeu order of battle lists the troops that fought in the Battle of Cardedeu (16 December 1808) and several other battles fought between June and December in the Spanish province of Catalonia during the Peninsular War. In February 1808, Imperial French forces treacherously seized Barcelona on 29 February and Sant Ferran Castle on 15 March as well as other fortresses in Spain. The Dos de Mayo Uprising broke out when the Spanish people found that Emperor Napoleon deposed the Spanish royal family and set up his brother Joseph Bonaparte as their new king. The 12,000 Imperial French soldiers under Guillaume Philibert Duhesme occupying Catalonia were beaten at the Battles of El Bruch and Gerona in June. Though Duhesme was reinforced by another French division, the Spanish defeated him at the Second Siege of Gerona in July and August. With Duhesme blockaded in Barcelona, Napoleon appointed Laurent Gouvion Saint-Cyr as commander of the VII Corps, added two good divisions and other troops to his force, and ordered him to relieve Barcelona. Saint-Cyr succeeded in this task, winning the battles of Roses, Cardedeu and Molins de Rei in December.