Suppression of the revolt enabled Donald to turn his attention northwards and eastwards. Most of the area to the north and east of the Lordship, that is
Skye,
Ross,
Badenoch and
Urquhart, was under the control of
Alexander Stewart, Earl of Buchan, famously known as the "Wolf of Badenoch". The Stewarts had been building up their power in the central Highlands and north of Scotland since the death of
John Randolph, 3rd Earl of Moray in 1346. Alexander had acquired control of the
lordship of Badenoch, the
earldom of Buchan and the
Justiciarship of Scotia. He had been appointed "Lieutenant of the North", giving him the flexibility to exercise total control over most of Scotland north of the
mounth. Alexander was at once the
de facto ruler of northern Scotland as well as how the crown itself exercised control. However, there had been complaints over the activities of his
caterans (war bands). More importantly, Alexander's position had become threatening not only to the crown, but also to
Euphemia I, Countess of Ross, her son
Alexander and the titular Dunbar Earl of Moray. Late in 1388, soon after becoming Guardian of the Kingdom,
Robert Stewart, Earl of Fife (created
Duke of Albany in 1398) deprived Alexander of the Justiciarship. The assault on Alexander's position continued into the 1390s. Donald and his brother Alexander of Lochaber were in a perfect position to benefit. In 1394, the latter entered a 17-year agreement with the Earl of Moray, taking over Alexander Stewart's role as "protector" of the wealthy
comital and
episcopal lands in the Moray lowlands. The MacDonalds were in possession of
Urquhart Castle by the end of 1395, and had given control of the
Duart Castle to
Maclean of Duart. The Guardian soon turned his hostility against Donald and his family. Alexander of Lochaber had been using his role as "protector" to further his own lordship, including granting episcopal lands to his military followers. In 1398, Robert Stewart (now Duke of Albany) was called upon to take action, but the well-prepared expedition in the end came to nothing. Lochaber continued his activities, and in a raid of 1402 burned the
burgh of
Elgin along with the manses of the canons belonging to
Elgin Cathedral. For this, he was excommunicated by
William Spynie,
bishop of Moray. Later in the year Alexander visited Spynie to seek forgiveness and was thereafter absolved. ==The Earldom of Ross==