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.
Portugal in the Middle Ages
This process was essentially complete with the ascension of Afonso III of Portugal, the first to claim the title of "King of Portugal and the Algarve". The history of Portugal in the period between the death of Afonso III in 1279 and the beginning of the Portuguese Empire in 1415 includes the 1383–1385 Portuguese interregnum and the subsequent transition from the Portuguese House of Burgundy to the House of Aviz.