The origins of the Castillo de la Yedra could be Muslims, possibly from the Almohad era. During the 11th and 12th centuries, the first fortress was built, but the current appearance was built by Christians during the 13th and 14th centuries and during the papacy of don Pedro Tenorio. The alcázar was built by the archbishops of Toledo at the end of the 14th century. There is a keep and a small parade ground that surround the alcazar.
Its construction was designed exclusively for military use as a palace of a feudal lord or small court of medieval monarch. That is why its architecture is sober, although compensated by the beauty of the topography of its location and the surrounding landscape.
References:The Clementinum is a historic complex of buildings in Prague. Until recently the complex hosted the National, University and Technical libraries, the City Library also being located nearby on Mariánské Náměstí. The Technical library and the Municipal library have moved to the Prague National Technical Library at Technická 6 since 2009. It is currently in use as the National Library of the Czech Republic.
Its history dates from the existence of a chapel dedicated to Saint Clement in the 11th century. A Dominican monastery was founded in the medieval period, which was transformed in 1556 to a Jesuit college. In 1622 the Jesuits transferred the library of Charles University to the Klementinum, and the college was merged with the University in 1654. The Jesuits remained until 1773, when the Klementinum was established as an observatory, library, and university by the Empress Maria Theresa of Austria.