Icelandic Commonwealth
The post of sheriff was mandated by the Old Covenant, an agreement between the Icelandic Commonwealth and the Kingdom of Norway. The agreement which was ratified between 1262 and 1264 makes the post of sheriff the oldest secular position of government still operating in Iceland.