Philippine revolutionaries declared independence from Spain on June 12, 1898, but Spain ceded the islands to the United States for million in the Treaty of Paris on December 10, 1898 which eventually led to the Philippine–American War.
The capital city of the Philippines is Manila and the most populous city is Quezon City, both part of Metro Manila.
The Philippines' location on the Pacific Ring of Fire and close to the equator makes the Philippines prone to earthquakes and typhoons, but also endows it with abundant natural resources and some of the world's greatest biodiversity.
The Philippines has an area of approximately 300,000 square kilometers (115,831 sq mi), It is the seventh-most populated country in Asia and the 12th most populated country in the world.
An additional 12 million Filipinos live overseas, comprising one of the world's largest diasporas.
Multiple ethnicities and cultures are found throughout the islands.
In prehistoric times, Negritos were some of the archipelago's earliest inhabitants.
They were followed by successive waves of Austronesian peoples.
Exchanges with Chinese, Malay, Indian, and Islamic states occurred.
Then, various nations were established under the rule of Datus, Rajahs, Sultans or Lakans.