Kingdom of Portugal
After the Portuguese Restoration War of 1640–1668, the kingdom passed to the House of Braganza and thereafter to the House of Braganza-Saxe-Coburg and Gotha. From this time, the influence of Portugal declined, but it remained a major power due to its most valuable colony, Brazil. After the independence of Brazil, Portugal sought to establish itself in Africa, but was ultimately forced to yield to the British interests, leading to the collapse of the monarchy in the 5 October 1910 revolution and the establishment of the First Portuguese Republic.
Portuguese succession crisis of 1580
On July 24, 1580, António proclaimed himself King of Portugal in Santarém, followed by acclamation in several locations throughout the country; his domestic government lasted for 20 days, until he was defeated in the Battle of Alcântara by Habsburg armies led by the Duke of Alba. After the fall of Lisbon, he purported to rule the country from Terceira Island, in the Azores, where he established a government in exile until 1583; António even had coins minted—a typical assertion of sovereignty and royalty. Some authors consider him the last monarch of the House of Aviz (instead of Cardinal-King Henry) and the 18th King of Portugal. His government in Terceira island was only recognized in the Azores, whereas on the continent and in the Madeira Islands power was exercised by Philip II, who was acclaimed king in 1580 as Philip I of Portugal and recognized as official king by the Cortes of Tomar in 1581. The new king's election was carried on condition that the kingdom and its overseas territories should remain separate from Spain and keep their own laws and Cortes.