During the insurgence war conducted by Miranda, Bolívar was promoted to colonel and was made commandant of Puerto Cabello the following year, 1812.