Almarestäkets castle was built in the 1100s to protect the Sigtuna and Uppsala cities. It was also called as St. Erik's castle after Eric IX. Throughout the Middle Ages there was a struggle between the Crown and Church who can control the castle.
The castle was first mentioned in the late 1300s. In 1440 got Archbishop Nicolaus Ragvaldi permission to build a new castle, which was completed about ten years later. In the 1510s troubles Almarestäkets was in possession of Bishop Gustav Trolle between 1516-17. The castle was sieged by his main enemy Sten Sture the Younger in 1517. Archbishop Gustav Trolle locked himself in there to avoid trial, and the Swedish government demanded and carried out the demolition of the fortress. The procedure was formally unauthorized because at the time State property was to be separate from Church property. As a revenge for this and other perceived injustices, Trolle, assisted by the Danish King Christian II, took revenge in the Stockholm Bloodbath of 1520.
Today there are visible traces of castle foundations with potholes filled with stone and occasional bricks.
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.