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.
Secret Convention on the Transfer of the Portuguese monarchy to Brazil
The Secret Convention on the Transfer of the Portuguese monarchy to Brazil was an international treaty between Portugal and Britain on October 22, 1807, also called "secret Convention on the transfer to Brazil of the seat of the Portuguese monarchy and temporary occupation of Madeira Island by British troops. " It was signed in London, taking place in the context of the Napoleonic wars. More specifically, it was agreed a few days before the first invasion of Portugal in the Peninsular War, when the Napoleonic troops were already approached the Portuguese borders through Spanish territory. Later, the Portuguese aspirations became reality with the support of the British navy during the transfer of the Portuguese court to Brazil, and Portugal complied to the British requirements by opening the Brazilian ports to their goods.