The struggles and intrigues of cliques against each other continued as before. We shall pass quickly over this period after a glance at the nature of these internal struggles.

Part of the old imperial family and its following fled northward from Liu Yü and surrendered to the Toba. There they agitated for a campaign of vengeance against South China, and they were supported at the court of the Toba by many families of the gentry with landed interests in the south. Thus long-continued fighting started between Sung and Toba, concerned mainly with the domains of the deposed imperial family and its following. This fighting brought little success to south China, and about 450 it produced among the Toba an economic and social crisis that brought the wars to a temporary close. In this pause the Sung turned to the extreme south, and tried to gain influence there and in Annam. The merchant class and the gentry families of the capital who were allied with it were those chiefly interested in this expansion.

About 450 began the Toba policy of shifting the central government to the region of the Yellow River, to Loyang; for this purpose the frontier had to be pushed farther south. Their great campaign brought the Toba in 450 down to the Yangtze. The Sung suffered a heavy defeat; they had to pay tribute, and the Toba annexed parts of their northern territory.

The Sung emperors who followed were as impotent as their predecessors and personally much more repulsive. Nothing happened at court but drinking, licentiousness, and continual murders.

From 460 onward there were a number of important risings of princes; in some of them the Toba had a hand. They hoped by supporting one or another of the pretenders to gain overlordship over the whole of the southern empire. In these struggles in the south the Hsiao family, thanks mainly to General Hsiao Tao-ch'eng, steadily gained in power, especially as the family was united by marriage with the imperial house. In 477 Hsiao Tao-ch'eng finally had the emperor killed by an accomplice, the son of a shamaness; he set a boy on the throne and made himself regent. Very soon after this the boy emperor and all the members of the imperial family were murdered, and Hsiao Tao-ch'eng created the "Southern Ch'i" dynasty (479-501). Once more the remaining followers of the deposed dynasty fled northward to the Toba, and at once fighting between Toba and the south began again.

This fighting ended with a victory for the Toba and with the final establishment of the Toba in the new capital of Loyang. South China was heavily defeated again and again, but never finally conquered. There were intervals of peace. In the years between 480 and 490 there was less disorder in the south, at all events in internal affairs. Princes were more often appointed to governorships, and the influence of the cliques was thus weakened. In spite of this, a stable regime was not built up, and in 494 a prince rose against the youthful emperor. This prince, with the help of his clique including the Ch'en family, which later attained importance, won the day, murdered the emperor, and became emperor himself. All that is recorded about him is that he fought unsuccessfully against the Toba, and that he had the whole of his own family killed out of fear that one of its members might act exactly as he had done. After his death there were conflicts between the emperor's few remaining relatives; in these the Toba again had a hand. The victor was a person named Hsiao Yen; he removed the reigning emperor in the usual way and made himself emperor. Although he belonged to the imperial family, he altered the name of the dynasty, and reigned from 502 as the first emperor of the "Liang dynasty".

[Illustration: 8 Detail from the Buddhist cave-reliefs of Lung-men. From a print in the author's possession.]

[Illustration: 9 Statue of Mi-lo (Maitreya, the next future Buddha), in the 'Great Buddha Temple' at Chengting (Hopei). Photo H. Hammer-Morrisson.]

4 The Liang dynasty (A.D. 502-556)

The fighting with the Toba continued until 515. As a rule the Toba were the more successful, not at least through the aid of princes of the deposed "Southern Ch'i dynasty" and their followers. Wars began also in the west, where the Toba tried to cut off the access of the Liang to the caravan routes to Turkestan. In 507, however, the Toba suffered an important defeat. The southern states had tried at all times to work with the Kansu states against the northern states; the Toba now followed suit and allied themselves with a large group of native chieftains of the south, whom they incited to move against the Liang. This produced great native unrest, especially in the provinces by the upper Yangtze. The natives, who were steadily pushed back by the Chinese peasants, were reduced to migrating into the mountain country or to working for the Chinese in semi-servile conditions; and they were ready for revolt and very glad to work with the Toba. The result of this unrest was not decisive, but it greatly reduced the strength of the regions along the upper Yangtze. Thus the main strength of the southern state was more than ever confined to the Nanking region.