The bureaucracy was necessitated by the Warring States period and the wars between the seven major Chinese regional powers. The Qin dynasty was adhered to a philosophy called Legalism where the state was supreme and bureaucratic structures developed to carry out the will of the state.