The Spanish controlled the Philippines for centuries.
the Mexico-based Viceroyalty of New Spain ruled the Philippines. After this rule, the colony was directly governed by Spain. Spanish rule ended in 1898 with Spain's defeat in the Spanish–American War. Thus, the Philipine became a territory of the Unites States.
The Philippines, officially the Republic of the Philippines is an archipelagic country in Southeast Asia.