Clan Mackenzie in the 13th and 14th centuries, terminated in the heiress Margaret del Ard, the Lady of Erchless, who married Alexander Chisolm of Cromer c.1350. In the 14th century during the Wars of Scottish Independence the Clan Mackenzie is said to have been among the clans who fought on the side of Robert the Bruce at the Battle of Inverurie (1308) against the forces of the Clan Comyn who were rivals to the throne. Chief Iain Mac Coinnich is said to have led a force of five hundred Mackenzies at the Battle of Bannockburn in 1314 where the English were defeated.
Robert the Bruce stated Bruce did not participate and in the following month decided to lay waste Annandale and burn Ayr Castle, to prevent it being garrisoned by the English. William Wallace resigned as Guardian of Scotland after his defeat at the Battle of Falkirk. He was succeeded by Robert Bruce and John Comyn as joint Guardians, but they could not see past their personal differences. As a nephew and supporter of King John, and as someone with a serious claim to the Scottish throne, Comyn was Bruce's enemy. In 1299, William Lamberton, Bishop of St. Andrews, was appointed as a third, neutral