The Huis ter Kleef castle was probably built in the late 13th century. In 1403 it was given to Margaret of Cleves (c.1375-1411), and has since retained that name. During the Siege of Haarlem in 1572 it was the headquarters of the Spanish army, under the leadership of the duke of Alva. It was blown up in 1573 and badly damaged, the rubble was used for city expansion. The house nearby with a tower called the 'Kaatsbaan' was long considered the only building left standing, though recent archeological research suggests that the foundations have older stones than the rest and perhaps it was itself rebuilt after the explosion.
The property changed hands several times until it was purchased by the city of Haarlem in 1713. Stones from the central castle ruin can still be seen in surrounding buildings. The Kaatsbaan was used as a residence for former owners and is now also in use by the city gardens.
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.