As the new Emperor

As the new Emperor could not exert his constitutional powers until he came of age, a regency was set up by the National Assembly.[95] In the absence of a charismatic figure who could represent a moderate face of power, during this period a series of localized rebellions
took place, such as the Cabanagem in Grão-Pará Province, the Malê Revolt in Salvador da Bahia, the Balaiada (Maranhão), the Sabinada (Bahia), and the Ragamuffin War, which began in Rio Grande do Sul and was supported by Giuseppe Garibaldi. These emerged from the dissatisfaction of the provinces with the central power, coupled with old and latent social tensions peculiar to a vast,
slaveholding and newly independent nation state.[96] This period of internal political and social upheaval, which included the Praieira revolt in Pernambuco, was overcome only at the end of the 1840s, years after the end of the regency, which occurred with the premature coronation of Pedro II in 1841.[97]
During the last phase of the monarchy, internal political debate centered on the issue of slavery. The Atlantic slave trade was abandoned in 1850,[98] as a result of the British Aberdeen Act, but only in May 1888 after a long process of internal mobilization and debate for an ethical and legal dismantling of slavery in the country, was the institution formally abolished.[99]