Answer:
Independence from Spain came suddenly for most of Latin America. Between 1810 and 1825, most of Spain's former colonies had declared and won independence and had divided up into republics. ... Napoleon, seeking to expand his empire, attacked and defeated Spain, and he put his elder brother Joseph on the Spanish throne.