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.
List of national monuments of Portugal
Meanwhile, Portugal became a county of the Kingdom of León and briefly during the independence of the Kingdom of Galicia in the 1060s and 1070s. It became an autonomous dominion of the Kingdom of León in 1128, emerging as a fully independent kingdom in 1139, officially recognized by the Treaty of Zamora in 1143. After this period, and with the rise of the Portuguese state after the beginning of the Age of Discovery, Portuguese architecture expanded under the patronage of the wealthy kings, nobility, powerful clergy and through the many battles with rivals such as Castile, the French and Dutch. During these periods, many of the prominent buildings were destroyed, rebuilt, re-purposed and closed on the whims of the monarchy, which progressively used architectural projects to support their power, remember past glories or expand their position in the Iberian peninsula.