Founded by Pedro of Braganza, until then Prince Royal of the United Kingdom of Portugal, Brazil and the Algarves, member of the House of Braganza, heir apparent to the Portuguese throne and the King's representative in the Kingdom of Brazil as Prince Regent, the Imperial House of Brazil was sovereign from 7 September 1822, when Prince Pedro proclaimed the independence of the Kingdom of Brazil from the United Kingdom of Portugal, Brazil and the Algarves and was subsequently acclaimed as Emperor of Brazil on 12 October that same year until 15 November 1889, when a military coup d'état took place and the proclamation of the Brazilian republic overthrew the monarchy.