In 1808, world history took a decisive turn when Napoleon occupied Spain and Portugal, a European event that had lasting repercussions more than half the world away, sparking a series of revolutions throughout the Spanish and Portuguese empires of the New World. These wars for independence resulted eventually in the creation of nineteen independent Latin American republics.