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.
Palace of Mafra
The last king of Portugal, Manuel II, following the proclamation of the republic, left on 5 October 1910 from the palace to the nearby coastal village of Ericeira on his way to exile. The palace was declared a national monument in 1907. At present, the building is conserved by the Portuguese Institute of the Architectonic Patrimony, which carried out several recovery programs, including the conservation of the main façade. A major restoration of the historical pipe organs began in 1998 with the collaboration of foreign experts and was finished in 2010. The restoration won the Europa Nostra 2012 award.