what are the established years of spanish occupancy of the philippines
1521 to 1898
title: Spanish Filipino text: with the arrival in 1521 of European explorer Ferdinand Magellan sailing for Spain, which heralded the period when the Philippines was an overseas province of Spain, and ends with the outbreak of the Spanish–American War in 1898. The Spanish East Indies ("") were the Spanish territories in Asia-Pacific from 1565 until 1899. They comprised the Philippine Islands, Guam and the Mariana Islands, the Caroline Islands (Palau and the Federated States of Micronesia), and for some time parts of Formosa (Taiwan) and the Moluccas (Indonesia). Cebu was the first seat of government, later transferred to Manila. From 1565 to 1821 these title: History of the Philippines text: Legazpi's expedition on February 13, 1565 from Mexico. He established the first permanent settlement in Cebu. Much of the archipelago came under Spanish rule, creating the first unified political structure known as the Philippines. Spanish colonial rule saw the introduction of Christianity, the code of law and the oldest modern university in Asia. The Philippines was ruled under the Mexico-based Viceroyalty of New Spain. After which, the colony was directly governed by Spain. Spanish rule ended in 1898 with Spain's defeat in the Spanish–American War. The Philippines then became a territory of the United States. U.S forces suppressed a Philippine title: Filipino people of Spanish ancestry text: Filipino people of Spanish ancestry Spanish settlement in the Philippines first took place in the 16th century, during the Spanish colonial period of the islands. The conquistador Miguel López de Legazpi founded the first Spanish settlement in Cebu in 1565 and later established Manila as the capital of the Spanish East Indies in 1571. The Philippine Islands is named after King Philip II of Spain and it became a territory of the Viceroyalty of New Spain which was governed from Mexico City until the 19th century, when Mexico obtained independence. From 1821, the Philippine Islands were ruled directly from Madrid, title: History of the Philippines (1521–1898) text: History of the Philippines (1521–1898) The history of the Philippines from 1521 to 1898, also known as the Spanish colonial period, a period that spans during the Captaincy General of the Philippines located in the collection of Islands in Southeast Asia that was colonized by Spain known as 'Las Islas Filipinas', under New Spain until Mexican independence which gave Madrid direct control over the area. It was also known as Spanish East Indies to the colonialist. It started with the arrival in 1521 of European explorer Ferdinand Magellan sailing for Spain, which heralded the period when the Philippines was a title: Spanish language in the Philippines text: Spanish language in the Philippines Spanish was the official language of the Philippines from the beginning of Spanish rule in the late 16th century, through the conclusion of the Spanish–American War in 1898. It remained, along with English, as co-official language until 1987. It was at first removed in 1973 by a constitutional change, but after a few months it was re-designated an official language by presidential decree and remained official until 1987, with the present Constitution re-designating it instead as an "optional and voluntary language". Philippine Spanish () is a variant of standard Spanish, spoken in the Philippines by