Brazil was a monarchy until Crown Princess Isabel signed a law emancipating all slaves in Brazil in 1888. This move was so unpopular among the rich plantation owners that the imperial family was deposed in a military coup.