Spurred by Enlightenment ideas and discontent with colonial rule, peoples in Latin America fought for independence in the early 1800s. Haiti was the first Latin American territory to gain independence in 1804 after Toussaint L'Ouverture led a successful slave revolt against the French. Wealthy Creole leaders like Simón Bolívar and José de San Martín led revolutionary armies that helped drive out Spanish forces and establish independent nations across Latin America. By the 1830s, most Latin American regions had won independence from colonial powers like Spain and Portugal.