History of Portugal (1834–1910)
Militant Republicans and their allies in the Carbonária were not willing to remain in the shadows of the constitutional monarchy. Between 4–5 October 1910, members of the Carbonária, republican youth, and elements of the army instigated a coup d'état against the already weak constitutional monarchy. The young king and his family, after a few miscues, escaped from the Palace in Mafra to exile in England. On the morning of 5 October 1910, the Republic was declared from the balcony of Lisbon City Hall, ending eight centuries of monarchy in Portugal.
History of Portugal
Portugal traces its national origin to 24 June 1128, the date of the Battle of São Mamede. Afonso proclaimed himself "Prince of Portugal" after this battle and in 1139, he assumed the title "King of Portugal". In 1143, the Kingdom of León recognised him as King of Portugal by the Treaty of Zamora. In 1179, the papal bull Manifestis Probatum of Pope Alexander III officially recognised Afonso I as king. After the Battle of São Mamede, the first capital of Portugal was Guimarães, from which the first king ruled. Later, when Portugal was already officially independent, he ruled from Coimbra.