Erling Skakke made himself ready to travel, fitted out ships, and had with him King Magnus, together with the household-men who were on the spot. In this expedition were the king's relatives, — Arne; Ingerid, King Inge's mother, with her two sons; besides Jon Kutiza, a son of Sigurd Stork, and Erling's house-men, as well as those who had been Gregorius's house-men; and they had in all ten ships. They went south to Denmark to King Valdemar and Buriz Heinrekson, King Inge's brother.
King Valdemar was King Magnus's blood-relation; for Ingebjorg, mother of King Valdemar, and Malmfrid, mother of Kristin, King Magnus's mother, were cousins. The Danish king received them hospitably, and he and Erling had private meetings and consultations: and so much was known of their counsels, that King Valdemar was to aid King Magnus with such help as might be required from his kingdom to win and retain Norway.
On the other hand, King Valdemar should get that domain in Norway which his ancestors Harald Gormson and Svein Forked-beard had possessed; namely, the whole of Viken as far north as Rygiarbit. This agreement was confirmed by oath and a fixed treaty. Then Erling and King Magnus made themselves ready to leave Denmark, and they sailed out of Vendilskage.