History of the Philippines (1521–1898) Castilla". Legazpi became the country's first governor-general. With time, Cebu's importance fell as power shifted north to Luzon. The archipelago was Spain's outpost in the orient and Manila became the capital of the entire Spanish East Indies. The colony was administered through the Viceroyalty of New Spain (now Mexico) until 1821 when Mexico achieved independence from Spain. After 1821, the colony was governed directly from Spain. During most of the colonial period, the Philippine economy depended on the Galleon Trade which was inaugurated in 1565 between Manila and Acapulco, Mexico. Trade between Spain and the Philippines was via the Pacific
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