 He was a senator until 1880.He was governor of Puebla for a third time, from 1 October 1880 to 31 January 1885.On 3 February 1885, he became president of the Supreme Military Court, where he served until his death in Mexico City in 1894.