The emperor Yüan Ti lived to see the first great rising. This rising (under Wang Tun) started in the region of the present Hankow, a region that today is one of the most important in China; it was already a centre of special activity. To it lead all the trade routes from the western provinces of Szechwan and Kweichow and from the central provinces of Hupei, Hunan, and Kiangsi. Normally the traffic from those provinces comes down the Yangtze, and thus in practice this region is united with that of the lower Yangtze, the environment of Nanking, so that Hankow might just as well have been the capital as Nanking. For this reason, in the period with which we are now concerned the region of the present Hankow was several times the place of origin of great risings whose aim was to gain control of the whole of the southern empire.
Wang Tun had grown rich and powerful in this region; he also had near relatives at the imperial court; so he was able to march against the capital. The emperor in his weakness was ready to abdicate but died before that stage was reached. His son, however, defeated Wang Tun with the aid of General Yü Liang (A.D. 323). Yü Liang was the empress's brother; he, too, came from a northern family. Yüan Ti's successor also died early, and the young son of Yü Liang's sister came to the throne as Emperor Ch'eng (326-342); his mother ruled as regent, but Yü Liang carried on the actual business of government. Against this clique rose Su Chün, another member of the northern gentry, who had made himself leader of a bandit gang in A.D. 300 but had then been given a military command by the dynasty. In 328 he captured the capital and kidnapped the emperor, but then fell before the counterthrust of the Yü Liang party. The domination of Yü Liang's clique continued after the death of the twenty-one-years-old emperor. His twenty-year-old brother was set in his place; he, too, died two years later, and his two-year-old son became emperor (Mu Ti, 345-361).
Meanwhile this clique was reinforced by the very important Huan family. This family came from the same city as the imperial house and was a very old gentry family of that city. One of the family attained a high post through personal friendship with Yü Liang: on his death his son Huan Wen came into special prominence as military commander.
Huan Wen, like Wang Tun and others before him, tried to secure a firm foundation for his power, once more in the west. In 347 he reconquered Szechwan and deposed the local dynasty. Following this, Huan Wen and the Yü family undertook several joint campaigns against northern states—the first reaction of the south against the north, which in the past had always been the aggressor. The first fighting took place directly to the north, where the collapse of the "Later Chao" seemed to make intervention easy. The main objective was the regaining of the regions of eastern Honan, northern Anhui and Kiangsu, in which were the family seats of Huan's and the emperor's families, as well as that of the Hsieh family which also formed an important group in the court clique. The purpose of the northern campaigns was not, of course, merely to defend private interests of court cliques: the northern frontier was the weak spot of the southern empire, for its plains could easily be overrun. It was then observed that the new "Earlier Ch'in" state was trying to spread from the north-west eastwards into this plain, and Ch'in was attacked in an attempt to gain a more favourable frontier territory. These expeditions brought no important practical benefit to the south; and they were not embarked on with full force, because there was only the one court clique at the back of them, and that not whole-heartedly, since it was too much taken up with the politics of the court.
Huan Wen's power steadily grew in the period that followed. He sent his brothers and relatives to administer the regions along the upper Yangtze; those fertile regions were the basis of his power. In 371 he deposed the reigning emperor and appointed in his place a frail old prince who died a year later, as required, and was replaced by a child. The time had now come when Huan Wen might have ascended the throne himself, but he died. None of his family could assemble as much power as Huan Wen had done. The equality of strength of the Huan and the Hsieh saved the dynasty for a time.
In 383 came the great assault of the Tibetan Fu Chien against the south. As we know, the defence was carried out more by the methods of diplomacy and intrigue than by military means, and it led to the disaster in the north already described. The successes of the southern state especially strengthened the Hsieh family, whose generals had come to the fore. The emperor (Hsiao Wu Ti, 373-396), who had come to the throne as a child, played no part in events at any time during his reign. He occupied himself occasionally with Buddhism, and otherwise only with women and wine. He was followed by his five-year-old son. At this time there were some changes in the court clique. In the Huan family Huan Hsüan, a son of Huan Wen, came especially into prominence. He parted from the Hsieh family, which had been closest to the emperor, and united with the Wang (the empress's) and Yin families. The Wang, an old Shansi family, had already provided two empresses, and was therefore strongly represented at court. The Yin had worked at first with the Hsieh, especially as the two families came from the same region, but afterwards the Yin went over to Huan Hsüan. At first this new clique had success, but later one of its generals, Liu Lao-chih, went over to the Hsieh clique, and its power declined. Wang Kung was killed, and Yin Chung-k'an fell away from Huan Hsüan and was killed by him in 399. Huan Hsüan himself, however, held his own in the regions loyal to him. Liu Lao-chih had originally belonged to the Hsieh clique, and his family came from a region not far from that of the Hsieh. He was very ambitious, however, and always took the side which seemed most to his own interest. For a time he joined Huan Hsüan; then he went over to the Hsieh, and finally returned to Huan Hsüan in 402 when the latter reached the height of his power. At that moment Liu Lao-chih was responsible for the defence of the capital from Huan Hsüan, but instead he passed over to him. Thus Huan Hsüan conquered the capital, deposed the emperor, and began a dynasty of his own. Then came the reaction, led by an earlier subordinate of Liu Lao-chih, Liu Yü. It may be assumed that these two army commanders were in some way related, though the two branches of their family must have been long separated. Liu Yü had distinguished himself especially in the suppression of a great popular rising which, around the year 400, had brought wide stretches of Chinese territory under the rebels' power, beginning with the southern coast. This rising was the first in the south. It was led by members of a secret society which was a direct continuation of the "Yellow Turbans" of the latter part of the second century A.D. and of organized church-Taoism. The whole course of this rising of the exploited and ill-treated lower classes was very similar to that of the popular rising of the "Yellow Turbans". The movement spread as far as the neighbourhood of Canton, but in the end it was suppressed, mainly by Liu Yü.
Through these achievements Liu Yü's military power and political influence steadily increased; he became the exponent of all the cliques working against the Huan clique. He arranged for his supporters to dispose of Huan Hsüan's chief collaborators; and then, in 404, he himself marched on the capital. Huan Hsüan had to flee, and in his flight he was killed in the upper Yangtze region. The emperor was restored to his throne, but he had as little to say as ever, for the real power was Liu Yü's.
Before making himself emperor, Liu Yü began his great northern campaign, aimed at the conquest of the whole of western China. The Toba had promised to remain neutral, and in 415 he was able to conquer the "Later Ch'in" in Shensi. The first aim of this campaign was to make more accessible the trade routes to Central Asia, which up to now had led through the difficult mountain passes of Szechwan; to this end treaties of alliance had been concluded with the states in Kansu against the "Later Ch'in". In the second place, this war was intended to increase Liu Yü's military strength to such an extent that the imperial crown would be assured to him; and finally he hoped to cut the claws of pro-Huan Hsüan elements in the "Later Ch'in" kingdom who, for the sake of the link with Turkestan, had designs on Szechwan.
3 The Liu-Sung dynasty (A.D. 420-478) and the Southern Ch'i dynasty (479-501)
After his successes in 416-17 in Shensi, Liu Yü returned to the capital, and shortly after he lost the chief fruits of his victory to Ho-lien P'o-p'o, the Hun ruler in the north, while Liu Yü himself was occupied with the killing of the emperor (419) and the installation of a puppet. In 420 the puppet had to abdicate and Liu Yü became emperor. He called his dynasty the Sung dynasty, but to distinguish it from another and more famous Sung dynasty of later time his dynasty is also called the Liu-Sung dynasty.