By the end of the thirteenth century, the islands once ruled by Magnús and his fellow members of the Crovan dynasty before him, were incorporated into the Scottish realm. In 1293, the parliament of John, King of Scots (died 1314) established three new sheriffdoms within his kingdom. One of these three, the Sheriffdom of Skye, was granted to William I, Earl of Ross (died 1323). This sheriffdom included the seaboard north of Ardnamurchan (Wester Ross and Kintail), and the islands of Skye, Lewis, Uist, Barra, Eigg, and Rum. It is possible that parts of the sheriffdom may have been taken over earlier, sometime after the dismantling of the Kingdom of Mann and the Isles.