 By the Tang 唐 dynasty, even literati who admired Xunzi—such as Han Yu 韓愈 (768–824)—were careful to add that his works contain grave mistakes (Kong Fan 1997: 281; Liu Youming 2006: 48–50). In the Song 宋, there were still some voices that praised him, but the opinion with the greatest long-term consequences was that of Zhu Xi 朱熹 (1130–1200), who declared that Xunzi’s philosophy resembled those of non-Confucians such as Shen Buhai 申不害 (fl. 354–340 BCE) and Shang Yang 商鞅 (d. 338 BCE), and that he was indirectly responsible for the notorious disasters of the Qin dynasty (Kong Fan 1997: 291–95). For the rest of imperial history, Xunzi was rejected by the cultural  mainstream;[13]  into the twentieth century, he was criticized by intellectuals such as Kang Youwei 康有爲 (1858–1927), Tan Sitong 譚嗣同 (1865–1898), and Liang Qichao 梁啟超 (1873–1929) as the progenitor of the Confucian scriptural legacy, which, in their view, had derailed the original Confucian mission and plunged China into a cycle of authoritarianism and corruption that lasted more than two thousand years.