El Salvador achieved independence from Spain in 1821 and from the Central American Federation in 1839. A 12-year civil war, which cost about 75,000 lives, was brought to a close in 1992 when the government and leftist rebels signed a treaty that provided for military and political reforms.
(Source: The World Factbook 2009. Washington, DC: Central
Intelligence Agency, 2009)
For more information
about El Salvador:
https://www.cia.gov/library/publications/the-world-factbook/index.html