 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 outer defenses consist of a long irregular wall that is lengthened in places to adapt to the uneven mountainous terrain.