Despite Bannockburn and the capture of the final English stronghold at Berwick in 1318, Edward II refused to renounce his claim to the overlordship of Scotland. In 1320, the Scottish nobility submitted the Declaration of Arbroath to Pope John XXII, declaring Robert as their rightful monarch and asserting Scotland's status as an independent kingdom. In 1324, the Pope recognised Robert I as king of an independent Scotland, and in 1326, the Franco-Scottish alliance was renewed in the Treaty of Corbeil. In 1327, the English deposed Edward II in favour of his son, Edward III, and peace was concluded between Scotland and England with the Treaty of Edinburgh–Northampton in 1328, by which Edward III renounced all claims to sovereignty over Scotland.