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:House of the Blackheads (Melngalvju nams) is a building situated in the old town of Riga. The original building was erected during the first third of the 14th century for the Brotherhood of Blackheads, a guild for unmarried German merchants in Riga. Major works were done in the years 1580 and 1886, adding most of the ornaments.
The structure was bombed to a ruin by the Germans June 28, 1941 and the remains demolished by the Soviets in 1948. The current reconstruction was erected from 1995 to 1999. Today the House of Blackheads serves as a museum and sometimes concert hall.