As a military, he fought in the Battle of Vargas Swamp near Bonza and the Battle of Boyacá.