Because Spain was virtually cut off from its colonies during the
Peninsular War of 1808–1814, Latin America was, in these years, ruled by independent
juntas. These provisional governments claimed allegiance to the Bourbon king in exile,
Ferdinand VII, but in practice operated independently.
See more at Wikipedia.org...