Since the transfer of the Portuguese court to Brazil in 1808, colonial rule had de facto ended.The next year, 20 March 1816, John succeeded his mother as king of the united Luso-Brazilian monarchy.He was later succeeded on 7 April 1831 by his son Pedro II, deposed along with the 74-years-old monarchy on 15 November 1889 in a bloodless and unpopular military coup d'état.It's worth noting that from a short period of time, between 15 November 1825 and 10 March 1826, according to the Treaty of Rio de Janeiro, by which Portugal recognized Brazilian independence, it was granted to King John VI the courtesy title of Emperor of Brazil, while his son was the actual reigning emperor.From the treaty's date to his death John VI used the title: By the Grace of God, John VI, Emperor of Brazil, King of Portugal and the Algarves, of either side of the sea in Africa, Lord of Guinea and of Conquest, Navigation and Commerce of Ethiopia, Arabia, Persia and India, etc.