Assuming office . On 7 February 1858,
Miguel Santín del Castillo became president of El Salvador. He appointed Guzmán, Barrios' father-in-law, as his
vice president. He named
Lorenzo Zepeda as the first designated successor to the presidency, and Barrios as the second designated successor. Additionally, Barrios was appointed as
minister of external relations on 31 March 1858. On 24 June 1858, Barrios assumed the presidency in an
acting capacity when Santín temporarily left politics due to illness. On 14 September 1858, Barrios ordered Morazán's body to be exhumed from its resting place in
Cojutepeque to be moved to
San Salvador, where it was buried following a religious ceremony on 17 September 1858. He left office the following day. On 20 September 1858, Santín appointed Barrios as minister of interior and exterior relations and as general commander of the state. Santín ordered Barrios to resign from his positions, to which Barrios responded he would only do so if Santín also resigned. On 19 January 1859, Santín and Barrios both resigned, and the Legislative Assembly met to choose a new president. Barrios supported Guzmán's bid for the presidency, while Santín attempted to regain his position. Ultimately, the Legislative Assembly chose Guzmán as president, and Santín and several of his supporters left the country. A few weeks into Guzmán's presidency, he retired from politics and was replaced by
José María Peralta on 15 February 1859. Peralta named Barrios as the country's military commander the day he assumed the presidency. Barrios returned to the presidency, again in an acting capacity, on 12 March 1859 after Peralta resigned. On 4 December 1859, Barrios won the
1859 presidential election unopposed and assumed the presidency in an official capacity on 1 February 1860, appointing
José Félix Quirós as his vice president. Barrios left office on 16 December 1860 so that he could make a state visit to Guatemala and was replaced by Peralta as acting president. He returned to El Salvador and resumed his presidency on 7 February 1861. During his presidency, Barrios' government drafted a new constitution which allowed him to run for re-election.
Education policies In 1859, Barrios rebuilt the Asunción College and reorganized its structure to be more secular and established three new universities: the Normal Schools of
San Miguel,
San Salvador,
Santa Ana. In 1860, Barrios informed the
Legislative Assembly that he intended to "regenerate" the country. He described El Salvador as "backward", "destitute", and "misgoverned" upon assuming office. Barrios sought to achieve five primary goals during his presidency: promote agriculture, industry, and commerce; introduce
progressive Western European ideals to the country; encourage immigration to the country; reform the country's education system; construct new roads and ports to expand the country's international trade and internal transportation.
Coffee industry Barrios believed that El Salvador would be a major
coffee producer by 1864, encouraging the transfer of government-owned haciendas to coffee planters. Barrios' government allowed oligarchs who held a stake in coffee production to hold significant power and influence in El Salvador, power and influence which would persist until the
overthrow of President
Arturo Araujo by the
military in December 1931.
Relationship with the Church On 11 October 1861, Barrios issued a decree which ordered all priests in the country to swear loyalty and submission to the
constitution and the government. Many priests, including , the
archbishop of San Salvador, left the country in protest on 19 November 1861. In April 1862, the Salvadoran government signed a
concordat with the
Holy See, outlining the relation between both parties.
War with Guatemala and overthrow Barrios' rise to the presidency in El Salvador was initially supported by Carrera, who was still serving as president of Guatemala, as he believed that Barrios' strong government would ensure stability in the region in the wake of the war against Walker's Nicaragua. To support Barrios, Carrera did not allow Salvadoran exiles in Guatemala to organize themselves to challenge Barrios. In December 1860 and January 1861, Barrios made an official visit to Guatemala. Eventually, however, relations between both countries deteriorated. On 11 January 1862, Honduran President
José Santos Guardiola was assassinated and Barrios sought to influence the succeeding liberal government. Barrios' influence in Honduras was opposed by the Guatemalan government, and both Barrios and Carrera issued personal insults against each other; Barrios referred to Carrera as "the savage" and Guatemalan writers mocked Barrios as lame and pompous. In 1863, El Salvador and Guatemala
went to war. In February 1863, Salvadoran forces led by Barrios defeated the Guatemalans at the
Battle of Coatepeque. On 30 June 1863, Marshal
Santiago González defected to the Guatemalans and declared himself as provisional president in opposition of Barrios. On 26 October 1863, after a long siege, Carrera captured San Salvador, deposing Barrios from power and forcing him to flee the country. The day Barrios was overthrown,
Francisco Dueñas, a conservative exile, succeeded Barrios as the country's provisional president; on 4 December 1864, Dueñas won the
1864 presidential election unopposed and assumed the presidency in an official capacity on 1 February 1865. == Exile, arrest, and execution ==