This is the largest of the towns that make up the municipality of Moclín.
The history of this town begins in Palaeolithic times as shown by the archaeological discoveries made in the area. Its name comes from the Latin and literally means the gate of the wolves. During the Muslim period it was a free town situated between the Castilian and Moorish kingdom. The Arabs gave it its port-like character when setting the borderes of the Kingdom of Granada. This was one of only three places along the entire border from Algeciras to Almeria, where trading could take place.
During the French invasion in the 19th century the border was removed. Since then the town has grown in importance and the number of local inhabitants has risen.