José María Guerrero de Arcos

In early 1839, due to ideological differences, Nicaragua and Honduras invaded El Salvador, still part of the Federal Republic of Central America.

[5] Medina would very quickly resign due to the immense pressure caused by Morazán's counter invasion, and so did the minister after him, Juan José Alvarado, and so Guerrero would take leadership on 27 April of the same year.

Among the agreements were the commitment to pay compensation and attend the Central American Diet of Santa Ana, in order to strengthen peace on 15 August of the same year.

Given this, Guerrero and the Legislative Assembly maneuvered with political skill and approved the ratification of an Anglo-Nicaraguan Agreement in Cuba preserving Nicaraguan sovereignty over the Great Lake of Nicaragua.

On 8 March parliament appointed Benito Rosales as the new Supreme Director, who would oversee the 1849 elections, which were won by Norberto Ramírez, who took office on 1 April of the same year.

George Augustus Frederic II , King of the Mosquito Coast at that time of the invasion.