Burgalimar Castle was built in the 10th century under the rule of the Umayyad Caliphate of Córdoba.
A marble inscription plaque found at the entrance of the castle records the date of its construction as 967 AD, during the reign of the caliph Al-Hakam II, who is also named in the inscription. The marble plaque is now kept at the National Archaeological Museum in Madrid. The castle was built as a military base and garrison to defend the valley of the Guadalquivir River and the roads to and from the capital city of Córdoba.
During the 12th and 13th centuries (part of the period known as the Reconquista), the castle changed hands multiple times between the Muslim rulers of Al-Andalus and the Christian kingdoms to the north. Alfonso VII captured it in 1147 but it returned to Muslim control after his death in 1157. Alfonso VIII and Alfonso IX together captured it again for a time in 1189. It was captured by the Kingdom of Castile in 1212, shortly before the Battle of Las Navas de Tolosa, but returned to Almohad control three days after the battle. The castle was definitively conquered by Castile in 1225, when it conquered the surrounding region. The Castilians later added a keep tower called the Torre del Homenaje in 1466.
The castle consists of a large walled enclosure, of elongated but irregular shape, measuring roughly 100 meters long and 50 meters wide. Fifteen towers stand at close intervals around the perimeter. All the towers have a square or rectangular base, which was typical of caliphal fortresses in the 10th century, except for the northernmost tower, the 15th-century Torre del Homenaje, which is larger and has a semi-round profile. There are two entrance gates: one in the north and one in the south/southeast. The more important southern gate consists of a straight passage (instead of the bent entrance common in later fortifications) with horseshoe arches, set between two towers. Chambers were located above the passage with slots in the floor where missiles could be thrown down onto attackers. Inside the castle today are the remains of a cistern and the foundations of later buildings.
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.