He was elected deputy to the Provincial House of Panama (1850-1851), and subsequently as a representative to the National Congress of Colombia (1852-1853).
In 1878, with the help of the educator José Manuel Hurtado and politician Buenaventura Correoso, he prompted the founding of the first public library in Panama, for which he donated more than 60 volumes related to history and law.