 He enlisted in the revolutionary army of General Simón Bolívar as a teenager.He fought in several battles, and in the battle of Cuchilla del Tambo he was captured by the Spanish forces.He was court-martialed and sentenced to death by the military court.