The Spanish-American War was fought in Cuba. At the end of the short war, Cuba was given its independence, while power over several other Spanish territories was ceded to the United States.
In April 1898, U.S. President William McKinley demanded that Spain give up Cuba, which was fighting for its freedom. When the Spanish refused, the U.S. Congress declared war. Invading at Guantanamo Bay and Santiago, U.S. forces took less than two weeks to defeat the Spanish garrisons and destroy their ships in the harbors. Spain surrendered, and in December the Treaty of Paris ceded Cuba's freedom, gave the United States Puerto Rico and Guam, and sold the Philippines to the United States for the bargain price of $20 million.