Spanish colonization of the Americas were predominantly "criollos" (Americas-born people of European ancestry, mostly Spanish or Portuguese), bourgeois and influenced by liberalism and in some cases with military training in the mother country. In 1809 the first declarations of independence from Spanish rule occurred in the Viceroyalty of New Granada. The first two were in present-day Bolivia at Sucre (May 25), and La Paz (July 16); and the third in present-day Ecuador at Quito (August 10). In 1810 Mexico declared independence, with the Mexican War of Independence following for over a decade. In 1821 Treaty of Córdoba established Mexican independence from Spain and concluded the
Rancho Santiago de Santa Ana County given under Spanish Rule which were rare during this time. This was only two and a half months before the start of the war for Mexican Independence (1810-1821). The surrounding land grants or ranchos were granted by the Mexican government after Mexican independence in 1821. José Antonio Yorba built an elaborate adobe hacienda, El Refugio (the Refuge), located near present-day First and Sullivan Streets in western Santa Ana. With the Mexican Cession of California to the United States following the Mexican-American War, the 1848 Treaty of Guadalupe Hidalgo provided that the land grants would be honored. As required by