The Spanish–American War was fought between Spain and the United States in 1898. It began with the sinking of the USS Maine in Havana Harbor in Cuba, and resulted in the U.S. acquiring sovereignty over Puerto Rico, Guam, and the Philippines, and establishing a protectorate over Cuba.