Robert the Bruce later account, "Tales of a Grandfather" by Sir Walter Scott, and may have originally been told about his companion-in-arms Sir James Douglas (the "Black Douglas"), who had spent time hiding out in caves within his manor of Lintalee, which was then occupied by the English. The entire account may in fact be a version of a literary trope used in royal biographical writing. A similar story is told, for example, in Jewish sources about King David, and in Persian folklore about the Mongolian warlord Tamerlane and an ant. It is said that before the Battle of Bannockburn, Bruce was attacked
Robert the Bruce the heavy fighting. The historian Roy Haines describes the defeat as a "calamity of stunning proportions" for the English, whose losses were huge. In the aftermath of the defeat, Edward retreated to Dunbar, then travelled by ship to Berwick, and then back to York; in his absence, Stirling Castle quickly fell. Freed from English threats, Scotland's armies could now invade northern England. Bruce also drove back a subsequent English expedition north of the border and launched raids into Yorkshire and Lancashire. Buoyed by his military successes, Bruce's forces also invaded Ireland in 1315, in an attempt to free the country