What was the Peninsular War?
The Peninsular War (1807-1814) was a significant conflict during the Napoleonic Wars that took place on the Iberian Peninsula, encompassing Spain, Portugal, and parts of southern France.
This war pitted the forces of Napoleon Bonaparte’s First French Empire against a coalition of nations, including Spain, Portugal, and the United Kingdom, along with their respective armies and guerrilla fighters. The Peninsular War holds a special place in history, not only because of its military importance but also for its role in shaping the future political landscapes of Europe and Latin America.
The conflict is also notable for the use of guerrilla tactics, marking the beginning of modern guerrilla warfare, and for fostering the spirit of national liberation movements in Europe.
Who were the greatest generals of the Revolutionary and Napoleonic Wars?

Background and Causes of the Peninsular War
The roots of the Peninsular War lie in Napoleon’s ambitions to dominate Europe and expand French influence across the continent. By the early 1800s, France had emerged as a dominant power under Napoleon, and his empire stretched across much of Europe. However, Great Britain, which had superior naval power and remained outside Napoleon’s grasp, presented a major obstacle to his goals of continental hegemony. In an attempt to weaken Britain, Napoleon implemented the Continental System in 1806, a trade embargo aimed at crippling the British economy by closing European ports to British goods.
Portugal, historically an ally of Britain, refused to comply with the Continental System, which angered Napoleon. Seeking to punish Portugal and assert French control over the Iberian Peninsula, Napoleon struck a deal with Spain, where King Charles IV and his prime minister, Manuel Godoy, were eager to curry favor with the French. This led to the Treaty of Fontainebleau in 1807, which allowed French and Spanish troops to invade Portugal.

Image: A painting of Napoleon in his study.
Invasion of Portugal (1807)
In November 1807, French and Spanish forces began the joint invasion of Portugal, with the French commander General Jean-Andoche Junot leading the charge. The Portuguese royal family fled to Brazil, a Portuguese colony, with British assistance, avoiding capture. By early 1808, French forces had secured Lisbon and much of Portugal, seemingly fulfilling Napoleon’s immediate goals.
However, Napoleon’s ambitions went further than merely punishing Portugal. He saw an opportunity to extend his influence over Spain as well, where the political situation was unstable due to a rivalry between King Charles IV and his son, Ferdinand VII. Napoleon exploited this internal conflict by summoning the Spanish royal family to Bayonne, France, and forcing them to abdicate. In their place, he installed his brother, Joseph Bonaparte, as King of Spain in 1808.
The Spanish Revolt and Popular Resistance (1808)
Napoleon’s imposition of Joseph Bonaparte as King of Spain sparked widespread outrage across the country. The Spanish people, who viewed Joseph as an illegitimate ruler and a puppet of the French, rebelled. What started as localized uprisings soon turned into a full-scale national revolt. The rebellion marked the beginning of the Peninsular War, as Spain refused to submit to French control.
The Spanish resistance was fierce, and it took on two primary forms. First, there was the conventional warfare conducted by the Spanish army, although it was often outmatched by Napoleon’s experienced and well-equipped forces. Second, and perhaps more significant, was the rise of guerrilla warfare. Small, mobile groups of Spanish fighters, known as guerrilleros, carried out raids, ambushes, and sabotage against French supply lines, communication routes, and isolated units. These guerrilla tactics would come to define the war and significantly hinder French operations.
One of the first major Spanish victories came at the Battle of Bailén in July 1808, where a Spanish force under General Castaños defeated a French army led by General Dupont. This victory shocked Napoleon and gave the Spanish resistance a much-needed morale boost. It was also the first time a Napoleonic army had been defeated in an open-field battle, showing that the French were not invincible.

Image: A portrait of Manuel Godoy by Spanish artist Francisco Goya.
British Intervention and the Role of Portugal
While Spain was in open revolt against the French, Portugal remained under occupation. Britain, eager to support resistance to Napoleon, saw an opportunity to intervene directly. In August 1808, British forces under Sir Arthur Wellesley (later known as the Duke of Wellington) landed in Portugal. The British had already been aiding the Portuguese with supplies and naval support, but Wellesley’s arrival marked a new phase of active military involvement in the Peninsular War.
Wellesley’s forces, combined with Portuguese troops, won a key victory at the Battle of Vimeiro in August 1808, forcing the French to retreat. Shortly after, Junot signed the Convention of Sintra, allowing French troops to evacuate Portugal peacefully. This marked the liberation of Portugal, though the conflict on the Iberian Peninsula was far from over.
Napoleon’s Personal Involvement (1808-1809)
In response to the growing crisis in Spain, Napoleon himself entered the theater of war in late 1808. Taking command of a large force, Napoleon quickly reasserted French control over much of Spain. French forces won several key victories, including the capture of Madrid in December 1808. Napoleon’s military genius and the strength of his forces appeared overwhelming at this stage, and it seemed that he might be able to crush the Spanish resistance.
However, Napoleon could not remain in Spain indefinitely. With other fronts in Europe demanding his attention, particularly the looming threat of Austria, Napoleon left Spain in early 1809, leaving Marshal Jean-de-Dieu Soult and other trusted generals in command. This would prove a critical turning point, as the French army, without Napoleon’s leadership, struggled to maintain control.
The Long Struggle: 1809-1812
The years between 1809 and 1812 were characterized by a grinding, protracted conflict. Although the French held many of the major cities, they struggled to control the countryside, where guerrilla warfare raged. Spanish partisans attacked French garrisons and supply convoys, making it nearly impossible for the French to maintain their lines of communication. The constant harassment by guerrillas eroded French morale and tied down a significant portion of their forces.
Meanwhile, the British under Wellington continued their campaign in Portugal and launched incursions into Spain. One of the most significant battles during this period was the Battle of Talavera in July 1809. Although the battle was tactically inconclusive, it demonstrated Wellington’s ability to hold his own against superior French numbers.
In 1810, Marshal Masséna led a major French invasion of Portugal, but Wellington’s forces, along with Portuguese troops, successfully repelled the French during the Siege of Almeida and the Battle of Bussaco. Wellington’s use of the fortified Lines of Torres Vedras — a series of defensive fortifications constructed north of Lisbon — played a crucial role in stalling the French advance.
By 1811, the French were increasingly overstretched. The toll of fighting on multiple fronts and the economic strain caused by the Continental System began to take its toll on Napoleon’s empire. Wellington’s army, bolstered by reinforcements from Britain, slowly gained the upper hand. At the Battle of Fuentes de Oñoro in May 1811, Wellington dealt another blow to the French, marking the beginning of the end for French dominance in the peninsula.

Image: An illustration of the Battle of Talavera by British artist William Heat.
Turning the Tide: 1812-1813
In 1812, the strategic situation changed dramatically. Napoleon launched his ill-fated invasion of Russia, committing a vast portion of his army to the east. This weakened the French presence in Spain, providing Wellington and his allies with an opportunity to go on the offensive.
In July 1812, Wellington achieved a decisive victory at the Battle of Salamanca. The French forces under Marshal Marmont were decisively defeated, and this victory allowed Wellington to capture Madrid later that year. The tide of the war had shifted in favor of the allies.
The following year, in 1813, Wellington delivered another crushing blow to the French at the Battle of Vitoria. This battle effectively ended French control of Spain, as Joseph Bonaparte fled, and French forces retreated toward the Pyrenees. The victory at Vitoria paved the way for the final phase of the war.

The End of the War: 1813-1814
With French forces in retreat, Wellington pursued them across the Pyrenees, into southern France. The French army, led by Marshal Soult, attempted to resist, but they were exhausted, undersupplied, and demoralized after years of fighting. The winter of 1813-1814 saw a series of battles in southern France, including the Battles of the Nive and Orthez, where Wellington’s forces continued to push the French back.
By April 1814, Napoleon had been defeated in France by the Sixth Coalition, and he was forced to abdicate. The Peninsular War came to an end as the French withdrew from Spain and Portugal. On April 10, 1814, Wellington’s forces won their final battle at Toulouse, though by this time, the war was effectively over.
Guerrilla Warfare and the “Spanish Ulcer”
One of the defining characteristics of the Peninsular War was the widespread use of guerrilla tactics by the Spanish. Guerrilla warfare — a form of irregular combat involving small, mobile groups of fighters who harass a larger, more traditional army — was used to great effect by the Spanish partisans against the French. The term “guerrilla” itself comes from the Spanish word for “little war,” reflecting the nature of the fighting.
The guerrillas attacked French supply lines, communications, and isolated units, making it difficult for the French to consolidate their control over Spain. French soldiers, unused to this type of warfare, found themselves vulnerable in the countryside, where guerrillas could strike unexpectedly and then melt away into the population. The constant harassment and attrition of French forces severely weakened their ability to maintain order and supply their armies.
Napoleon himself referred to the Peninsular War as the “Spanish Ulcer,” acknowledging the toll it took on his empire. The war in Spain drained French resources and manpower, while also serving as a symbol of resistance to Napoleonic rule. It was a war that Napoleon had not anticipated would be so difficult to win, and it became a significant factor in the eventual collapse of his empire.

Political and Social Impact
The Peninsular War had profound political and social consequences for both Spain and Portugal. In Spain, the war led to the creation of the Spanish Constitution of 1812, which was promulgated by the Cortes of Cádiz, a national assembly that operated in opposition to French rule. The 1812 Constitution was one of the most progressive in Europe at the time, establishing principles of liberalism and constitutional monarchy, though it was short-lived as the return of Ferdinand VII in 1814 led to the restoration of absolute monarchy.
In Portugal, the war similarly left deep scars. The country had been devastated by years of French occupation and military campaigns. Following the war, Portugal faced political instability and economic hardship, as well as internal struggles between liberal and conservative factions.
Moreover, the Peninsular War had a significant impact on the colonies of Spain and Portugal in Latin America. The conflict weakened the ability of both countries to maintain control over their overseas territories, leading to a wave of independence movements throughout Latin America. These revolts, which gained momentum during and after the war, ultimately resulted in the independence of many Latin American nations in the early 19th century.
Questions and Answers: The Peninsular War

Below are some frequently asked questions about the Peninsular War:
When did the Peninsular War begin and what triggered it?
The war began in 1807 when French and Spanish armies invaded and occupied Portugal, using Spain as a route. The conflict escalated in 1808 when France, once an ally of Spain, occupied Spain and Napoleon Bonaparte forced the abdications of Spanish monarchs, replacing them with his brother Joseph Bonaparte.
Who did Napoleon Bonaparte place on the Spanish throne after the abdications of Ferdinand VII and Charles IV?
Napoleon Bonaparte installed his brother, Joseph Bonaparte, on the Spanish throne after forcing the abdications of Ferdinand VII and Charles IV.
How did the Spanish people react to Joseph Bonaparte’s rule and the Bayonne Constitution?
The Spanish people largely rejected French rule and Joseph Bonaparte’s installation, as well as the Bayonne Constitution. This led to widespread resistance and the outbreak of a brutal war aimed at driving out the French occupiers.
Why is the Peninsular War regarded as one of the first national liberation wars?
The Peninsular War is considered one of the first national liberation wars because it involved a large-scale, popular resistance to foreign occupation, notably through widespread guerrilla warfare, with the Spanish people fighting to regain control of their country.
What was significant about the Battle of Bailén in 1808?
The Battle of Bailén, fought in 1808, was significant because it marked the first time that the Napoleonic army was defeated in an open-field battle in Europe. The Spanish army in Andalusia secured this crucial victory against the French forces.
How did the British and Portuguese contribute to the war effort?
The British army, under the command of Arthur Wellesley (later Duke of Wellington), defended Portugal and fought against the French. The reformed Portuguese Army supported this effort, and the British also provided some supplies to the Spanish. Additionally, Spanish armies and guerrilla fighters played a critical role in tying down Napoleon’s forces.
What turning point occurred in 1812 that shifted the momentum of the war?
In 1812, Napoleon’s invasion of Russia diverted French resources, allowing Allied forces—comprising British, Spanish, and Portuguese troops—to defeat the French at the Battle of Salamanca. This victory enabled them to retake the Spanish capital, Madrid.
What was the outcome of the Battle of Vitoria in 1813?
The Battle of Vitoria in 1813 was a major victory for the Coalition forces. It significantly weakened French control over the Iberian Peninsula, paving the way for an Allied triumph in the Peninsular War.
How did Marshal Jean-de-Dieu Soult lead the French forces during the final stages of the war?
Marshal Jean-de-Dieu Soult, with minimal support from a depleted France, led the French army in a fighting retreat across the Pyrenees in the winter of 1813-1814. The French were heavily outnumbered and demoralized by persistent attacks from the Allied forces.
What role did guerrilla warfare play in the French defeat?
Guerrilla warfare played a crucial role in the French defeat, as Spanish partisans continually harassed and ambushed French units. These tactics isolated French forces, disrupted their supply lines, and demoralized their troops, contributing to their eventual downfall.
Why did Napoleon refer to the Peninsular War as the “Spanish Ulcer”?
Napoleon referred to the Peninsular War as the “Spanish Ulcer” because the conflict became a long, draining struggle for France, sapping resources and manpower, and ultimately proving impossible to decisively win.
What was the significance of the Spanish Constitution of 1812?
The Spanish Constitution of 1812, enacted by the Cortes of Cádiz, was a key development in European liberalism. It established constitutional reforms and laid the foundation for future liberal movements in Spain and across Europe.
What was the social and economic impact of the war on Portugal and Spain?
The Peninsular War left both Portugal and Spain socially and economically devastated. The war destroyed much of their social and economic infrastructure, leading to political instability, social unrest, and economic stagnation in the years that followed.
What internal conflicts arose in Spain and Portugal after the war?
After the war, both Spain and Portugal faced internal conflicts between liberal and absolutist factions. These struggles led to revolts in Latin America, contributing to the broader wave of independence movements and political instability across their empires.
How did the Peninsular War influence Latin American revolts?
The instability and internal conflicts in Spain and Portugal following the Peninsular War contributed to revolts in Latin America, as colonies sought to take advantage of the weakened Iberian powers to pursue their own independence.
Michel Ney: The French Military Commander Described by Napoleon as “the Bravest of the Brave”