Xunzi (c. 313-238 BC), personal name Kuang, courtesy name Qing, a native of Zhao, was the great Confucian master of the late Warring States period, three times 'libationer' (head) of the Jixia Academy in Qi. Taking up Confucius while correcting Mencius, he taught that 'human nature is evil' — our nature pursues profit, and only ritual, righteousness, teacher and law can 'transform nature into artifice'; on heaven he held that 'heaven's course is constant' and man should 'harness the mandate of heaven and use it' — turning the heaven-human relation from religious awe to rational use. In politics he weighed ritual and law together, king's way and hegemon's way — the bridge by which Confucianism passed into Legalism; his students Han Fei and Li Si left Confucianism for law, the very mark of that transition. In late life, invited by the Lord Chunshen, he served as magistrate of Lanling in Chu and wrote his books there. The Xunzi, thirty-two chapters, is tightly argued and strong in disputation; the 'Encouraging Learning' and 'Discourse on Heaven' remain classics. Through Han and Tang his standing rivaled Mencius'; when Neo-Confucianism rose in Song times his doctrine of evil nature pushed him aside, and modern scholarship has restored him — the great synthesizer with which the Hundred Schools' contention closed.