On April 20, Congress adopted a resolution declaring war against Spain. A peace protocol ended hostilities on August 12, 1898. Under the peace treaty signed at Paris on December 10, 1898, Spain relinquished title to Cuba, and ceded Puerto Rico, Guam, and the Phillippines to the United States.
(No idea if this gave you the right answer but-)