The sinking of the U.S.S. Maine in 1898 ignited American public opinion against Spain, allowing the U.S. government to take over Cuba.