Table of Contents
References & Edit History Facts & Stats

In addition to these farsighted construction works, Yangdi also pursued an active foreign policy. An expedition to the south established sovereignty over the old Chinese settlement in Tongking and over the Champa state of Lin-yi in central Nam Viet (present-day Vietnam). Several expeditions were sent to Taiwan, and relations with Japan were opened. Tuyuhun people were driven out of Gansu and Qinghai, and Sui colonies were established along the great western trade routes. The rulers of the various petty local states of Central Asia and the king of Gaochang (Turfan) became tributaries. A prosperous trade with Central Asia and the West emerged.

The principal foreign threat was still posed by the Turks. By the early 7th century, these peoples had been completely split into the eastern Turks, who occupied most of the Chinese northern frontier, and the immensely powerful western Turks, whose dominions stretched westward to the north of the Tarim Basin as far as Sasanian Persia and Afghanistan. During the early part of Yangdi’s reign, the western Turks, whose ruler, Chuluo, was part Chinese, were on good terms with the Sui. In 610, however, Yangdi supported a rival, Shegui, who drove out Chuluo. The latter took service, with an army of 10,000 followers, at Yangdi’s court. When Sui power began to wane after 612, the western Turks under Shegui gradually replaced the Sui garrisons in Central Asia and established control over the states of the Tarim Basin. The eastern Turks had remained on good terms with the Sui, their khans being married to Chinese princesses. In 613 Pei Ju, Yangdi’s principal agent in dealing with the foreign states of the north, attempted unsuccessfully to dethrone the eastern Turkish khan and split up his khanate. Relations with the Turks rapidly deteriorated, and in the last years of his reign Yangdi had to contend with a hostile and extremely powerful neighbor.

His most costly venture was a series of campaigns in Korea. At that time Korea was divided into three kingdoms, of which the northern one, Koguryŏ, was the most important and powerful. It was hostile to the Chinese and refused to pay homage to Yangdi. Yangdi made careful preparations for a punitive campaign on a grand scale, including construction of the Yongjiqu Canal from Luoyang to Beijing. In 611 the canal was completed; a great army and masses of supplies were collected, but terrible floods in Hebei delayed the campaign.

During 612, 613, and 614, Yangdi campaigned against the Koreans. The first two campaigns were unsuccessful and were accompanied by the outbreak of many minor rebellions in Shandong and southern Hebei. The severe repression that followed led to outbreaks of disorder throughout the empire. In 614 yet another army was sent into Korea and threatened the capital at P’yŏngyang, but it had to withdraw without a decisive victory. These futile campaigns distracted Yangdi’s attention from the increasingly vital internal problems of his empire, involved an immense loss of life and matériel, and caused terrible hardships among the civilian population. They left the Sui demoralized, militarily crippled, and financially ruined.

At that point, Yangdi decided to secure his relations with his northern neighbors. His envoy, Pei Ju, had continued to intrigue against the eastern Turkish khan, in spite of the fact that the Sui were no longer in a position of strength. When in the summer of 615 Yangdi went to inspect the defenses of the Great Wall, he was surrounded and besieged by the Turks at Yanmen; he was rescued only after a month of peril.

Rebellions and uprisings soon broke out in every region of the empire. Late in 616 Yangdi decided to withdraw to his southern capital of Jiangdu, and much of northern China was divided among rebel regimes contending with one another for the succession to the empire. Yangdi remained nominally emperor until the spring of 618, when he was murdered by members of his entourage at Jiangdu. However, by 617 the real powers in China had become the various local rebels: Li Mi in the area around Luoyang, Dou Jiande in the northeast, Xue Ju in the far northwest, and Li Yuan (who remained nominally loyal but had established a local position of great power) in Shanxi. At the beginning of 617, Li Yuan inflicted a great defeat on the eastern Turks and thus consolidated his local power in the impregnable mountainous area around Taiyuan. In the summer of 617 he raised an army and marched on the capital with the aid of the Turks and other local forces; Chang’an fell at year’s end. Xue Ju’s northwestern rebels were crushed, and the armies of Li Yuan occupied Sichuan and the Han River valley. A Sui prince, Gongdi, was enthroned as “emperor” in 617, while Yangdi was designated “retired emperor.” In the summer of 618, after Yangdi’s death, Li Yuan (known by his temple name, Gaozu) deposed his puppet prince and proclaimed himself emperor of a new dynasty, the Tang, which was to remain in power for nearly three centuries.

The Tang dynasty

Early Tang (618–626)

When Gaozu became emperor (reigned 618–626), he was still only one among the contenders for control of the empire of the Sui. It was several years before the empire was entirely pacified. After the suppression of Xue Ju and the pacification of the northwest, the Tang had to contend with three principal rival forces: the Sui remnants commanded by Wang Shichong at Luoyang, the rebel Li Mi in Henan, the rebel Dou Jiande in Hebei, and Yuwen Huaji, who had assassinated the previous Sui emperor Yangdi and now led the remnants of the Sui’s southern armies. Wang Shichong set up a grandson of Yangdi at Luoyang as the new Sui emperor. Yuwen Huaji led his armies to attack Luoyang, and Wang Shichong persuaded Li Mi to return to his allegiance with the Sui and help him fight Yuwen Huaji. Li Mi defeated Yuwen Huaji’s armies but seriously depleted his own forces. Wang Shichong, seeing the chance to dispose of his most immediate rival, took over Luoyang and routed Li Mi’s forces. Li Mi fled to Chang’an and submitted to the Tang. In the spring of 619 Wang Shichong deposed the puppet Sui prince at Luoyang and proclaimed himself emperor.

The Tang armies gradually forced him to give ground in Henan, and by 621 Gaozu’s son Li Shimin was besieging him in Luoyang. At that time Wang Shichong attempted to form an alliance with Dou Jiande, the most powerful of all the Sui rebels, who controlled much of Hebei and who had completed the defeat of Yuwen Huaji’s forces in 619. He held the key area of southern Hebei, where he had successfully resisted both the Tang armies and the forces of Wang and Li Shimin. Dou now agreed to come to the aid of the beleaguered Wang, but in the spring of 621 Li Shimin attacked his army before it could lift the siege, routed it, and captured Dou. Wang then capitulated. The Tang had thus disposed of its two most powerful rivals and extended its control over most of the eastern plain, the most populous and prosperous region of China.

This was not the end of resistance to the Tang conquest. Most of the surrendered rebel forces had been treated leniently, and their leaders were often confirmed in office or given posts in the Tang administration. However, Dou was executed and Wang was murdered on his way into exile. At the end of 621 Dou’s partisans in the northeast again rebelled under Liu Heita and recaptured most of the northeast. He was finally defeated by a Tang army under the crown prince Jiancheng at the beginning of 623. The prolonged resistance in Hebei and the comparatively harsh Tang conquest of the region were the beginning of resistance and hostility in the northeast that continued to some degree throughout the Tang dynasty.

Resistance was not confined to the northeast. Liu Wuzhou in far northern Shanxi, who had been a constant threat since 619, was finally defeated and killed by his former Turkish allies in 622. In the south during the confusion at the end of the Sui, Xiao Xian had set himself up as emperor of Liang, controlling the central Yangtze region, Jiangxi, Guangdong, and Annam (Vietnam). The Tang army descended the Yangtze from Sichuan with a great fleet and defeated Xiao Xian’s forces in two crucial naval battles. In 621 Xiao Xian surrendered to the Tang, who thus gained control of the central Yangtze and the far south. The southeast was occupied by another rebel, Li Zitong, based in Zhejiang. He too was decisively defeated near present-day Nanjing at the end of 621. As had been the case with Xiao Xian’s dominions, the southeast was incorporated into the Tang empire with a minimum of fighting and resistance. A last southern rebellion by Fu Gongtuo, a general who set up an independent regime at Danyang (Nanjing) in 624, was speedily suppressed. After a decade of war and disorder, the empire was completely pacified and unified under the Tang house.

Administration of the state

The Tang unification had been far more prolonged and bloody than the Sui conquest. That the Tang regime lasted for nearly three centuries rather than three decades, as with the Sui, was largely the result of the system of government imposed on the conquered territories. The emperor Gaozu’s role in the Tang conquest was understated in the traditional histories compiled under his successor Taizong (Li Shimin; reigned 626–649), which portrayed Taizong as the prime mover in the establishment of the dynasty. Taizong certainly played a major role in the campaigns, but Gaozu was no figurehead. Not only did he direct the many complex military operations, but he also established the basic institutions of the Tang state, which proved practicable not only for a rapidly developing Chinese society but also for the first centralized states in societies as diverse as those of Japan, Korea, Vietnam, and the southwestern kingdom of Nanzhao.

The structure of the new central administration resembled that of Wendi’s time, with its ministries, boards, courts, and directorates. There was no radical change in the dominant group at court. Most of the highest ranks in the bureaucracy were filled by former Sui officials, many of whom had been the new emperor’s colleagues when he was governor in Taiyuan, or by descendants of officials of the Bei Zhou, Bei Qi, or Sui or of the royal houses of the northern and southern dynasties. The Tang were related by marriage to the Sui royal house, and a majority of the chief ministers were related by marriage to either the Tang or Sui imperial family. The emperor’s court was composed primarily of men of similar social origins. At that level the Tang in its early years, like the Sui before it, continued the pattern of predominantly aristocratic rule that had dominated the history of the northern courts.

Gaozu also continued the pattern of local administration established under the Sui and maintained the strict control exercised by the central government over provincial appointments. In the first years after the Tang conquest, many prefectures and counties were fragmented to provide offices for surrendered rebel leaders, surrendered Sui officials, and followers of the emperor. But these new local districts were gradually amalgamated and reduced in number, and by the 630s the pattern of local administration closely resembled that under the Sui. The merging of the local officials into the main bureaucracy, however, took time; ambitious men still looked upon local posts as “exile” from the main current of official promotion at the capital. Until well into the 8th century many local officials continued to serve for long terms, and the ideal of a regular circulation of officials prevailed only gradually.

Local government in early Tang times had a considerable degree of independence, but each prefecture was in direct contact with the central ministries. In the spheres of activity that the administration regarded as crucial—registration, land allocation, tax collection, conscription of men for the army and for corvée (unpaid labor) duty, and maintenance of law and order—prefects and county magistrates were expected to follow centrally codified law and procedure. They were, however, permitted to interpret the law to suit local conditions. Local influences remained strong in the prefectures and counties. Most of the personnel in these divisions were local men, many of them members of families of petty functionaries.

Fiscal and legal system

Gaozu had inherited a bankrupt state, and most of his measures were aimed at simple and cheap administration. His bureaucracy was small, at both the central and local levels. The expenses of government were largely met by land endowments attached to each office, the rents from which paid office expenses and salaries, by interest on funds of money allocated for similar purposes, and by services of taxpayers who performed many of the routine tasks of government as special duties, being exempted from tax in return.

Land distribution followed the equal-allocation system used under the northern dynasties and the Sui. Every taxable male was entitled to a grant of land—part of which was to be returned when he ceased to be a taxpayer at age 60 and part of which was hereditary. The disposal of landed property was hedged around with restrictive conditions. Great landed estates were limited to members of the imperial clan and powerful officials, various state institutions, and the Buddhist foundations. Although some land was hereditary, and more and more passed into the hereditary category with the passage of time, the lack of primogeniture meant that landholdings were fragmented among all the sons in each generation and thus tended to be small. It is unlikely that the system was ever enforced to the letter in any region, and it was probably never enforced at all in the south. But as a legal system governing registration of landed property and restricting its disposal, it remained in force until An Lushan’s rebellion in the 8th century.

The tax system based on this land allocation system was also much the same as that under the Sui and preceding dynasties. Every adult male annually paid a head tax in grain and cloth and was liable to 20 days of work for the central government (normally commuted into a payment in cloth) and to a further period of work for the local authorities. Revenues were collected exclusively from the rural population—the trade sector and the urban communities being exempt—and the system bore more heavily on the poor, since it ignored the taxpayer’s economic status.

The Sui had made a somewhat desultory attempt to provide China with a unified coinage. Gaozu set up mints and began the production of a good copper currency that remained standard throughout the Tang era. But cash was in short supply during most of the 7th century and had to be supplemented by standard-sized lengths of silk. Counterfeiting was rife, particularly in the Yangtze valley, where the southern dynasties had supported a more highly monetized economy and where the governments had exploited commerce as a source of revenue.

Gaozu also undertook a new codification of all centralized law, completed in 624. It comprised a code that embodied what were considered basic, unchanging normative rules, prescribing fixed penalties for defined offenses; statutes, comprising the general body of universally applicable administrative law; regulations, or codified legislation supplementary to the code and statutes; and ordinances, detailed procedural laws supplementing the statutes and issued by the departments of the central ministries. Under the early Tang this body of codified law was revised every 20 years or so. The systematic effort to maintain a universally applicable codification of law and administrative practice was essential to the uniform system of administration that the Tang succeeded in imposing throughout its diverse empire. The Tang code proved remarkably durable: it was still considered authoritative as late as the 14th century and was used as a model by the Ming. It was also adopted, with appropriate modifications, in Japan in the early 8th century and by the Koreans and the Vietnamese at a much later date.

Gaozu thus laid down, at the outset of the 7th century, institutions that survived until the mid-8th century. These provided strong central control, a high level of administrative standardization, and highly economical administration.

The period of Tang power (626–755)

Two of Gaozu’s sons were rivals for the succession: the crown prince Jiancheng and Li Shimin, the general who had played a large part in the wars of unification. Their rivalry, and the factional strife it generated, reached a peak in 625–626, when it appeared that Jiancheng was likely to succeed. In a military coup, Li Shimin murdered Jiancheng and another of his brothers and forced his father to abdicate in his favor. He succeeded to the throne in 626 and is known by his temple name, Taizong.