Military history of Scotland for Robert I's success was his ability to call on naval forces from the Islands. As a result of the expulsion of the Flemings from England in 1303, he gained the support of a major naval power in the North Sea. The development of naval power allowed Robert to successfully defeat English attempts to capture him in the Highlands and Islands and to blockade major English controlled fortresses at Perth and Stirling, the last forcing Edward II to attempt the relief that resulted at English defeat at Bannockburn in 1314. Scottish naval forces allowed invasions of the Isle of Man
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,