 With domestic opposition largely neutralised, the king turned his attention to Scotland.A major campaign was organised in August, but the effort ended in total failure when the English were routed by the Scots, led by Robert the Bruce, at the Battle of Old Byland on 14 October 1322.Edward II himself had to flee the battlefield to avoid capture, and Edmund was with him as the royal army retreated to York.