It was the seat of the Oretani, an Iberian tribe which settled in the vicinity in the north of the Guadalquivir River beginning in the sixth century BC.
According to tradition, a local princess named Himilce married Hannibal, gained the alliance of the city with the Carthaginian Empire.
[2] In 211 BC, Castulo was the site of Hasdrubal Barca's crushing victory over the Roman army with a force of roughly 40,000 Carthaginian troops plus local Iberian mercenaries.
It lost importance even more when Andalusia fell under Islamic rule in the Middle Ages, and at the same time the nearby village of Linares grew because of its strong castle —first built as an Arab fortress, then rebuilt by the Christians after the Reconquista— overlooking the city.
Enrique Flórez,[5][6] No longer a residential bishopric, Castulo is listed by the Catholic Church as a Latin titular see.