Lietava Castle was built after 1241, most likely as an administrative and military centre. In the early 14th century, it is mentioned with Máté Csák III, one of the powerful magnates in the Kingdom of Hungary. The castle changed hands until the 16th century when the Thurzó family gained it. It was reconstructed and fortified, and given its own military garrison. After the death of Imre Thurzó in 1621, it was divided between his heirs. After the ownership disputes in 1641, they lost interest in it. The castle report in 1698 said that the castle was uninhabited and there was only an archive, which was moved to the Orava Castle in the 1760s. After that, the castle was abandoned and not used any more.
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.