Answer:
The Spanish American wars of independence were the numerous wars against Spanish rule in Spanish America during the early 19th century. With the aim of political independence, these began shortly after the French invasion of Spain in 1807 during Europe's Napoleonic Wars. Although there has been research on the idea of a separate Spanish American ("creole") identity separate from that of Iberia,[4] political independence was not initially the aim of most Spanish Americans, nor was it necessarily inevitable.[5] With the restoration of Ferdinand VII in 1814, the King rejected any type of popular sovereignty, as seen in the Spanish Constitution of 1812 passed by the Cortes of Cádiz – the parliamentary Regency in place while Ferdinand VII was deposed. The Liberal Triennium of 1820 also did not change the position of the Cádiz constitution against separatism, while Latin Americans were increasingly radicalized seeking political independence.[6]