Spanish forces led by Pedro de Alvarado invaded the region that would become El Salvador in 1524, advancing from Guatemala into territory controlled by the Pipil, a Nahua people centered on the city of Cuscatlan. The Pipil mounted determined resistance, and it took Spanish expeditions until roughly 1540 to establish firm control over the area. Once subdued, the territory was organized as a province within the Captaincy General of Guatemala, a Spanish administrative division created in the 1540s that governed most of Central America under the Viceroyalty of New Spain.
Colonial authorities relied on the encomienda and repartimiento systems to extract labor and tribute from Indigenous communities, and the Indigenous population declined sharply due to disease, forced labor, and displacement in the decades after conquest. Over time, intermarriage between Spanish colonists and Indigenous peoples produced a growing mestizo population that would eventually form the majority. The province's economy centered on agriculture, with cacao an early export before indigo cultivation expanded to become the region's dominant cash crop by the eighteenth century.
San Salvador and other towns in the province remained under the administrative oversight of the captaincy general's seat in Guatemala City throughout the colonial era, with limited local autonomy. Spanish rule in the region lasted nearly three centuries, and in 1821 the province joined the rest of Central America in declaring independence from Spain, a decision announced alongside Guatemala's own declaration.
More from El Salvador
- El Salvador: 20th Century Developments
History - El Salvador: History
History - El Salvador: Independence Movement
History
Other topics for El Salvador
- El Salvador: Culture and Society
Culture & Society - El Salvador: Economy and Trade
Economy & Trade - El Salvador: Foreign Relations
Politics & Governance - El Salvador: Geography and Environment
Geography & Environment
