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
Afro-Mexicans in the Mexican War of Independence majority of them still is linked to agricultural economic activities. The war of independence was precipitated by events in Europe, specifically a failed coup against the viceroy Joseph Bonaparte. This encouraged small groups of rebels to take up arms against colonial rule. In September 1810, peasants and indigenous inhabitants of Dolores (Guanajuato) were called to action by the secular Catholic priest Miguel Hidalgo y Costilla, former rector of the Colegio de San Nicolás Obispo. People of color were able to see that their independence was worth putting up a fight for it. However, Hidalgo was defeated. José Maria Morelos y