This rising and its sequels broke the power of the dynasty, and also of the empire. The extremely sanguinary wars had brought fearful suffering upon the population. During the years of the rising, no taxes came in from the greater part of the empire, but great sums had to be paid to the peoples who had lent aid to the empire. And the looting by government troops and by the auxiliaries injured the population as much as the war itself did.

When the emperor Su Tsung died, in 762, Tengri, the khan of the Uighurs, decided to make himself ruler over China. The events of the preceding years had shown him that China alone was entirely defenceless. Part of the court clique supported him, and only by the intervention of P'u-ku Huai-en, who was related to Tengri by marriage, was his plan frustrated. Naturally there were countless intrigues against P'u-ku Huai-en. He entered into alliance with the Tibetan T'u-fan, and in this way the union of Turks and Tibetans, always feared by the Chinese, had come into existence. In 763 the Tibetans captured and burned down the western capital, while P'u-ku Huai-en with the Uighurs advanced from the north. Undoubtedly this campaign would have been successful, giving an entirely different turn to China's destiny, if P'u-ku Huai-en had not died in 765 and the Chinese under Kuo Tz[)u]-i had not succeeded in breaking up the alliance. The Uighurs now came over into an alliance with the Chinese, and the two allies fell upon the Tibetans and robbed them of their booty. China was saved once more.

Friendship with the Uighurs had to be paid for this time even more dearly. They crowded into the capital and compelled the Chinese to buy horses, in payment for which they demanded enormous quantities of silkstuffs. They behaved in the capital like lords, and expected to be maintained at the expense of the government. The system of military governors was adhered to in spite of the country's experience of them, while the difficult situation throughout the empire, and especially along the western and northern frontiers, facing the Tibetans and the more and more powerful Kitan, made it necessary to keep considerable numbers of soldiers permanently with the colours. This made the military governors stronger and stronger; ultimately they no longer remitted any taxes to the central government, but spent them mainly on their armies. Thus from 750 onward the empire consisted of an impotent central government and powerful military governors, who handed on their positions to their sons as a further proof of their independence. When in 781 the government proposed to interfere with the inheriting of the posts, there was a great new rising, which in 783 again extended as far as the capital; in 784 the T'ang government at last succeeded in overcoming it. A compromise was arrived at between the government and the governors, but it in no way improved the situation. Life became more and more difficult for the central government. In 780, the "equal land" system was finally officially given up and with it a tax system which was based upon the idea that every citizen had the same amount of land and, therefore, paid the same amount of taxes. The new system tried to equalize the tax burden and the corvée obligation, but not the land. This change may indicate a step towards greater freedom for private enterprise. Yet it did not benefit the government, as most of the tax income was retained by the governors and was used for their armies and their own court.

In the capital, eunuchs ruled in the interests of various cliques. Several emperors fell victim to them or to the drinking of "elixirs of long life".

Abroad, the Chinese lost their dominion over Turkestan, for which Uighurs and Tibetans competed. There is nothing to gain from any full description of events at court. The struggle between cliques soon became a struggle between eunuchs and literati, in much the same way as at the end of the second Han dynasty. Trade steadily diminished, and the state became impoverished because no taxes were coming in and great armies had to be maintained, though they did not even obey the government.

Events that exerted on the internal situation an influence not to be belittled were the break-up of the Uighurs (from 832 onward) the appearance of the Turkish Sha-t'o, and almost at the same time, the dissolution of the Tibetan empire (from 842). Many other foreigners had placed themselves under the Uighurs living in China, in order to be able to do business under the political protection of the Uighur embassy, but the Uighurs no longer counted, and the T'ang government decided to seize the capital sums which these foreigners had accumulated. It was hoped in this way especially to remedy the financial troubles of the moment, which were partly due to a shortage of metal for minting. As the trading capital was still placed with the temples as banks, the government attacked the religion of the Uighurs, Manichaeism, and also the religions of the other foreigners, Mazdaism, Nestorianism, and apparently also Islam. In 843 alien religions were prohibited; aliens were also ordered to dress like Chinese. This gave them the status of Chinese citizens and no longer of foreigners, so that Chinese justice had a hold over them. That this law abolishing foreign religions was aimed solely at the foreigners' capital is shown by the proceedings at the same time against Buddhism which had long become a completely Chinese Church. Four thousand, six hundred Buddhist temples, 40,000 shrines and monasteries were secularized, and all statues were required to be melted down and delivered to the government, even those in private possession. Two hundred and sixty thousand, five hundred monks were to become ordinary citizens once more. Until then monks had been free of taxation, as had millions of acres of land belonging to the temples and leased to tenants or some 150,000 temple slaves.

Thus the edict of 843 must not be described as concerned with religion: it was a measure of compulsion aimed at filling the government coffers. All the property of foreigners and a large part of the property of the Buddhist Church came into the hands of the government. The law was not applied to Taoism, because the ruling gentry of the time were, as so often before, Confucianist and at the same time Taoist. As early as 846 there came a reaction: with the new emperor, Confucians came into power who were at the same time Buddhists and who now evicted some of the Taoists. From this time one may observe closer co-operation between Confucianism and Buddhism; not only with meditative Buddhism (Dhyana) as at the beginning of the T'ang epoch and earlier, but with the main branch of Buddhism, monastery Buddhism (Vinaya). From now onward the Buddhist doctrines of transmigration and retribution, which had been really directed against the gentry and in favour of the common people, were turned into an instrument serving the gentry: everyone who was unfortunate in this life must show such amenability to the government and the gentry that he would have a chance of a better existence at least in the next life. Thus the revolutionary Buddhist doctrine of retribution became a reactionary doctrine that was of great service to the gentry. One of the Buddhist Confucians in whose works this revised version makes its appearance most clearly was Niu Seng-yu, who was at once summoned back to court in 846 by the new emperor. Three new large Buddhist sects came into existence in the T'ang period. One of them, the school of the Pure Land (Ching-t'u tsung, since 641) required of its mainly lower class adherents only the permanent invocation of the Buddha Amithabha who would secure them a place in the "Western Paradise"—a place without social classes and economic troubles. The cult of Maitreya, which was always more revolutionary, receded for a while.

8 First successful peasant revolt. Collapse of the empire

The chief sufferers from the continual warfare of the military governors, the sanguinary struggles between the cliques, and the universal impoverishment which all this fighting produced, were, of course, the common people. The Chinese annals are filled with records of popular risings, but not one of these had attained any wide extent, for want of organization. In 860 began the first great popular rising, a revolt caused by famine in the province of Chekiang. Government troops suppressed it with bloodshed. Further popular risings followed. In 874 began a great rising in the south of the present province of Hopei, the chief agrarian region.

The rising was led by a peasant, Wang Hsien-chih, together with Huang Ch'ao, a salt merchant, who had fallen into poverty and had joined the hungry peasants, forming a fighting group of his own. It is important to note that Huang was well educated. It is said that he failed in the state examination. Huang is not the first merchant who became rebel. An Lu-shan, too, had been a businessman for a while. It was pointed out that trade had greatly developed in the T'ang period; of the lower Yangtze region people it was said that "they were so much interested in business that they paid no attention to agriculture". Yet merchants were subject to many humiliating conditions. They could not enter the examinations, except by illegal means. In various periods, from the Han time on, they had to wear special dress. Thus, a law from c. A.D. 300 required them to wear a white turban on which name and type of business was written, and to wear one white and one black shoe. They were subject to various taxes, but were either not allowed to own land, or were allotted less land than ordinary citizens. Thus they could not easily invest in land, the safest investment at that time. Finally, the government occasionally resorted to the method which was often used in the Near East: when in 782 the emperor ran out of money, he requested the merchants of the capital to "loan" him a large sum—a request which in fact was a special tax.