 It begins 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).