 However, on April 5, 1840 he gave up his office to follow General Morazán into exile, embarking on the brigantine "Izalco" from the port of La Libertad, La Libertad along with many other followers of Morazán.The Municipal Council of San Salvador took over the executive authority of the state.The Federal Republic of Central America was formally dissolved in 1840.