Scotland in the Middle Ages excommunication of Bruce and his followers by Pope Clement V, his support slowly strengthened; and by 1314 with the help of leading nobles such as Sir James Douglas and Thomas Randolph only the castles at Bothwell and Stirling remained under English control. Edward I had died in 1307. His heir Edward II moved an army north to break the siege of Stirling Castle and reassert control. Robert defeated that army at the Battle of Bannockburn in 1314, securing "de facto" independence. In 1320 the Declaration of Arbroath, a remonstrance to the pope from the nobles of Scotland, helped convince Pope
Robert the Bruce held and once more the crown was placed on the brow of Robert Bruce, Earl of Carrick, Lord of Annandale, King of the Scots. In June 1306 Bruce was defeated at the Battle of Methven. His wife and daughters and other women of the party were sent to Kildrummy in August 1306 under the protection of Bruce's brother, Neil Bruce, and the Earl of Atholl and most of his remaining men. Bruce fled with a small following of his most faithful men, including Sir James Douglas and Gilbert Hay, Bruce's brothers Thomas, Alexander, and Edward, as well as Sir Neil