The epic history of the Philippines spans thousands of years, beginning with the arrival of the first humans to the islands over 30,000 years ago. Over time, various waves of migration and colonization have shaped the Philippines' unique culture and identity. One of the most significant influences on the Philippines was the arrival of the Spanish in the 16th century, which led to centuries of colonization and forced conversion to Christianity. The Philippines gained independence from Spain in 1898 but was subsequently colonized by the United States until 1946. During World War II, the Philippines became a key battleground, with the Japanese occupying the country for several years. The Philippines finally achieved full independence from the United States in 1946 and has since experienced significant political, social, and economic changes.