 He dedicated himself to study, first at the convent school in Guatemala City and then in the law school at the Royal and Pontifical University of San Carlos Borromeo.He received a doctorate on December 16, 1819.In the city council of Guatemala City he introduced the motion to end the war between Guatemala and El Salvador.