The Gulathing Law regulates relations between the social classes, the king and his officers, the clergy, and the peasantry. Parts of the law appear to be a social contract between two parties: on the one hand the people, on the other hand the church and the king.