The Emperor became furious when he read the memorial and wished to execute its author on the spot. But Han-Yü's many friends saved him and the sentence was commuted to honourable banishment as governor of a distant town. Shortly afterwards the Emperor died, not of Buddhism, but of the elixir of immortality which made him so irritable that his eunuchs put him out of the way. Han-Yü was recalled but died the next year. Among his numerous works was one called Yüan Tao, much of which was directed against non-Confucian forms of religion. It is still a thesaurus of arguments for the opponents of Buddhism and, let it be added, of Christianity.

It is not surprising that the prosperity of the Buddhist church should have led to another reaction, but it came not so much from the literary and sceptical class as from Taoism which continued to enjoy the favour of the T'ang Emperors, although they died one after another of drinking the elixir. The Emperor Wu-Tsung was more definitely Taoist than his predecessors. In 843 he suppressed Manichæism and in 845, at the instigation of his Taoist advisers, he dealt Buddhism the severest blow which it had yet received. In a trenchant edict[668] he repeated the now familiar arguments that it is an alien and maleficent superstition, unknown under the ancient and glorious dynasties and injurious to the customs and morality of the nation. Incidentally he testifies to its influence and popularity for he complains of the crowds thronging the temples which eclipse the imperial palaces in splendour and the innumerable monks and nuns supported by the contributions of the people. Then, giving figures, he commands that 4600 great temples and 40,000 smaller rural temples be demolished, that their enormous[669] landed property be confiscated, that 260,500 monks and nuns be secularized and 150,000 temple slaves[670] set free. These statistics are probably exaggerated and in any case the Emperor had barely time to execute his drastic orders, though all despatch was used on account of the private fortunes which could be amassed incidentally by the executive.

As the Confucian chronicler of his doings observes, he suppressed Buddhism on the ground that it is a superstition but encouraged Taoism which is no better. Indeed the impartial critic must admit that it is much worse, at any rate for Emperors. Undeterred by the fate of his predecessors Wu-Tsung began to take the elixir of immortality. He suffered first from nervous irritability, then from internal pains, which were explained as due to the gradual transformation of his bones, and at the beginning of 846 he became dumb. No further explanation of his symptoms was then given him and his uncle Hsüan Tsung was raised to the throne. His first act was to revoke the anti-Buddhist edict, the Taoist priests who had instigated it were put to death, the Emperor and his ministers vied in the work of reconstruction and very soon things became again much as they were before this great but brief tribulation. Nevertheless, in 852 the Emperor received favourably a memorial complaining of the Buddhist reaction and ordered that all monks and nuns must obtain special permission before taking orders. He was beginning to fall under Taoist influence and it is hard to repress a smile on reading that seven years later he died of the elixir. His successor I-Tsung (860-874), who died at the age of 30, was an ostentatious and dissipated Buddhist. In spite of the remonstrances of his ministers he again sent for the sacred bone from Fa-mên and received it with even more respect than his predecessor had shown, for he met it at the Palace gate and bowed before it.

During the remainder of the T'ang dynasty there is little of importance to recount about Buddhism. It apparently suffered no reverses, but history is occupied with the struggle against the Tartars. The later T'ang Emperors entered into alliance with various frontier tribes, but found it hard to keep them in the position of vassals. The history of China from the tenth to the thirteenth centuries is briefly as follows. The T'ang dynasty collapsed chiefly owing to the incapacity of the later Emperors and was succeeded by a troubled period in which five short dynasties founded by military adventurers, three of whom were of Turkish race, rose and fell in 53 years[671]. In 960 the Sung dynasty united the Chinese elements in the Empire, but had to struggle against the Khitan Tartars in the north-east and against the kingdom of Hsia in the north-west. With the twelfth century appeared the Kins or Golden Tartars, who demolished the power of the Khitans in alliance with the Chinese but turned against their allies and conquered all China north of the Yang-tze and continually harassed, though they did not capture, the provinces to the south of it which constituted the reduced empire of the Sungs. But their power waned in its turn before the Mongols, who, under Chinggiz Khan and Ogotai, conquered the greater part of northern Asia and eastern Europe. In 1232 the Sung Emperor entered into alliance with the Mongols against the Kins, with the ultimate result that though the Kins were swept away, Khubilai, the Khan of the Mongols, became Emperor of all China in 1280.

The dynasties of T'ang and Sung mark two great epochs in the history of Chinese art, literature and thought, but whereas the virtues and vices of the T'ang may be summed up as genius and extravagance, those of the Sung are culture and tameness. But this summary judgment does not do justice to the painters, particularly the landscape painters, of the Sung and it is noticeable that many of the greatest masters, including Li Lung-Mien[672], were obviously inspired by Buddhism. The school which had the greatest influence on art and literature was the Ch'an[673] or contemplative sect better known by its Japanese name Zen. Though founded by Bodhidharma it did not win the sympathy and esteem of the cultivated classes until the Sung period. About this time the method of block-printing was popularized and there began a steady output of comprehensive histories, collected works, encyclopædias and biographies which excelled anything then published in Europe. Antiquarian research and accessible editions of classical writers were favourable to Confucianism, which had always been the religion of the literati.

It is not surprising that the Emperors of this literary dynasty were mostly temperate in expressing their religious emotions. T'ai-Tsu, the founder, forbade cremation and remonstrated with the Prince of T'ang, who was a fervent Buddhist. Yet he cannot have objected to religion in moderation, for the first printed edition of the Tripitaka was published in his reign (972) and with a preface of his own. The early and thorough application of printing to this gigantic Canon is a proof—if any were needed—of the popular esteem for Buddhism.

Nor did this edition close the work of translation: 275 later translations, made under the Northern Sung, are still extant and religious intercourse with India continued. The names and writings of many Hindu monks who settled in China are preserved and Chinese continued to go to India. Still on the whole there was a decrease in the volume of religious literature after 900 A.D.[674] In the twelfth century the change was still more remarkable. Nanjio does not record a single translation made under the Southern Sung and it is the only great dynasty which did not revise the Tripitaka.

The second Sung Emperor also, T'ai Tsung, was not hostile, for he erected in the capital, at enormous expense, a stupa 360 feet high to contain relics of the Buddha. The fourth Emperor, Jên-tsung, a distinguished patron of literature, whose reign was ornamented by a galaxy of scholars, is said to have appointed 50 youths to study Sanskrit but showed no particular inclination towards Buddhism. Neither does it appear to have been the motive power in the projects of the celebrated social reformer, Wang An-Shih. But the dynastic history says that he wrote a book full of Buddhist and Taoist fancies and, though there is nothing specifically Buddhist in his political and economic theories, it is clear from the denunciations against him that his system of education introduced Buddhist and Taoist subjects into the public examinations[675]. It is also clear that this system was favoured by those Emperors of the Northern Sung dynasty who were able to think for themselves. In 1087 it was abolished by the Empress Dowager acting as regent for the young Chê Tsung, but as soon as he began to reign in his own right he restored it, and it apparently remained in force until the collapse of the dynasty in 1127.

The Emperor Hui-Tsung (1101-1126) fell under the influence of a Taoist priest named Lin Ling-Su[676]. This young man had been a Buddhist novice in boyhood but, being expelled for misconduct, conceived a hatred for his old religion. Under his influence the Emperor not only reorganized Taoism, sanctioning many innovations and granting many new privileges, but also endeavoured to suppress Buddhism, not by persecution, but by amalgamation. By imperial decree the Buddha and his Arhats were enrolled in the Taoist pantheon: temples and monasteries were allowed to exist only on condition of describing themselves as Taoist and their inmates had the choice of accepting that name or of returning to the world.

But there was hardly time to execute these measures, so rapid was the reaction. In less than a year the insolence of Lin Ling-Su brought about his downfall: the Emperor reversed his edict and, having begun by suppressing Buddhism, ended by oppressing Taoism. He was a painter of merit and perhaps the most remarkable artist who ever filled a throne. In art he probably drew no distinction between creeds and among the pictures ascribed to him and preserved in Japan are some of Buddhist subjects. But like Hsüan Tsung he came to a tragic end, and in 1126 was carried into captivity by the Kin Tartars among whom he died.