He was elected king in 1340 following the assassination of Count Gerhard III, although his territory at this time was limited to the northernmost county of Jutland. He gradually reacquired the rest of Jutland and Zealand. He finally reunited Denmark by capturing Scania and the island of Gotland in 1361. However, the resulting conflict with the Hanseatic League led to defeat by them, and in 1370 he was forced to submit to the Treaty of Stralsund.
|List of Danish monarchs||Succeeded by:|