The first Salvadoran constitution was produced in 1824.
That same year, Barrios replaced the 1841 constitution with one that, not surprisingly, increased the presidential term to four years and allowed for one reelection.