<Tr> <Td> <Ul> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> </Td> </Tr> <Ul> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> <P> The history of the Philippines from 1521 to 1898, also known as the Spanish Colonial Period, began with the arrival in 1521 of European explorer Ferdinand Magellan sailing for Spain, which heralded the period when the Philippines was a colony of the Spanish Empire, and ended with the outbreak of the Spanish--American War in 1898, which marked the beginning of the American Colonial Era of Philippine history . </P> <P> Although the archipelago may have been visited before by the Portuguese (who conquered Malacca City in 1511 and reached Maluku Islands in 1512), the earliest documented European expedition to the Philippines was that led by Ferdinand Magellan, in the service of the king of Spain . The expedition first sighted the mountains of </P>

What are the established years of spanish occupancy of the philippines