The Battle of Cardedeu on 16 December 1808 saw an Imperial French corps led by Laurent Gouvion Saint-Cyr assault a Spanish force commanded by Juan Miguel de Vives y Feliu and Theodor von Reding. Saint-Cyr won the engagement by forming most of his troops into gigantic attack columns and smashing through the Spanish lines. Cardedeu is located northeast of Barcelona, Spain. The action occurred during the Peninsular War, part of the Napoleonic Wars.

By the fall of 1808, a French corps under Guillaume Philibert Duhesme was besieged in Barcelona by a 24,000-man Spanish army led by Vives. With 23,000 Franco-Italian soldiers, Gouvion Saint-Cyr marched from France to relieve Duhesme's troops. First Saint-Cyr undertook the successful Siege of Roses. Confronted by the fortress of Girona, which had resisted two earlier attacks, the French general resorted to a risky strategy. Leaving his artillery and most of his supplies behind, he avoided Girona by marching 16,500 men though the mountains and headed for Barcelona. Saint-Cyr completely outgeneraled Vives, who was only able to marshal 9,000 troops to block his opponent. Vives drew up his outnumbered troops on high ground, but Saint-Cyr's huge columns proved unstoppable. The Spanish withdrew after suffering heavy losses and Barcelona was soon relieved.

Background The Dos de Mayo Uprising had put Iberia in revolt against French rule. The Spanish conventional warfare had started with the Battles of El Bruch. The British intervention had started with the Battle of Roliça. Napoleon's invasion of Spain had ended successfully with the French occupation of Madrid. The Corunna campaign started with the Battle of Cardedeu.

French defeats As part of Emperor Napoleon's plan to seize the Kingdom of Spain in a military coup, several key points, including Barcelona were captured in February 1808. Among other strong places, the French also seized San Sebastián, Pamplona and Figueras by trickery. On 2 May 1808, the Spanish people revolted against the Imperial French occupation in the Dos de Mayo Uprising.

In the early summer of 1808, a 12,710-man French corps commanded by General of Division Guillaume Philibert Duhesme was stationed at Barcelona. General of Division Joseph Chabran's 1st Division had 6,050 soldiers in eight battalions, while General of Division Giuseppe Lechi's 2nd Division consisted of 4,600 men in six battalions. The 1,700 cavalry were organized in nine squadrons under Generals of Brigade Bertrand Bessières and François Xavier de Schwarz. The force included 360 artillerists. This modest-sized corps was instructed to put down the insurrection in Catalonia, to send assistance to Marshal Bon-Adrien Jeannot de Moncey in his attempt to capture Valencia, and to hold Barcelona. Considering the intensity of the rebellion, these orders were unrealistic.

Chabran and Schwarz were defeated at the Battles of the Bruch in mid-June and Duhesme was repulsed in the Battle of Gerona on 20–21 June. After securing the assistance of an improvised division commanded by General of Division Honoré Charles Reille, Duhesme initiated the Siege of Gerona. This unsuccessful operation lasted from 24 July to 16 August before Duhesme retreated to Barcelona and Reille withdrew to Figueres. News of the French disaster at the Battle of Bailen on 22 July 1808 buoyed Spanish morale and depressed the Imperial troops. Duhesme's troops had to fight their way back through the hills and abandon their field artillery in order to make it back to Barcelona, where they arrived on 20 August.

Meanwhile, Marquis del Palacio's division of regular Spanish troops arrived from the Balearic Islands. Supported by thousands of miquelets (Catalan militia) the Spaniards blockaded Barcelona at the beginning of August. On 31 July, they captured the castle of Mougat and its garrison of 150 Neapolitans with the help of Captain Thomas Cochrane and a British frigate. Though Duhesme's 10,000 surviving troops were in a tight spot, Del Palacio did not press them very hard. The French commander was able to send strong columns through the loose blockade in order to gather food and other supplies. On 12 October, an Italian column was roughly handled at Sant Cugat del Vallès with 300 casualties and the expeditions stopped. Because Del Palacio remained almost inert during his tenure of command, the Catalan Junta replaced him as Captain General with Juan Miguel de Vives y Feliu on 28 October. This veteran of the War of the Pyrenees had capably led the Spanish right wing at the Battle of the Black Mountain in 1794 and covered the retreat at the Battle of Boulou. Vives skirmished with the French outpost line on 8 November, but then went into hibernation until reinforcements arrived under General Theodor von Reding. On 26 November, Vives pushed the French within the walls of Barcelona, inflicting about 100 casualties.

According to a 5 November report, the Army of Catalonia under Vives had 20,033 soldiers available in five divisions and a small reserve. Brigadier General Mariano Álvarez de Castro led 5,600 soldiers of the Vanguard Division. The Vanguard included 100 cavalry in the volunteer San Narciso Hussars, the regular foot regiments of Ultonia (300), Borbon (500), 2nd Barcelona (1,000), and 1st Wimpfen Swiss (400), and the volunteer tercios 1st Gerona (900), 2nd Gerona (400), Igualada (400), Cervera (400), 1st Tarragona (800), and Figueras (400). General Conde de Caldagues commanded the 4,998-strong 1st Division which consisted of six artillery pieces manned by 70 gunners, 50 sappers, the cavalry regiments Españoles Hussars (220) and Catalonia Cazadores (180), the regular infantry regiments the 2nd Walloon Guards (314), Soria (780), Borbon (151), 2nd Savoia (1,734), and 2nd Swiss (270), and the volunteer tercios Tortosa (984) and elements of Igualada and Cervera (245). General Laguna led the 2,360-man 2nd Division with seven guns manned by 84 artillerists, 30 sappers, Españoles Hussars (200), two battalions each of provincial grenadier militia of Old Castile (972) and New Castile (924), and the Zaragoza Volunteers (150).

General La Serna's 2,458-man 3rd Division comprised the regular two-battalion Granada Regiment (961), and the volunteer units 2nd Tarragona Tercio, Arzu division (325), and Sueltas companies (250). General Francisco Milans del Bosch led the 4th Division which was made up of 3,710 volunteer soldiers in the following tercios, 1st Lerida (872), Vich (976), Manresa (937), and Vallès (925). The 907-strong Reserve included four guns manned by 50 artillerymen, 20 sappers, 80 Españoles Hussars, a 60-man detachment from the Spanish Guards, the detached grenadiers from the Soria (188) and Wimpfen (169) Regiments, and the General's bodyguard (340). Two divisions of Granadan reinforcements under Reding were just arriving or on the way. The 1st Division numbered 8,200 men and included one battalion of the 2nd Reding Swiss Regiment (1,000) and two 1,200-man battalions each of the 1st Granada, Baza, and Almeria Regiments. The 6,000-man 2nd Division consisted of 1,200-man battalions. These were the one-battalion Antequera and the two-battalion Santa Fé and Loxa Regiments. The Granada Hussars with 670 sabers and six artillery pieces worked by 130 gunners accompanied Reding's force. In addition, the 3rd Division of the Army of Aragon under General Palafox was instructed to reinforce Vives on 10 November. The division numbered 4,688 soldiers and comprised 64 gunners, one troop of the Ferdinand VII Cazadores Cavalry (22), and the volunteer infantry battalions 1st Zaragoza (638), 3rd Zaragoza (593), Ferdinand VII (648), Daroca (503), La Reunion (1,286), and General Reserve (934).

Saint-Cyr takes command

After the failures of the summer, Napoleon appointed General of Division Laurent Gouvion Saint-Cyr to replace Duhesme on 17 August 1808. A week earlier, the emperor had ordered two crack divisions to reinforce the VII Corps from the garrison of Italy. General of Division Joseph Souham led 10 veteran French battalions while General of Division Domenico Pino commanded the best Italian units. On the other hand, Reille's division had been formed of 8,000 soldiers of indifferent quality. His rag-tag force included French National Guards, drafted gendarmes, French reserves and provisional units, one Swiss battalion, and the French 113th Line Infantry Regiment, plus cavalry and artillery. The so-called French 113th was actually made up of Italians from the recently annexed Grand Duchy of Tuscany.

For many years, Saint-Cyr served France with distinction and had "first-rate ability" according to historian Charles Oman. His soldiers recognized his talents and had confidence in him but he was too aloof to be loved by them. He was also very self-centered and quick to leave his fellow generals to their own devices. Saint-Cyr's dislike of Napoleon had held him back from earlier promotion. Though he later wrote darkly that the emperor wanted him to fail, Napoleon made him a Marshal of France in 1812. Saint-Cyr's reinforcements did not begin to assemble in southern France until mid-September and lack of wagons caused further delay. On 5 November Saint-Cyr's corps finally crossed the Pyrenees, near the Fort de Bellegarde.

At this time, Saint-Cyr's VII Corps consisted of six infantry divisions, three cavalry brigades, and attached artillery. A roster from 10 October listed a total of 42,382 soldiers, but 1,302 were on detached duty and another 4,948 were wounded or sick. Of these, Chabran's 1st and Lechi's 2nd Divisions plus the cavalry brigades of Bessières and Schwarz were bottled up in Barcelona with Duhesme. Reille's 3rd Division had one battalion each of the 32nd Light, 16th Line, and 56th Line Infantry Regiments, one battalion each of the 5th Reserve Legion, the Chasseurs des Montagnes, and the Swiss Valais, two battalions of the 113th Line, and four battalions of the Perpignan Provisional Regiment. Souham's 4th Division was made up of three battalions each of the 1st Light and 42nd Line Infantry Regiments, two battalions of the 7th Line, and one battalion each of the 3rd Light and 67th Line.

Pino's 5th Division comprised three battalions each of the Italian 1st Light, 2nd Light, and 6th Line Infantry Regiments, two battalions of the 4th Line, and one battalion each of the 5th and 7th Line. General of Division Louis François Jean Chabot's 6th Division included only two battalions of the 2nd Neapolitan Line Infantry Regiment and one battalion of the Chasseurs of the Eastern Pyrenees. General of Brigade Jacques Fontane's cavalry brigade consisted of the Royal and 7th Italian Chasseurs à Cheval. The corps included the French 24th Dragoon Regiment which was unbrigaded. Of the divisions in Saint-Cyr's field army, Reille counted 4,612 men, Souham 7,712, Pino 8,368, and Chabot 1,988. The three cavalry regiments numbered 1,700 troopers while the gun crews had about 500 artillerists.

Upon taking his new command, Saint-Cyr received his orders in person from Napoleon. The emperor instructed him that the relief of Barcelona was the prime objective but allowed him discretion in how to carry out the assignment. According to the latest information from Duhesme, Barcelona could be expected to hold out until the end of December before running out of food. Saint-Cyr decided that he must first reduce the port of Roses (Rosas) before marching to Duhesme's relief. The Siege of Roses consumed another month, lasting from 7 November to 5 December 1808. The successful operation cost the Imperial French forces about 1,000 killed, wounded, or died of disease.