The Spanish–American War was fought between the United States and Spain in 1898. Hostilities began in the aftermath of the internal explosion of the USS Maine in Havana Harbor in Cuba.
American acquisition of Spain's Pacific possessions led to its involvement in the Phillippine Revolution and ultimately in the Phillippine-American War.
The main issue was Cuban independence.
Revolts had been occurring for some years in Cuba against Spanish rule.
The U.S. later backed these revolts upon entering the Spanish–American War.
There had been war scares before, as in the Virginius Affair in 1873, but in the late 1890s, U.S. public opinion was agitated by anti-Spanish propaganda led by newspaper publishers such as Joseph Pulitzer and William Randolph Hearst which used yellow journalism to call for war.