On 22 July, Edward's army attacked a much smaller Scottish force led by Wallace near Falkirk. The English army had a technological advantage with the English longbowmen decimating Wallace's spearmen grouped in schiltrons and the light cavalry by firing scores of arrows over great distances. The Scottish cavalry fled the battlefield and in the ensuing rout, many Scots were killed at the Battle of Falkirk, although it is impossible to give a precise number.