The year 1898 saw the 24th Infantry deployed to Cuba as part of the U.S. Expeditionary Force in the Spanish–American War. Elements of the 24th participated in the storming of the Spanish fortress in the Battle of El Caney. At the climactic Battle of San Juan Hill under the command of Emerson H. Liscum, supported by intensive fire from the Gatling Gun Detachment, units of the 24th Infantry accompanied by elements of the 6th and 13th Infantry Regiments, assaulted and seized the Spanish-held blockhouse and trench system atop San Juan Hill.