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.
Pedro I of Brazil
A few months later, the Emperor received word that his father had died on 10 March 1826, and that he had succeeded his father on the Portuguese throne as King Dom Pedro IV. Aware that a reunion of Brazil and Portugal would be unacceptable to the people of both nations, he hastily abdicated the crown of Portugal on 2 May in favor of his eldest daughter, who became Queen Dona Maria II. His abdication was conditional: Portugal was required to accept the Constitution which he had drafted and Maria II was to marry his brother Miguel. Regardless of the abdication, Pedro I continued to act as an absentee king of Portugal and interceded in its diplomatic matters, as well as in internal affairs, such as making appointments. He found it difficult, at the very least, to keep his position as Brazilian emperor separate from his obligations to protect his daughter's interests in Portugal.