The fortress was likely built over the ruins of the ancient city of Oba which dated to pre Roman Celtiberian period.
Given its strategic location on the frontier of the Gibraltar region, this fortress proved an important Moorish stronghold throughout the Muslim domination of the Iberian Peninsula.

The castle was taken by the Jerezanos in 1430 and retaken by the Moorish Kingdom of Granada in 1451.
In 1465, it was integrated into the Kingdom of Castille as the property of the crown.
It was declared a national monument of Spain in 1931, described as the building that best represents the town of Jimena de la Frontera.
The fortress was likely built over the ruins of the ancient city of Oba which dated to pre Roman Celtiberian period. Given its strategic location on the frontier of the Gibraltar region, this fortress proved an important Moorish stronghold throughout the Muslim domination of the Iberian Peninsula.
The castle was taken by the Jerezanos in 1430 and retaken by the Moorish Kingdom of Granada in 1451. In 1465, it was integrated into the Kingdom of Castille as the property of the crown. It was declared a national monument of Spain in 1931, described as the building that best represents the town of Jimena de la Frontera.
Castle of Jimena de la Frontera