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 the hinterlands of Inverness and a second failed attempt to take Elgin, Bruce finally achieved his landmark defeat of Comyn at the Battle of Inverurie in May 1308; he then overran Buchan and defeated the English garrison at Aberdeen. The Harrying of Buchan in 1308 was ordered by Bruce to make sure all Comyn family support was extinguished. Buchan had a very large population because it was the agricultural capital of northern Scotland, and much of its population was loyal to the Comyn family even after the defeat of the Earl of Buchan. Most of the Comyn castles in Moray,