When did Spain occupy the Philippines?
History of the Philippines (1521–1898)
The history of the Philippines from 1521 to 1898, also known as the Spanish colonial period, was a period during which Spain controlled the Philippine islands as the Captaincy General of the Philippines, initially under New Spain until Mexican independence in 1821, which gave Madrid direct control over the area. It was also known as Spanish East Indies to the colonialists. It 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 Philippine Revolution in 1898, which marked the beginning of the American colonial era of Philippine history.
Filipino nationalism
In the years before the 11th century, the Philippines was divided into numerous principalities known as barangays, a name derived from Malayan boats called balangays. These small political units were ruled by datus, rajahs or sultans. In 1565, European colonization began in earnest when Spanish explorer Miguel López de Legazpi arrived from Mexico and formed the first European settlements in Cebu. Beginning with just five ships and five hundred men accompanied by Augustinian monks, and further strengthened in 1567 by two hundred soldiers, he was able to repel competing Portuguese colonizers and to create the foundations for the Spanish colonization of the Archipelago. In 1571, the Spanish occupied the kingdoms of Maynila and Tondo and established Manila as the capital of the Spanish East Indies. This Spanish colonization united the Philippine archipelago into a single political entity.