Nicaraguan-Salvadoran War

The Nicaraguan-Salvadoran War was a military conflict between El Salvador supported by Honduras, against Nicaragua, sparked by the Nicaraguan alliance with Guatemala, country which was at the time at war with El Salvador.

Background
Victorious in Coatepeque and with support from Honduras, General Barrios declared war on Nicaragua due to President Martínez's backing of Carrera in a previous invasion. Barrios instructed Máximo Jerez to invade Nicaragua in April. Although Salvadorans defeated Martinez's troops at San Jacinto on April 28, they were repelled by the Nicaraguans near León on April 29.

Barrios' plan to seize the port of Corinto by sea failed, while Nicaraguans managed to capture Amapala. In this situation, the President of El Salvador learned that General Carrera was mobilizing troops towards El Salvador once again.