when the united states captured the philippines from spain
The war officially ended four months later, when the U.S. and Spanish governments signed the Treaty of Paris on December 10, 1898. Apart from guaranteeing the independence of Cuba, the treaty also forced Spain to cede Guam and Puerto Rico to the United States. Spain also agreed to sell the Philippines to the United States for the sum of $20 million. The U.S. Senate ratified the treaty on February 6, 1899, by a margin of only one vote. The McKinley Administration also used the war as a pretext to annex the independent state of Hawaii.