Taixue taught Confucianism and Chinese literature among other things for high level civil service posts, although a civil service system based upon competitive examination rather than recommendation was not introduced until the Sui and did not become a mature system until the Song dynasty (960–1279).[7][8]