 From October 14, 1834 to April 10, 1835 he governed El Salvador, as vice-head of state, after the Honduran Joaquín Escolán y Balibrera declined the appointment as head of state.He governed again in the same capacity from February 16, 1840 to April 5, 1840.In his second term he received his authority from General Morazán, when the latter left to invade Guatemala.