History of California before 1900 decade and a half, the colony came to rely upon trade with Anglo-Americans and Spanish-Americans from Lima and San Blas for economic survival and political news. The victory in the Mexican War of Independence from Spain in 1821 marked the beginning of Mexican rule in California, in theory, though in practice Mexico did not exert control until 1825. The Indian congregations at missions and the missionaries provided the critical source of products that underlay export revenues for the entire colony between 1810 and 1825. Converting new Indians faded, while ranching and trade increased. As the successor state to the Viceroyalty
Latin American wars of independence movement against their colonial master, finally ended as a full-fledged civil war. Traditionally, the process is divided into three stages: Patria Vieja, Reconquista, and Patria Nueva. The first uprising against Spanish rule took place in 1809, and criollos in Ecuador set up a junta on September 22, 1810 to rule in the name of the Bourbon monarch; but as elsewhere, it allowed assertion of their own power. Only in 1822 did Ecuador fully gain independence and became part of Gran Colombia, from which it withdrew in 1830. At the Battle of Pichincha, near present-day Quito, Ecuador on May 24, 1822,