The Castillo de Fuentidueña in Segovia province survives as an important collection of medieval ruins designated as a Cultural Heritage Asset. Built between the 12th and 13th centuries, the fortress features an irregular pentagonal plan occupying approximately 5,000 square meters on elevated terrain. Defensive elements include extensive moats and barbicans protecting the alcázar, or final refuge, designed to shelter inhabitants if the town fell to attackers. The castle gained prominence during the reign of Alfonso VIII, who composed his will within its walls on December 8, 1204, and rested there following his famous victory at the Battle of Las Navas de Tolosa. The learned King Alfonso X visited around 1250. Dispersed across the landscape, towers and walls demonstrate medieval military engineering, with the castle's strategic position commanding views across the surrounding region. Official protection came in 1995, recognizing its historical and architectural significance.