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
Decolonization of the Americas further wars were fought, such as the Paraguayan War and the War of the Pacific. A related process took place in what is now Mexico, Central America, and parts of North America between 1810 and 1821 with the Mexican War of Independence. Independence was achieved in 1821 by a coalition uniting under Agustín de Iturbide and the Army of the Three Guarantees. Unity was maintained for a short period under the First Mexican Empire, but within a decade the region fought against the United States over the border lands (losing bordering lands of California and Texas). Most of the heat