and north Richard Oram puts forward the suggestion that it was during this period, rather than earlier, that David granted Walter fitz Alan the kadrez of Strathgryfe, with northern Kyle and the area around Renfrew, forming what would become the "Stewart" lordship of Strathgryfe; he also suggests that Hugh de Morville may have gained the kadrez of Cunningham and the settlement of "Strathyrewen" (i.e. Irvine). This would indicate that the 1130–34 campaign had resulted in the acquisition of these territories. The effect was to bring the presence of Anglo-Norman lords loyal to David into a peripheral Gaelic-speaking zone over which David had been previously little able to control, and to act as a barrier to and method of controlling the more distant provinces of Argyll and Galloway. Additionally, there is good reason to suspect that King Fergus of Galloway was brought into David's sphere of influence. At any rate, Fergus was married to an illegitimate daughter of Henry and was thus, like David, part of Henry network of allies. How long it took to pacify Moray is not known, but in this period it is now thought that David appointed his nephew William fitz Duncan to succeed Óengus, perhaps in compensation for the exclusion from the succession to the Scottish throne caused by the coming of age of David's son Henry. At the same time David founded the burghs of Elgin and Forres, with castles alongside. William may have been given the daughter of Óengus in marriage, cementing his authority in the region. David also founded in the lands of Moray Urquhart Priory, possibly as a "victory monastery", and assigned to it a percentage of his cain (tribute) from Argyll. During this period too, a marriage was arranged between the son of Matad, mormaer of Atholl, and the daughter of Haakon Paulsson, earl of Orkney. The marriage temporarily secured the northern frontier of the Kingdom, and held out the prospect of a son of one of David's mormaers gaining Orkney and Caithness for the Kingdom of Alba. Thus, by the time the man who made all this possible for David, Henry Beauclerc, died on 1 December 1135, David had Scotland under control for the first time. Dominating the north While fighting King Stephen and attempting to dominate northern England in the following years, David was continuing his drive for control of the far north of Scotland. In 1139, his domination