sentences:  The base was expanded during the Mexican–American War, with the construction of Fort Zachary Taylor and other fortifications in the Key West area commencing in 1845 and continuing through to its completion in 1866.The base also figured prominently during the Spanish–American War.In 1898, the battleship "Maine" sailed from Key West to Havana, Cuba, where it later exploded while at anchor and sank.