 Diez Canseco served as the second vice president from 1868 to 1872.While vice president, he had to briefly assume the presidency of Peru following the lynching of Tomás Gutiérrez.He was succeeded by Mariano Herencia Zevallos.