Imperial examination
By the Sui dynasty, however, the institution of the Imperial examination system marked the transformation of a power shift towards a full bureaucracy, though the process would not be truly completed until the Song dynasty.