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.
History of colonialism
Brazil was the only country in Latin America to gain its independence without bloodshed. The invasion of Portugal by Napoleon in 1808 had forced King João VI to escape to Brazil and establish his court in Rio de Janeiro. For thirteen years, Portugal was ruled from Brazil (the only instance of such a reversal of roles between colony and metropole) until his return to Portugal in 1821. His son, Dom Pedro, was left in charge of Brazil and in 1822 he declared independence from Portugal and himself the Emperor of Brazil. Unlike Spain's former colonies which had abandoned the monarchy in favour of republicanism, Brazil therefore retained its links with its monarchy, the House of Braganza.