Espinoza was vice-head of state of El Salvador under Licenciado José María Silva until Silva was replaced by Joaquín Escolán y Balibrera on March 2, 1835. Escolán served provisionally, and only briefly, until the elected head of state (Espinoza) took office. This occurred on April 10, 1835.
That April Espinoza reestablished the Intendencia General of the Treasury, granting the office judicial functions. In May he reestablished charity committees throughout the state. He also established the jury system for all criminal trials in the state.
By a decree of May 7, 1835, Espinoza restored the separate command of the army by removing political control at the department level. On June 17, 1835, he ordered the sale of uncultivated lands at public auction. On the same day he restored the tobaccomonopoly and issued regulations for it.
On November 15, 1835 he was replaced by Colonel Francisco Gómez, on the instructions of Francisco Morazán. He died in Honduras in 1845.