Parliament of 1301, the King was forced to order an assessment of the royal forests, but in 1305 he obtained a papal bull that freed him from this concession. Ultimately, it was a change in personnel that spelt the end of the opposition against Edward. De Bohun died late in 1298, after returning from the Scottish campaign. In 1302 Bigod arrived at an agreement with the King that was beneficial for both: Bigod, who had no children, made Edward his heir, in return for a generous annual grant. Edward finally got his revenge on Winchelsey, who had been opposed to the King's policy of clerical taxation, in 1305, when Clement V was elected pope. Clement was a Gascon sympathetic to the King, and on Edward's instigation had Winchelsey suspended from office. Return to Scotland Edward believed that he had completed the conquest of Scotland when he left the country in 1296, but resistance soon emerged under the leadership of Andrew de Moray in the north and William Wallace in the south. On 11 September 1297, a large English force under the leadership of John de Warenne, 6th Earl of Surrey, and Hugh de Cressingham was routed by a much smaller Scottish army led by Wallace and Moray at the Battle of Stirling Bridge. The defeat sent shockwaves into England, and preparations for a retaliatory campaign started immediately. Soon after Edward returned from Flanders, he headed north. On 22 July 1298, in the only major battle he had fought since Evesham in 1265, Edward defeated Wallace's forces at the Battle of Falkirk. Edward underestimated the gravity of the ever-changing military condition in the north and was not able to take advantage of the momentum; the next year the Scots managed to recapture Stirling Castle. Even though Edward campaigned in Scotland both in 1300, when he successfully besieged Caerlaverock Castle and in 1301, the Scots refused to engage in open battle again, preferring instead to raid the English countryside in smaller groups. The Scots appealed to Pope Boniface VIII to assert a papal claim of overlordship to Scotland in place of the English. His papal bull addressed to King Edward in these terms was firmly rejected on Edward's behalf by the Barons' Letter of 1301. The English managed to subdue the country by other means: in 1303, a peace agreement was reached between England and France, effectively breaking up the Franco-Scottish alliance.