In 1898, he returned to the 7th Infantry for service in Cuba during the Spanish–American War, and took part in the battles of El Caney and San Juan Hill.