As a legislator Magnus was even more important than his father, shaping and reshaping laws which furthered the development of the country and wielding an influence upon its jurisdiction reaching down to the present day. At a meeting of nobles at Alnsnœ, in 1280, King Magnus gave solemn pledge to the so-called Edsœre-laws of his father, and made the nobility into a privileged class. All the men surrounding him and his brother Bengt (made duke of Finland), and on their estates, together with the trusted men in the service of a bishop, were freed from paying taxes to the king. The same privilege was extended “to all men who served with a horse, whosoever they serve.” The exemption from taxes did not include those due the church or community, but only those due the king. The horse service (_ross_ = later _rusttjenst_) meant to provide for a cavalry force of iron-clad men for military service, according to the demands of the time. The nobles saw to it that this privilege was made permanent even after they had discontinued the horse service, and that others were added to it. A law prohibiting _voldgæstning_, the custom of travellers of taking by violence, or without compensation, food and comfort from the rural population, was also made at Alnsnœ, and won for King Magnus the rustic but beautiful surname of _Ladulas_ (Barn-lock). “For he wished to place such locks on the peasant’s barn, that no one should dare enter but at the will of the owner,” wrote Olaus Petri, the historian and reformer. An official was placed in every country town to see to the traveller’s comfort, and to his payment for it. At a meeting in Skenninge, in 1285, a law about _konungafrid_ (royal sanctity) was made in order to prevent strife among the nobles and to make away with the ancient evil of revenge for bloodshed. This period of royal sanctity, when between men of the most strained relations peace should reign, commenced a fortnight after the king’s arrival had been announced at the Thing and lasted until he had by letter informed it of his departure out of the province. The one who abused this sanctity, or only carried weapons, was exiled and his property confiscated. Secret societies among the nobles were prohibited.