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
Antonio López de Santa Anna enough to send him to school. In June 1810, the 16-year-old Santa Anna joined the Fijo de Veracruz infantry regiment as a cadet against the wishes of his parents, who wanted him to pursue a career in commerce. In September 1810, secular cleric Miguel Hidalgo y Costilla rebelled against Spanish rule, sparking a spontaneous mass movement in Mexico's rich agricultural area, the Bajío. The Mexican War of Independence was to last until 1821, and Santa Anna, like most creole military men, fought for the crown against the mixed-raced insurgents for independence. Santa Anna's commanding officer was José Joaquín de Arredondo,