十年战争
By 1868, with the outbreak of the Ten Years' War, Castellanos already held the rank of captain. During the war, he assisted in military actions within the Central Department, the largest of the three regions into which the island was divided.