At the start of the Spanish–American War, First Lieutenant Pershing was offered a brevet rank and commissioned a major of volunteers on August 26, 1898. He fought with the 10th Cavalry (Buffalo Soldiers) on Kettle and San Juan Hills in Cuba and was cited for gallantry.