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 was again obtained from the nobles and the burghs, and a parliament was held to elect those who would meet later in the year with the English parliament to establish rules for the governance of Scotland. The Earl of Richmond, Edward's nephew, was to head up the subordinate government of Scotland. While all this took place, William Wallace was finally captured near Glasgow, and he was hanged, drawn, and quartered in London on 23 August 1305. In September 1305, Edward ordered Robert Bruce to put his castle at Kildrummy, "in the keeping of such a man as he himself will