Gen. Juan Antonio Pezet served as president of Peru from 1863 to 1865