* 1821: El Salvador gains independence from Spain and becomes part of the Federal Republic of Central America.
* 1838: El Salvador secedes from the Federal Republic of Central America and becomes an independent country.
* 1871: Coffee becomes El Salvador's primary export crop.
* 1932: The Salvadoran government massacres thousands of indigenous people in a brutal crackdown on a peasant uprising.
* 1969: The Salvadoran Civil War begins between the U.S.-backed government and left-wing guerrillas.
* 1992: The Salvadoran Civil War ends with the signing of the Chapultepec Peace Accords.
* 2001: El Salvador adopts the U.S. dollar as its official currency.
* 2009: Mauricio Funes is elected president of El Salvador, becoming the country's first leftist president in decades.
* 2019: Nayib Bukele is elected president of El Salvador, promising to crack down on crime and corruption.