A magnificent example of a mountain castle, that is, one whose shape is exactly adapted to the hill on which it stands. Its most beautiful element is the main gate, opening at a bend in the wall and built as a re-entrant in its homogeneous circular path. The magnificent stonework with which it was built is worth the visit alone, as well as the pointed arch between its two strong towers.
Built by a Muslim garrison in the mid-12th century, it was continually conquered and lost, and Christians and Arabs took turns in its possession many times. It came to belong to the Order of Santiago from 1214, possession confirmed by a papal bull. When the Alhambra district was divided between the orders of Calatrava and San Juan, it lost its strategic importance and was gradually abandoned.
The most curious thing about the castle is that, because it is a mountain castle, it never had an external enclosure or barbican, but rather a covered or protected path in its last section by a small wall, which allowed access in protected conditions.