found this on google hope it helps
Puerto Rico, Guam, and the Philippines (for which the United States compensated Spain $20 million, equivalent to $602 million in present-day terms), were ceded by Spain after the Spanish–American War in the 1898 Treaty of Paris.