For administrative purposes, the country was divided into thirty-six commanderies linked by a 6,800km road system. A series of long walls was constructed across north and northwest China, joining up the border walls of earlier states and adding up to 4,000 kilometres – the forerunner of the ‘Great Wall’.