The Spanish empire conquered the land of El Salvador. Before this land was colonized, it included groups such as Lenca, Maya Chorti, and Nahua Pipil. The economy was mostly made of agriculture. It began with the indigo plant and followed by coffee. El Salvador gained its independence on September 15th, 1821.