
Castillo de Giribaile occupies a strategic position on a plateau approximately 500 meters above sea level near Vilches in Jaén province, overlooking the Guadalimar valley and controlling important water sources. Built during the 12th century Islamic period, this fortress served as both refuge and fortification for Muladí rebels. Fernando III conquered the castle through negotiation with its commander Acet-Aben Mohammed, who subsequently converted to Christian vassalage. The name Giribaile derives from a 13th-century noble, Gil Bayle de Cabrera, to whom it was granted by Sancho IV. The ruins preserve two rectangular towers, defensive walls, and a barrel-vaulted cistern. Designated as a cultural monument in 1985, ongoing restoration efforts aim to preserve this important Andalusian fortress.