He fought in the Third Carlist War and was stationed in Melilla and Cuba during the Spanish-American War, where he was promoted to Major General.