As a result of the Napoleonic Wars , the British Empire rose in power , beginning the historical period known as what ?
As this process led to open conflicts between " independentists " and " loyalists " , the Spanish American Independence Wars immediately ensued ; resulting , by the 1820s , in the definitive loss for the Spanish Empire of all its American territories , with the exception of Cuba and Puerto Rico .