later made an irregular return. Gaveston was killed in June 1312 by Thomas of Lancaster and other nobles. It fell upon John, together with Gilbert de Clare, Earl of Gloucester, to reconcile the two parties after this event. In 1313 he followed Edward II on a state visit to France, and thereafter generally remained a trusted subject. In 1318 he witnessed the Treaty of Leake, which restored Edward to full power. War with Scotland In 1320 he again accompanied Edward II to France, and the next year he carried out peace negotiations with the Scots. When in 1322 Thomas of Lancaster rebelled and was defeated at the Battle of Boroughbridge, Richmond was present at his trial, and when Lancaster was sentenced to death. After this, the English invaded Scotland only to have their army starved when Robert the Bruce burned the country before them. The Bruce brought his army into England and crossed the Solway Firth in the west, making his way in a south-easterly direction towards Yorkshire; he brought many troops recruited in Argyll and the Isles. The boldness and speed of the attack soon exposed Edward II to danger, even in his own land. On his return from Scotland, the king had taken up residence at Rievaulx Abbey with Queen Isabella. His peace was interrupted when the Scots made a sudden and unexpected approach in mid-October. All that stood between them and a royal prize was a large English force under the command of John of Brittany. John had taken up a position on Scawton Moor, between Rievaulx and Byland Abbey. To dislodge John from his strong position on the high ground, Bruce used the same tactics that brought victory at the earlier Battle of the Pass of Brander. As Moray and Douglas charged uphill a party of Highlanders scaled the cliffs on the English flanks and charged downhill into John of Brittany's rearguard. Resistance crumbled, and the Battle of Old Byland turned into a rout. John himself was taken prisoner and given a tongue lashing by King Robert the Bruce for his treatment of the Scottish Queen while she was an English prisoner. John remained in captivity until 1324, when he was released for a ransom of 14,000 marks. After his release, he continued his diplomatic activities in Scotland and France. Final years In March 1325 John of Brittany made a final return to France, where for