Hammershus is Scandinavia's largest medieval fortification, situated 74 metres (243 ft) above sea level on Hammeren, the northern tip of the Danish island of Bornholm in the Baltic Sea. Erected in the 13th century, it was long believed that the castle was built as a private residence for the archbishop of Lund. However, new evidence found at the ruins of the castle suggests it was constructed in the beginning of the century as a royal residence for Valdemar II of Denmark and a base for the Danish crusades, according to Kjeld Borch Westh, superintendent of the National Museum of Denmark.
The fortification consists of the base castle residence and accompanying Mantel Tower, and includes a great stonewall stretching 750 metres (2,460 ft) around the castle grounds. Bricks found at the tower during the renovation led Westh and other experts to revise their theory on when the structure was originally constructed, moving back the date from around 1255 to the beginning of the century, when Valdemar became king.
During a number of successive struggles between the kings of Denmark versus the Archbishopric, the fortress, serving as a refuge for the Archbishops, e.g. Jens Grand, was conquered by the king's army on a number of occasions, e.g. 1259, 1265, 1319, and 1325. In 1521, it was taken by king Christian II, who used it to imprison Bishop Jens Andersen Beldenak of Funen. The fortress was conquered by forces of Lübeck the same year.
In 1658, Hammershus was occupied by Swedish forces, but a rebellion on the island terminated the Swedish rule. The rebels, led by Jens Pedersen Kofoed, shot the Swedish commandant Johan Printzenskiöld, and the Danish peasants traveled to Copenhagen to return the island to the king of Denmark. Corfitz Ulfeldt and his wife Leonora Christina were imprisoned in Hammershus 1660–1661, and the fortress was used as a prison on several other occasions.