The legacy of Pedro II of Brazil became apparent soon after his death. Emperor Pedro II was the second and last monarch of the Empire of Brazil, whose long 58-year reign (1831–1889) represented a time of remarkable prosperity and progress for his country. Despite his achievements, he was deposed in a coup by disgruntled republicans, though there was no desire for a change in the form of government among the majority of the Brazilian people.