Emperor at the age of 14, D. Pedro II remained in power for decades. But he was dethroned because of the dissatisfaction of three major groups in society. Finally, a coup took him out of power, leaving him to leave the country he loved.