From 1898 to 1902, the United States waged a bloody war in the Philippines. Filipinos wanted independence from centuries of Spanish colonial rule. U.S. leaders, however, saw the opportunity to control the Philippines and gain access to markets in Asia.