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
Richard Óg de Burgh, 2nd Earl of Ulster of King Robert the Bruce of Scotland. However, this did not stop him leading his forces from Ireland to support England's King Edward I in his Scottish campaigns and when the forces of Edward Bruce invaded Ulster in 1315, the Earl led a force against him, but was beaten at Connor in Antrim. The invasion of Bruce and the uprising of Felim Ó Conchúir in Connacht left him virtually without authority in his lands, but Ó Conchúir was killed in 1316 at the Second Battle of Athenry, and he was able to recover Ulster after the defeat of Bruce at