1. Peninsular War (1807-1814): This war took place during the Napoleonic Wars when France invaded the Iberian Peninsula. Spain and Portugal allied with Britain to resist the French occupation, and the war resulted in the eventual expulsion of French forces.
2. Portuguese Succession Crisis (1383-1385): Following the death of King Fernando I of Portugal without a male heir, a succession crisis arose between his daughter, Beatrice, and her husband, King Juan I of Castile. This led to a war between Portugal and Castile, resulting in the victory of Portugal and the establishment of the House of Aviz on the Portuguese throne.
3. War of the Spanish Succession (1702-1715): This war was primarily a European conflict over who should succeed the childless King Carlos II of Spain. Both Spain and Portugal were involved, with Portugal supporting the Austrian Habsburg claimant, Archduke Charles, while Spain backed the French Bourbon claimant, Philip of Anjou. The war eventually resulted in the Treaty of Utrecht, which confirmed Philip as King of Spain but gave significant territorial concessions to Portugal.
4. Seven Years' War (1756-1763): Portugal participated in the Seven Years' War as an ally of Britain, while Spain fought on the side of France. The conflict extended to the Iberian Peninsula, with skirmishes and battles taking place between Portuguese and Spanish forces in the region.
These conflicts represent some of the major instances of warfare between Spain and Portugal. While the two countries have a shared history and cultural similarities, they have also experienced periods of tension and conflict throughout their respective histories.