Original: The town was named after Cartagena, Spain, where most of Heredia's sailors came from.
Simplified: There is also a city in Spain, named Cartagena