 During his imprisonment, the Danish queen was the de facto ruler of Sweden.During the 15th century, the castle's importance waned.It was torn down in the 16th century in order to provide building material for Malmöhus Castle.