Roxburgh and Keeper of Roxburgh Castle, bought and granted to the abbey a significant burgage in Roxburgh. In 1334, Balliol was forced to Berwick for protection and the English were slowly finding their authority in the Lothians slipping away and only managed to hold power in the garrisoned centres and so in mid-July 1335, Edward III marched his army to Glasgow where he met with Balliol and his army and together they advanced to Perth. In October, following his campaign, Edward moved to Dryburgh Abbey where he expected the Scots to present him with their terms of surrender but this did not happen. David II returned from France in 1342 and more of the lands held by Edward III were won back into Scottish control so that by 1346, the county of Roxburgh and the western parts of the county of Berwick were in the charge of the Bruce party. Patronage for the canons was once again provided by Scottish lords when it is recorded that Sir John Maxwell gave the income from the Pencaitland church, in East Lothian. The Scottish lordship changed again when David was captured at the Battle of Neville's Cross and an English garrison took command at Roxburgh putting the central lands of Tweeddale and all of Teviotdale firmly back under the control of England and it was to remain so for over twenty years. On 20 January 1356 Abbot Andrew of Dryburgh along with the Abbots of Melrose, Jedburgh and Kelso witnessed Edward Balliols resignation. With the English victory over the French in September 1356, Scotland lost its continental ally and forced her back to the negotiating table for the release of David II from hostage. The treaty for the Scottish king's release was agreed on 3 October 1357 and four days later David was back in Scotland; under the terms of the treaty, 100,000 marks were to be paid to England over 10 years and England would retain its occupied lands until the ransom was paid in full. Borderland partition David II's liberation from hostage in 1357 did not come without conditions, one of which was that Edward would hold on to the lands in the southeast of the country; this ensured that Dryburgh and the other border abbeys stayed in English held territory. David allowed the abbeys to keep their Scottish possessions and did not interfere with the canons and monks from receiving