Kungshuset, the "King's House", was built by the Danish king Frederick II between 1578–1584 and originally intended as the residence for the bishop of Lund. After the secession of the Scanian lands to Sweden at the Treaty of Roskilde 1658, and the foundation of Lund University in 1666 to enhance the Swedification of the Danish provinces, the house was incorporated to serve as the university's main building and library. For a time the top of the tower also held an observatory.
An often related local legend has it that king Charles XII of Sweden, who resided in Lund for a time between campaigns in the 1710s, rode up the wide wooden stairs in the tower. The legend is easily debunked, as the tower was added to the building only later in the 18th century.
The house held the University Library in the mid-19th century, but was in a bad shape, with a leaking roof for instance. The professor of Greek language at the time, Carl Georg Brunius, whose prolific work as an amateur architect is seen in many characteristic Lund buildings, took it as upon himself to improve the condition of the building. Today, Kungshuset houses the Department of Philosophy.
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.