He served as Vice President of Ecuador from 1864 to 1865 and acting President from 31 August 1865 to 7 September 1865. He was the Vice President of Gabriel García Moreno. He succeed him after he was assassinated. 