The correct answer is the Philippines!
The Philippines were a Spanish colony between 1521 and 1898- over three hundred years.
After 1898 when Spain lost control of the Philippines, the country however did not become independent but became a colony of the US