1170-1241. King of Denmark from 1202. He was the second son of Waldemar I and succeeded his brother Canute VI. He gained control of land N of the river Elbe (which he later lost), as well as much of Estonia, and he completed the codification of Danish law.