<human>:  When did the Battle of Guantánamo Bay take place?
<bot>: The Battle of Guantánamo Bay took place in 1898. The United States declared war on Spain on April 25, 1898. The Spanish–American War began on April 25, 1898, when the U.S. Navy blockaded Cuba, and the U.S. Army invaded Cuba. The U.S. Navy also attacked the Philippines and Puerto Rico. The war ended with the Treaty of Paris on December 10, 1898.