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.
Kingdom of Portugal
The Kingdom of Portugal finds its origins in the County of Portugal (1093–1139). The Portuguese County was a semi-autonomous county of the Kingdom of León. Independence from León took place in three stages:Once Portugal was independent, D. Afonso I's descendants, members of the Portuguese House of Burgundy, would rule Portugal until 1383. Even after the change in royal houses, all the monarchs of Portugal were descended from Afonso I, one way or another, through both legitimate and illegitimate links.