An Lushan Rebellion
The Tang dynasty, established in 618 CE, after experiencing its golden age entered its long decline, beginning with the An Lushan Rebellion by Sogdian general An Lushan. The rebellion spanned the reigns of three Tang emperors before it was finally quashed, and involved a wide range of regional powers; besides the Tang dynasty loyalists, others involved were anti-Tang families, especially in An Lushan's base area in Hebei, and Arab, Uyghur, and Sogdian forces or influences, among others. The rebellion and subsequent disorder resulted in a huge loss of life and large-scale destruction. It significantly weakened the Tang dynasty and led to the loss of the Western Regions.
The power of the jiedushi, or provincial military governors, increased greatly after imperial troops crushed the rebels, taking administrative power away from the scholar-officials. The discipline of these generals also decayed as their power increased and the resentment of common people against the incapacity of the government grew, and their grievances exploded into several rebellions during the mid-9th century. Eventually the jiedushi ushered in the political division of the Five Dynasties and Ten Kingdoms period, a period marked by continuous infighting among the rival kingdoms, dynasties, and regional regimes established by rival jiedushi. Many impoverished farmers, tax-burdened landowners, and merchants, as well as many large salt smuggling operations, formed the base of the anti-government rebellions of this period.
Tang warrior
A Tang pottery warrior from Duan's Tomb, Shaanxi.
The An Lushan Rebellion and its aftermath greatly weakened the centralized bureaucracy of the Tang dynasty, especially in regards to its perimeters. Virtually autonomous provinces and ad hoc financial organizations arose, reducing the influence of the regular bureaucracy in Chang'an. The Tang dynasty's desire for political stability in this turbulent period also resulted in the pardoning of many rebels. Indeed, some were even given their own garrisons to command. Political and economic control of the northeast region became intermittent or was lost, and the emperor became a sort of puppet, set to do the bidding of the strongest garrison. Furthermore, the Tang government also lost most of its control over the Western Regions due to troop withdrawal to central China to attempt to crush the rebellion and deal with subsequent disturbances. Continued military and economic weakness resulted in further erosions of Tang territorial control during the ensuing years, particularly in regard to the Uighur and Tibetan empires. By 790 Chinese control over the Tarim Basin area was completely lost.
The political decline was paralleled by economic decline, including large Tang governmental debt to Uighur money lenders. In addition to being politically and economically detrimental to the empire, the An Lushan Rebellion also affected the intellectual culture of the Tang dynasty. Many intellectuals had their careers interrupted, giving them time to ponder the causes of the unrest. Some lost faith in themselves, concluding that a lack of moral seriousness in intellectual culture had been the cause of the rebellion.
Collapse of the Tang Dynasty
In addition to natural calamities and jiedushi amassing autonomous control, the Huang Chao Rebellion (874–884) resulted in the sacking of both Chang'an and Luoyang, and took an entire decade to suppress. Although the rebellion was defeated by the Tang, the dynasty never recovered from that crucial blow, weakening it for future military powers to take over. There were also groups of bandits, the size of small armies, that ravaged the countryside in the last years of the Tang. These bandits smuggled illicit salt, ambushed merchants and convoys, and even besieged several walled cities.
Zhu Wen, originally a salt smuggler who had served under the rebel Huang, surrendered to Tang forces. For helping to defeat Huang, he was granted a series of rapid military promotions. In 907 the Tang dynasty was ended when Zhu Wen, now a military governor, deposed the last emperor of Tang, Emperor Ai of Tang, and took the throne for himself. A year later the deposed Emperor Ai was poisoned by Zhu Wen, and died. Zhu Wen was known posthumously as Emperor Taizu of Later Liang. He established the Later Liang, which inaugurated the Five Dynasties and Ten Kingdoms period.