In 1821 he was appointed Registrar of Finances in the local government where he increased his popularity with the people.
In 1828, he campaigned to complete the period of government of Jose Maria García Rojas.