The United States acquired control over Puerto Rico following the Spanish-American War in 1898 as part of the Treaty of Paris which ended the war. In this treaty negotiated between Spain and the United States the last remaining territories of the Spanish Empire were either granted independence (the case of Cuba) or were ceded over to American control (the case of the Phillippines, Guam and Puerto Rico).