# War of 1863

The War of 1863 (Spanish: Guerra de 1863) was a conflict fought between El Salvador and Guatemala from 13 February 1863 to 26 October 1863.
Guatemalan President Rafael Carrera sought to overthrow Salvadoran President Gerardo Barrios, citing his attacks on the Catholic Church in El Salvador during his presidency as justification. Barrios was overthrown on 26 October 1863 and was replaced by a conservative politician, Francisco Dueñas, ending the war.

## Background

On 12 March 1859, General Gerardo Barrios overthrew Salvadoran President José María Peralta and declared himself President of El Salvador. The coup and ascension of Barrios to power caused many conservative politicians to flee to Guatemala for safety.

### Barrios-Carrera rivalry

Guatemalan President Rafael Carrera was a conservative politician while Barrios was a liberal politician and both ruled as dictators of their respective countries. Barrios passed anticlerical legislation in El Salvador to diminish the power and influence of the Catholic Church while Carrera made agreements with the Church to expand its influence and uphold its privileges.
Carrera initially supported Barrios believing that a strong ruler in El Salvador would be in his best interests, even visiting San Salvador from December 1860 to January 1861 to improve relations. However, in the following years, Barrios began attacking Carrera calling him a "savage" while Guatemalan newspapers attacked Barrios' "lameness and pomposity." The Guatemalans later labeled the war as a war over religion when it was really a political and ideological war. Salvadoran bishops did, however, support the Guatemalans in the conflict, as did Salvadoran conservatives.

## War
### Battle of Coatepeque

In 1862, Carrera began plans to topple Barrios from power and instal a conservative as president. On 13 February 1863, Carrera invaded El Salvador. He took control of the settlements of Ahuachapán, Chalchuapa, and Santa Ana, later establishing a headquarters in Jesús de los Milagros de Coatepeque.
On 22 February, the Salvadorans, led by Barrios, entrenched themselves in the town of Coatepeque and prepared for battle. After two days of battle, the Salvadorans won and forced the Guatemalans to retreat.

### Siege of San Salvador

After his initial defeat, Carrera invaded El Salvador a second time on 19 June 1863. During the invasion, many Salvadorans deserted and either refused to take part in the war or joined the Guatemalans, most notably general Santiago González who served under Barrios during the Battle of Coatepeque. Salvadoran conservative politicians, such as Francisco Dueñas, also supported the Guatemalans.
On 30 September, he began a siege of the Salvadoran capital city, San Salvador. Carrera ordered a cease fire from San Salvador to submit, and after a month of being sieged, the capital fell on 26 October. Barrios fled the city and went east to San Miguel, after which, Dueñas was declared President of El Salvador. The fall of San Salvador marked the end of the war.

### Guatemalan incursions in salvadoran territory

Assault and looting of Ahuachapán On March 28, 1863 The Commander of the Department of Jutiapa, (Guatemala) Colonel Leandro Navas, attacked the city of Ahuachapán with 500 men, at 6 in the morning on March 28, 1863; a square that was garrisoned with 67 soldiers who defended themselves for more than 2 hours but the city was taken Killing the Commander Colonel,Francisco Moran,Captain Vicente Madrid and Lieutenants Eduardo Mendoza and Vicente Salinas, 13 soldiers and 2 civilians. The population was sacked and the building of the Convent and other houses were burned, and upon learning that a force from Chalchuapa He went over it, retreated towards the border of his origin,
Assault and murders in Candelaria de la Frontera The night of May 2, 1863
At midnight on May 2, 1863, the hacienda and valley of Candelaria, in the jurisdiction of Santa Ana, were attacked by a Guatemalan force of 50 men commanded by Officer Dario Lorenzana, stationed in Jutiapa, and having captured the auxiliary mayor of said demarcation, Don Manuel Puquir, and the citizens Don Vicente Ramirez and Don Antonio Ramos, he shot them on the spot, stripping them of everything they had. And after committing the crime, he returned to Guatemalan territory by the Mita road, taking as prisoners the sons of one of the victims and Don Rafael Palma.
Assault and looting of Metapán
April 12, 1863
Colonel Leando Navas, Political and Military Chief of Jutiapa, at the head of 500 Guatemalan soldiers, attacked and looted the defenseless town of Metapán on April 12, 1863. He destroyed the archives of the public offices, setting them on fire, and at 12 noon on the same day he left, taking several people prisoner, including the citizens Olayo Magaña and Vicente Gomez, from whom he demanded a large sum for their ransom.

## Aftermath

Carrera died on 14 April 1865. Barrios fled for exile in Nicaragua but he was arrested on 27 July 1865 and extradited to El Salvador. He was court-martialed on 10 August and sentenced to death on 28 August. Barrios was executed by a firing squad on 29 August 1865.