 Complete the following phrase:  Destined to Cuba, he enlisted to join the expeditionary division led by General Prim in Mexico in 1862, although he ended up staying in Cuba. He was later destined to Santo Domingo, and took part in the attack and occupation of Santiago de los Caballeros, retreat from Puerto Plata, and military operations in San Cristóbal, Baní and Azúa, assault and defence of Monte Christi and other, earning the rank of captain. He worked as lecturer of Geometry and Topography at the Havana Military Academy, and, when the broke out, kickstarting the 