 In 1108, the battle of Uclés -- also known as the battle of Seven Counts -- led to the defeat of the Christian army by Tamim ben Yusuf.After Christians reconquered Uclés in 1174, King Alfonso VIII of Castile gave the fortress to the Order of Santiago, who made it their main headquarters.After the end of the Reconquista, the buildings were remodeled, and many of the defensive elements of the fortress eliminated, giving it its current appearance.