The decolonization of the Americas was the process by which the countries in the Americas gained their independence from European rule. When did the wars against Spanish rule occur