query: Did the Spanish invade the Philippines?
passage: 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.
passage: Andrew Summers Rowan
By defeating Spain, the U.S. acquired a number of colonies, including the Philippine archipelago. The Filipinos, thinking the U.S. was freeing them from the Spanish, didn’t care to be ruled by yet another foreign power. They resisted U.S. control, and thus began the Philippine War (1899 – 1902), in which (now) Captain Andrew S. Rowan was to take part as commander of the First Battalion of the 19th Infantry Regiment. He was sent to the island of Cebu where he was assigned the subdistrict of Bogo. During this period he was involved in various expeditions and engagements with local insurgents, suffering a wound during one action.