In 1840 he traveled to El Salvador, where with the help of General Francisco Malespín he became secretary of state, from October 1840 to January 1841.
Lindo named General and Licienciado Norberto Ramírez minister.