A wave of independence movements liberated most of Latin America from Spanish and Portuguese colonial rule, beginning with Haiti's revolution (1804, the world's only successful slave revolt) and ending with the independence of mainland Spanish colonies by 1830.