Portuguese Restoration War
The Portuguese Restoration War (Portuguese: Guerra da Restauração) was the name given by nineteenth-century 'romantic' historians to the war between Portugal and Spain that began with the Portuguese revolution of 1640 and ended with the Treaty of Lisbon (1668). The revolution of 1640 ended the sixty-year period of dual monarchy in Portugal and Spain under the Spanish Habsburgs. The period from 1640 to 1668 was marked by periodic skirmishes between Portugal and Spain, as well as short episodes of more serious warfare, much of it occasioned by Spanish and Portuguese entanglements with non-Iberian powers.
In the seventeenth century and afterwards, this period of sporadic conflict was simply known, in Portugal and elsewhere, as the Acclamation War. The war established the sovereignty of Portugal's new ruling dynasty, the House of Braganza, by deposing a foreign king, Philip IV of Spain, and acclaiming another one, João IV of Portugal, who was more legitimate and suitable to the Portuguese. This ended the so-called Iberian Union.