Wikipedia
The Hirdskraa (Hirðskrá), 'The book of the hird', is a collection of laws regulating many aspects of the royal hird of late 13th century Norway. Compiled somewhere in the first part of the 1270s at the order of King Magnus VI (r. 1263-1280), it was recopied widely in the 14th century. The earliest extant texts, the AM 322 fol. and NkS 1642 4to (in the Royal Library, Copenhagen), date to around 1300. AM 322 fol. is thought to have originated at the court of King Magnus' son Håkon V's chancellery in Oslo. In the mid-14th century, with the Norwegian kingdom falling into a personal union with first Sweden and then Denmark, the text was copied less in Scandinavia but remained popular in Iceland, where copies exist from as late as the 18th century. The text can be set beside a number of comparable sections in the Konungs Skuggsjá.