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 at Ramsey in the Isle of Man, laid siege to Castle Rushen in Castletown, capturing it on 21 June 1313 and denying the English the island's strategic importance. The eight years of exhausting but deliberate refusal to meet the English on even ground have caused many to consider Bruce one of the great guerrilla leaders of any age. This represented a transformation for one raised as a feudal knight. By 1314, Bruce had recaptured most of the castles in Scotland held by the English and was sending raiding parties into northern England as far as Carlisle. In response, Edward II