Stein Castle was built on a rocky promontory above Baden gorge some time before 1000. In the late 11th century the castle came to the Lenzburg family. By the early 12th Century, the cadet line that lived in the castle called themselves the Counts of Baden. In 1172, the castle was inherited by the Kyburg family. When that family died out in 1263, the castle was inherited by the Habsburgs in 1264.
The castle was occupied by a bailiff and was the seat of the Austrian administration for Vorderösterreich (Further Austria) and housed the archive. The castle was besieged and destroyed in 1415 by the Swiss Confederation. It was rebuilt in 1658-70 but was demolished in 1712. It remains in ruins since that time.
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.