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 only be temporary. Although the Bruces were by now back in possession of Annandale and Carrick, in August 1296 Robert Bruce, Lord of Annandale, and his son, Robert Bruce, Earl of Carrick and future king, were among the more than 1,500 Scots at Berwick who swore an oath of fealty to King Edward I of England. When the Scottish revolt against Edward I broke out in July 1297, James Stewart, 5th High Steward of Scotland, led into rebellion a group of disaffected Scots, including Robert Wishart, Bishop of Glasgow, MacDuff, the son of the earl of Fife, and the young