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.
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.