conquest fled to the courts of both Máel Coluim III, King of Scotland, and Toirdelbach Ua Briain, High King of Ireland. Government and feudalism The widespread infeftment of foreign knights and the processes by which land ownership was converted from a matter of customary tenure into a matter of feudal or otherwise legally-defined relationships revolutionised the way the Kingdom of Scotland was governed, as did the dispersal and installation of royal agents in the new mottes that were proliferating throughout the realm to staff newly created sheriffdoms and judiciaries for the twin purposes of law enforcement and taxation, bringing Scotland further into the "European" model. Military feudalism During this period, Scotland experienced innovations in governmental practices and the importation of foreign, generally French, knights. It is to David's reign that the beginnings of Scottish feudalism and seignorialism are generally assigned. Geoffrey Barrow wrote that David's reign witnessed "a revolution in Scots dynastic law" as well as "fundamental innovations in military organization" and "in the composition and dominant characteristics of its ruling class". This is defined as "castle-building, the regular use of professional cavalry, the knight's fee" as well as "homage and fealty". David established large scale feudal lordships in the west of his Cumbrian principality for the leading members of the French military entourage who kept him in power. Additionally, many smaller-scale feudal lordships were created. One example would be Freskin. The latter's name occurs in a charter by David's grandson King William to Freskin's son, William, granting Strathbrock in West Lothian and Duffus, Kintrae, and other lands in Moray, "which his father held in the time of King David". The name Freskin is Flemish,<ref>See Barrow, "The Beginnings of Military Feudalism", p. 252, n. 16, citing T. Forssner, Continental Germanic Personal Names in England, (Uppsala, 1916), p. 95; J. Mansion, Oud-Gentsche Naamkunde, (1924), p. 217; and G. White (ed.), Complete Peerage, vol. xii, pt. I, p. 537, n. d.</ref> and in the words of Geoffrey Barrow "it is virtually certain that Freskin belonged to a large group of Flemish settlers who came to Scotland in the middle decades of the 12th century and were chiefly to be found in West Lothian and the valley of the Clyde". Freskin was responsible for building a castle in the distant territory of Moray, and because Freskin had no kinship ties to the locality, his position was dependent entirely on the king, thus bringing