Conversation so far:
when did the spanish go to the philippines
The history of the Philippines from 1565 to 1898, also known as the Spanish colonial period, was the period during which the Philippines were part of the Spanish Empire.

Question: how did the colonial period end
Self-contained rewrite: how did the spanish colonial period in the Philippines end