In retaliation for Scotland's treaty with France, Edward I invaded, commencing the
Wars of Scottish Independence. The Scots were defeated at
Dunbar and the English took
Dunbar Castle on 27 April 1296. Balliol was released into the custody of
Pope Boniface VIII on condition that he remain at a papal residence. He was released around the summer of 1301 and lived the rest of his life on his family's ancestral estates at
Hélicourt,
Picardy. Over the next few years, there were several Scottish rebellions against Edward (for example, in 1297 under
William Wallace and
Andrew Moray). When Wallace was chosen as commander, he claimed to act in the name of his king, John Balliol. This claim came to look increasingly tenuous, as Balliol's position under nominal house-arrest meant that he could not return to Scotland nor campaign for his release, despite the Scots' diplomatic attempts in Paris and Rome. After 1302, he made no further attempts to extend his personal support to the Scots. == Death ==