Chilean War of Independence
He began later his military career during the Chilean War of Independence and participated in several battles and he replaced Bernardo O'Higgins in some occasions.