Following the victory at Stirling Bridge in 1297, the Scottish nobles appointed Wallace and Moray as 'Guardians of Scotland'.
This meant that they became official commanders of the Scottish army. They were also in control of Scotland, able to make official decisions and communicate with other Kings, on Scotland's behalf.
Moray was not Guardian for long as he died a few weeks later from wounds received at Stirling Bridge.
Wallace continued to rule Scotland in the name of King John, who remained imprisoned by Edward I. As Guardian, Wallace continued the war against England by invading northern England, besieging castles and towns. He used brutal tactics against local garrisons and communities.