As the new Emperor could not exert his constitutional powers until he became of age, a regency was set up by the National Assembly. 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, as the Cabanagem, the Malê Revolt, the Balaiada, the Sabinada, and the Ragamuffin War, which emerged from the dissatisfaction of the provinces with the central power, coupled with old and latent social tensions peculiar of a vast, slaveholding and newly independent nation state. This period of internal political and social upheaval, which included the Praieira revolt, 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.