Contemporary codes of football can be traced back to English public schools during the 19th century. The expansion of the British Empire allowed these rules of football to spread to areas of British influence outside the directly controlled Empire.
In the 19th century, former English school boys, in a meeting organised by two old-boys of Shrewsbury, were the first to write down formal codes of rules in order to enable matches to be played between different schools.