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 queen dowager) are unlikely but not impossible. Bruce and his followers returned to the Scottish mainland in February in two groups. One, led by Bruce and his brother Edward, landed at Turnberry Castle and began a guerrilla war in south-west Scotland. The other, led by his brothers Thomas and Alexander, landed slightly further south in Loch Ryan, but they were soon captured and executed. In April, Bruce won a small victory over the English at the Battle of Glen Trool, before defeating Aymer de Valence, 2nd Earl of Pembroke, at the Battle of Loudoun Hill. At the same time, James