 At the time, a small river and treacherous marshes made the terrain surrounding the castle hard to navigate.Originally a private castle, it was in 1339 turned over to Magnus Eriksson, king of Sweden, Norway and Scania.In 1395, Margaret I of Denmark used the castle to conduct peace negotiations with the deposed king of Sweden, Albrecht von Mecklenburg, who had been forced to give up the Swedish throne in her favor.