In 1329, King Christopher II concluded an agreement with Marsk Ludvig Eberstein, head of the armed forces, after his surrender at Hammershus and in 1329 made peace with Count Johann of Holstein.