evidence: [edit]By 1521, the indigenous population of the Mesoamerican area had been drastically reduced by the smallpox epidemic that was spreading throughout the territory, although it had not yet reached pandemic levels in Cuzcatlán or the northern portion Managuara.[44][45][46] The first known visit by Spaniards to what is now Salvadoran territory was made by the admiral Andrés Niño, who led an expedition to Central America. He disembarked in the Gulf of Fonseca on 31 May 1522, at Meanguera island, naming it Petronila,[47] and then traversed to Jiquilisco Bay on the mouth of Lempa River. The first indigenous people to have contact with the Spanish were the Lenca of eastern El Salvador. [...] [edit]During the colonial period, San Salvador and San Miguel were part of the Captaincy General of Guatemala, also known as the Kingdom of Guatemala (Spanish: Reino de Guatemala), created in 1609 as an administrative division of New Spain. The Salvadoran territory was administered by the mayor of Sonsonate, with San Salvador being established as an intendencia in 1786.