when did the spanish go to the philippines
History of the Philippines (1521–1898) The history of the Philippines from 1521 to 1898, also known as the Spanish Colonial Period, started 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.
Treaty of Zaragoza Under the treaty, Portugal gained control of all lands and seas west of the line, including all of Asia and its neighbouring islands so far "discovered", leaving Spain with most of the Pacific Ocean. Although the Philippines was not mentioned in the treaty, Spain implicitly relinquished any claim to it because it was well west of the line. Nevertheless, by 1542, King Charles V had decided to colonise the Philippines, assuming that Portugal would not protest too vigorously because the archipelago had no spices. Although he failed in his attempt, King Philip II succeeded in 1565, establishing the initial Spanish trading post at Manila. As his father had expected, there was little opposition from the Portuguese.