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 eventually lifted Bruce's excommunication. In May 1328 King Edward III of England signed the Treaty of Edinburgh-Northampton, which recognised Scotland as an independent kingdom, and Bruce as its king. In 1325 Robert I exchanged lands at Cardross for those of Old Montrose in Angus with Sir David Graham. It was to be here that Robert would build the manor house that would serve as his favoured residence during the final years of his reign. The extant chamberlain's accounts for 1328 detail a manor house at Cardross with king's and queen's chambers and glazed windows, a chapel, kitchens, bake- and brew-houses,