طارق بن زياد
In 711, Carteia and the surrounding area became the beachhead for the Umayyad conquest of the Iberian Peninsula led by Tariq ibn Ziyad. Alfonso XI of Castile took control of the territory by defeating a Muslim Merinid army in the 14th century. Over the next few centuries, the population was gradually Hispanicised and Christianised.