Timeline of the Tang dynasty

Information on areas and events relevant to the Tang dynasty such as the Wu Zhou interregnum, when Wu Zetian established her own dynasty, and other realms such as the Sui dynasty, Tibetan Empire, Nanzhao, the Three Kingdoms of Korea, Japan, and steppe nomads are also included where necessary.
7th Century
610s
YearDateEvent
617Shibi Khan of the Eastern Turkic Khaganate aids Li Yuan in his rebellion against the Sui dynasty
61811 AprilEmperor Yang of Sui is killed by strangulation in a coup led by his general Yuwen Huaji in Jiangdu
12 JuneLi Yuan (Emperor Gaozu of Tang - note that Tang emperor naming convention uses the posthumous Temple Name) deposes Yang You and founds the Tang dynasty; so ends the Sui dynasty
29 NovemberBattle of Qianshuiyuan: Li Shimin defeats pretender Xue Rengao and his short lived state of Qin
619Wang Bo (王薄) and Du Fuwei surrender to Tang
Some of the most powerful independent forces include Wang Shichong in Luoyang, Liu Wuzhou in north Shanxi, Dou Jiande in Hebei, and Shen Faxing in the south
Yuwen Huaji is killed by Dou Jiande
620s
YearDateEvent
620Li Shimin defeats Liu Wuzhou
62128 MayBattle of Hulao: Tang forces defeat the warlord Dou Jiande and he is captured by Li Shimin
Tang forces defeat Wang Shichong and take Luoyang
Dou Jiande's general Liu Heita rebels
622Rebel Li Zitong tries to flee from Chang'an but is arrested and executed
Illig Qaghan of the Eastern Turkic Khaganate attacks Tang
623Tuyuhun invasion of Gansu: Chai Shao defeats a Tuyuhun invasion of Gansu
Li Jiancheng defeats Liu Heita; Liu Heita is captured and killed
Fu Gongshi declares himself emperor in Danyang, Jiangsu (Nanjing)
624Fu Gongshi is killed; Tang forces conquer the south
Zu Yong Diao tax system is implemented
Illig Qaghan of the Eastern Turkic Khaganate and his nephew Tölis Qaghan (Ashina Shibobi) invade the Tang dynasty but Li Shimin contacts Tölis and persuades him not to attack, forcing the invasion to a halt
625Eastern Turkic Khaganate launches repeated raids in northern frontier areas; some raids reach as far south as Shanxi; largest one was directed by Illig Qaghan against Shuozhou (in north Shanxi) but is repulsed
6262 JulyXuanwu Gate Incident: Li Shimin kills his brothers the crown prince Li Jiancheng and Li Yuanji at Chang'an
4 SeptemberEmperor Gaozu of Tang is forced into retirement and Li Shimin becomes emperor (Taizong)
AutumnIllig Qaghan of the Eastern Turkic Khaganate raids to within a few miles of Chang'an and withdraws after Emperor Taizong of Tang agrees to a payment of tribute.
627A large number of prefectures and counties are combined or abolished; the Ten Circuits are introduced
Tang dynasty and Uyghur forces engage in battle with the Turks and Tibetans
6283 JuneRebel Liang Shidu dies from assassination
629Buddhist monk Xuanzang sets off for the west
630s
YearDateEvent
630Tang campaign against the Eastern Turks: Illig Qaghan of the Eastern Turkic Khaganate is defeated by Li Jing of the Tang dynasty and captured by Li Shiji but released; the Eastern Turkic Khaganate becomes a vassal of Tang; Emperor Taizong of Tang becomes heavenly qaghan
Japanese missions to Tang China: Japan sends its first mission to the Tang dynasty
631Gao Biaoren (高表仁) accompanies Japanese embassy back to Japan
632Khotan (Yutian) and Kashgar (Shule) submit to the Tang dynasty as vassals
Qibi Heli of the Tiele bring more than 1,000 households to Tang
634Yong'an Palace (永安宮) (Daming Palace) is completed
Songtsen Gampo of the Tibetan Empire sends an embassy to the Tang
635Emperor Taizong's campaign against Tuyuhun: Emperor Taizong of Tang launches a campaign against Tuyuhun, a Xianbei empire to the west, and annexes the area
Yarkand (Shache) submits to the Tang dynasty.
Yong'an Palace renamed Daming Palace
636The fubing system is revised to comprise 634 intrepid garrisons (zhechong fu 折衝府)
638Gar Tongtsen Yulsung of the Tibetan Empire arrives in Tang to ask for a princess bride
The Tibetan Empire attacks the city of Songzhou, now modern Songpan, in Sichuan
639Census estimates a total population of 50 million residing within Tang administered territory
640s
YearDateEvent
640Tang campaign against Karakhoja: Hou Junji conquers Karakhoja and annexes Gaochang (Turpan, Xinjiang); the Protectorate General to Pacify the West is created
Gar Tongtsen Yulsung of the Tibetan Empire arrives in Tang with tribute and successfully requests for a princess bride
641Princess Wencheng, an imperial sororal kin of the Tang dynasty, arrives in Tibet as Songtsen Gampo's bride
643Crown Prince Li Chengqian is deposed
644Emperor Taizong of Tang starts preparations for a campaign against Goguryeo
Tang campaigns against Karasahr: Tang general Guo Xiaoke attacks Karasahr and achieves military victory but Karasahr remains a vassal of the Western Turkic Khaganate
Aksu (Gumo) submits to Tang
645First campaign in the Goguryeo–Tang War: Emperor Taizong of Tang leads an invasion of Goguryeo in person but withdraws after failure to conquer Anshi (northeast of Yingkou, Liaoning)
Xuanzang returns from India
646Emperor Taizong's campaign against Xueyantuo: Tang forces defeat Xueyantuo in battle and their khan surrenders
647Li Shiji leads another campaign against Goguryeo, but does not succeed
648Emperor Taizong of Tang launches one more campaign against Goguryeo unsuccessfully
Tang campaign against Kucha: Tang general Ashina She'er conquers Kucha (Qiuci)
Songtsen Gampo of the Tibetan Empire attacks Arjuna, usurper of Harsha of Mithila, for accosting the Tang ambassador Wang Xuance
Khitans submit to Tang as vassals
64910 JulyEmperor Taizong of Tang succumbs to illness, possibly from the pills he took from his alchemists, and dies, his son Li Zhi succeeds him and becomes Emperor Gaozong of Tang
The campaign against Goguryeo is called off
650s
YearDateEvent
650Earliest known extant piece of printed text appears in Chang'an: a fragment of a Buddhist dhāraṇī scroll written in Sanskrit, known as the Great spell of unsullied pure light (Wugou jingguang da tuoluoni jing 無垢淨光大陀羅尼經)
653A woman claims the title of emperor and rises in rebellion, causing widespread disruption for a few weeks before she is defeated and dies
655Wu Zetian is set up as empress
656Cheng Yaojin defeats the Karluk and Turgesh forces of the Western Turkic Khaganate
657Battle of Irtysh River: Ashina Helu of the Western Turkic Khaganate is defeated by Su Dingfang of the Tang dynasty
658Conquest of the Western Turks: Ashina Helu of the Western Turkic Khaganate is defeated by Su Dingfang of the Tang dynasty and lives out the rest of his days in Chang'an; the Western Turkic Khaganate is annexed by Tang
Luoyang becomes the Eastern Capital
659Evidence of a dental amalgam appears in the medical text Newly Revised Herbal Foundation (《新修本草》, Xīnxiū Běncǎo) written by Su Gong (苏恭), manufactured from tin and silver.
660s
YearDateEvent
660Su Dingfang defeats Baekje
Tibetan Empire and their Turkic allies attack Shule
Tang attacks the Khitans and captures their leader Abugu, sending him back to Luoyang
Emperor Gaozong of Tang begins suffering from severe headaches as well as loss of vision and yields decision-making power to Wu Zetian
661Su Dingfang lays siege to Pyongyang
Peroz III of the Sasanian Empire requests military aid from Tang against the Arab invasion of Persia
662Tang troops lift siege of Pyongyang due to lack of food supplies
Liu Rengui inflicts a fatal blow on Baekje
The Daming Palace is rebuilt
663Battle of Baekgang: Liu Rengui and others vanquish Baekje, having defeated a combined Baekje and Yamato fleet
Tibetan Empire attacks Yutian but are repelled
The Daming Palace is completed
664Liu Rengui sends a memorial to the emperor reporting low morale of troops in Korea
Emperor Gaozong of Tang makes a failed attempt to depose Wu Zetian
665Wu Zetian becomes the de facto ruler
Tibetan Empire and Turkic allies attack Yutian
667Xue Rengui achieves a decisive victory against Goguryeo
668Li Shiji sacks Pyongyang and conquers Goguryeo; the Protectorate General to Pacify the East is established
669General Li Shiji dies
670s
YearDateEvent
670Battle of Dafei River: Tibetan Empire destroys Xue Rengui's allegedly 100,000 strong army, captures Qiuci, and attacks Gumo
Peroz III arrives at the Tang court
673Tang captures Qiuci
Tang consolidates control over the Wudoulu Turks living in the area that came to be known as Dzungaria
675Tang defeats Silla in Gyeonggi
676Tibetan Empire attacks Die, Fu, and Jing prefectures. Fengtian and Wugong are sacked.
The Protectorate General to Pacify the East relocates to Liaoyang
677Tibetan Empire captures Qiuci
Ashina Duzhi, previously a Tang general tasked with controlling the Wuduolu Turks, rebels and declares himself Onoq Khagan, ruler of all Turks.
The Protectorate General to Pacify the East relocates to Xincheng, in modern Fushun, Liaoning
678Tibetan Empire defeats a Tang army in the Qinghai region
Pei Xingjian (裴行儉) attempts to escort Peroz III back to Persia and makes it as far as Suiye (Tokmok, Kyrgyzstan)
679Pei Xingjian escorts Peroz's son Narsieh to Suiye, and Narsieh spends 20 years in Tukhara
Pei Xingjian defeats a rebellion by Onoq Qaghan (Ashina Fuyan Duzhi 阿史那匐延都支) and Li Zhefu (李遮匐)
Pei Xingjiang defeats the Tibetans and re-establishes control over the Tarim oasis states
Ashide Wenfu and Ashide Fengzhi of the Chanyu Protectorate make Ashina Nishufu a Khagan and revolt against Tang dynasty.
680s
YearDateEvent
680Pei Xingjian defeats Ashina Nishufu and Ashina Nishufu is killed by his men.
Ashide Wenfu makes Ashina Funian a Khagan and revolts against Tang dynasty.
Pei Xingjian convinces Ashina Funian to surrender; Funian is executed in Chang'an
Tibetan Empire expands aggressively into Xiyu (Western Regions) and captures of the fortress of Anrong in Sichuan
681Ilterish Qaghan revolts with the remnants of Ashina Funian's men.
Tibetan Empire invades the Qinghai region but is defeated by a Tang army
682Ilterish Qaghan establishes the Second Turkic Khaganate and attacks Tang
68327 DecemberEmperor Gaozong of Tang succumbs to illness and dies, his son Li Xian succeeds him and becomes Emperor Zhongzong of Tang
Ilterish Qaghan of the Second Turkic Khaganate attacks Tang
68426 FebruaryWu Zetian deposes Emperor Zhongzong of Tang, replaces him with Emperor Ruizong of Tang
Xu Jingye rebels in Yangzhou and fails
Ilterish Qaghan of the Second Turkic Khaganate attacks Tang
685Ilterish Qaghan of the Second Turkic Khaganate attacks Tang
686Tang troops withdraw from the Four Garrisons of Anxi after elements within the court argue for the decrease of military expenditures
687Ilterish Qaghan of the Second Turkic Khaganate attacks Tang
Lý Tự Tiên and Đinh Kiến revolt at Đại La in response to a raise in harvest tax
688Wu Zetian carries out killing of Tang princes and princesses
689The ritual structure Mingtang (Hall of Brightness) is set up in Luoyang
690s
YearDateEvent
69016 OctoberWu Zetian starts the first official Palace Examination (dianshi 殿試)
Wu Zetian declares herself emperor of the Zhou dynasty in Luoyang
Tibetan Empire defeats a Tang army at Issyk-Kul
692Tang forces reconquer the Four Garrisons of Anxi from Tibetan Empire
693Qapaghan Qaghan of the Second Turkic Khaganate conducts raids against the Tang dynasty
Commoners and gentry from non-elite backgrounds are permitted to take the imperial examinations.
694Tibetan Empire attacks the Stone City (Charklik).
Qapaghan Qaghan of the Second Turkic Khaganate conducts raids against Tang
696Qapaghan Qaghan of the Second Turkic Khaganate defeats the Khitans to the east and raids Tang
Li Jinzhong (Mushang Khan) of the Khitans along with his brother-in-law Sun Wanrong revolt against Tang hegemony and attack Hebei; Li dies soon after and Sun succeeds him
Tibetan Empire defeats a Tang army at Tao Prefecture and attacks Liang Prefecture
697The Zhang brothers Yizhi and Changzong are admitted into the palace to attend on Wu Zetian
Qapaghan Qaghan of the Second Turkic Khaganate defeats the Khitans and conducts raids against Tang
698Battle of Tianmenling: Dae Jo-yeong's Goguryeo remnants and Mohe people defeat Tang forces
Dae Jo-yeong establishes the state of Jin (震) in northern Korea, later renamed Balhae (渤海) in 712
Qapaghan Qaghan of the Second Turkic Khaganate conducts raids against the Tang dynasty
699Ko Tŏngmu rebels and creates Lesser Goguryeo; the Protectorate General to Pacify the East is moved to Pingzhou, in modern Lulong County
8th Century
700s
YearDateEvent
700Tridu Songtsen of the Tibetan Empire attacks He and Liang prefectures
701Tridu Songtsen of the Tibetan Empire allies with Turks and attacks Liang, Song, and Tao prefectures
702Qapaghan Qaghan of the Second Turkic Khaganate conducts raids against the Tang dynasty
Tibetan Empire attacks Mao Prefecture
Military examinations are introduced to recruit new officers as a response to the breakdown of the fubing system.
70523 FebruaryZhang Jianzhi kills the Zhang brothers in a coup and restores the Tang with Emperor Zhongzong of Tang as emperor (Shenlong Coup [zh]); Wu Zetian dies from illness not long after
The earliest known printed text created specifically for reading, the Lotus Sutra, is dated to this year
706Qapaghan Qaghan of the Second Turkic Khaganate conducts raids against the Tang dynasty
707Crown Prince Li Chongjun starts a coup in which he kills Wu Sansi and assaults the palace; the coup fails and he is killed by his own soldiers while fleeing
Qapaghan Qaghan of the Second Turkic Khaganate conducts raids against Tang
708Turgesh attacked Qiuci
Peroz III arrives back at the Tang court
710s
YearDateEvent
7103 JulyEmperor Zhongzong of Tang is poisoned to death by Empress Wei (his second wife), and Princess Anle, their daughter; Emperor Zhongzong of Tang's youngest son Emperor Shang of Tang succeeds the throne
25 JulyEmperor Gaozong of Tang's daughter Princess Taiping instigates a coup and grandson Li Longji kills Empress Wei; Emperor Shang of Tang is replaced by Emperor Ruizong of Tang
Princess Jincheng, a great-granddaughter of Emperor Gaozong of Tang, is sent to Tibet as a bride; the Tibetans are granted Jiuqu (九曲), the land north of the Yellow River in Gansu by Emperor Ruizong of Tang
Zhang Xuanbiao of the Tang dynasty invades northeastern Tibet
711The post of jiedushi is created
7128 SeptemberEmperor Ruizong of Tang abdicates in favor of his son Li Longji (Emperor Xuanzong of Tang)
Jin renames itself Balhae
713Princess Taiping is ordered to kill herself after her failed attempt to unseat Emperor Xuanzong of Tang
Construction begins on the Leshan Giant Buddha
714Tibetan Empire attacks Lintao and Weiyuan as well as Lan and Wei prefectures, but ultimately suffer a major defeat and are repelled
715Zhang Xiaosong (張孝嵩) assists Fergana (Bahanna 拔汗那) in repulsing attacks by Tibetans and Arabs
Tibetan Empire attacks the Beiting Protectorate and Song Prefecture
716Khitans break alliance with the Turks and ally with Tang
717Battle of Aksu (717): Turgesh, Arabs, and Tibetan Empire attacks Gumo and the Stone City.
A Tibetan army was defeated by Guo Zhiyun at the "Bends of the Yellow River"
719Turgesh captures Suiye
720s
YearDateEvent
720Bilge Khagan of the Second Turkic Khaganate invades the Tang dynasty and extracts tribute
The governor-general of Ying Prefecture sends 500 Tang soldiers to interfere in Khitan conflicts but is defeated
Tibetan Empire seizes the Stone City
Tang bestows titles on the kings of Oddiyana, Khuttal, and Chitral
722Tang assists Lesser Bolü (小勃律, a city state centering modern Gilgit, Pakistan, in Kashmir) in repulsing advancing Tibetan troops
Mai Thúc Loan rebels in Annan and is defeated
723Princess Jincheng writes to Lalitaditya Muktapida of the Karkoṭa Empire asking for asylum. In response he contacts Zabulistan and forms an alliance against the Tibetan Empire.
724Wang Junchuo launches an attack on the Tibetan Empire and scores a victory
725The king of Khotan rebels but is immediately replaced with a Tang puppet by the Anxi Protectorate
726Turgesh attacks Qiuci
Stag sgra khon lod of the Tibetan Empire attacks Gan Prefecture but most of their forces die in a snowstorm and the rest are mopped up by Wang Junchuo
727Stag sgra khon lod and Cog ro Manporje of the Tibetan Empire and the Turgesh attack Qiuci and Gua Prefecture
728Tibetan Empire attacks Qiuci
729Zhang Shougui (張守珪) inflicts a major defeat on the Tibetan Empire at Xining
730s
YearDateEvent
730Ketuyu of the Khitans attacks Tang
732Tang forces inflict heavy casualties on the Khitans and Kumo Xi
733A Tang-Kumo Xi army attacks a Turk-Khitan army
734Tang and Tibetan Empire demarcate their territory Chiling Mountain with a boundary tablet
Zhang Shougui defeats Khitan forces in Youzhou (Hebei)
735Turgesh attack Ting Prefecture.
736An Lushan attacks the Khitans but is defeated
737Piluoge (皮羅閣) unites the six zhaos (kingdoms) with Tang support
Hexi jiedushi Cui Xiyi makes a covenant with the Tibetan general in Koko-nor, Yilishu, to relax border defenses so their soldiers can engage in agriculture and animal husbandry. A white dog is sacrificed to seal the covenant.
738Tang captures and loses Anrong to the Tibetan Empire
739Tang scores a major victory against the Tibetan Empire at Shan Prefecture
The Tang Institutions of Six Administrative Divisions (Tang Liudian 唐六典) is completed
740s
YearDateEvent
740Tang captures Anrong from the Tibetan Empire
An Lushan attacks the Khitans
741Tibetan Empire attacks Tang in the Qinghai region but is repelled; the Tibetans sack the Stone City on their way back
742Huangfu Weiming of Longyou and Wang Chui of Hexi invade northeastern Tibet and kill several thousand Tibetans
743Tang recovers the Jiuqu (九曲) area from the Tibetan Empire
The Protectorate General to Pacify the East is relocated to the Old City of Liaoxi, possibly Ying Prefecture (modern Chaoyang, Liaoning.
745Tibetan Empire defeats a Tang army at the Stone City
Two Khitan tribes revolt and are defeated by An Lushan
747Gao Xianzhi marches across the Pamirs with 10,000 men and conquers Little Balur (Gilgit), a client state of the Tibetan Empire
748Tang constructs a fortress on an island on the Qinghai Lake, pacifying the northern Qinghai region
Tang recaptures Suyab and destroys it
749The fubing system is all but abolished
Longyou defense command under Geshu Han attacks Tibetan Empire and retakes the Stone City but suffers heavy casualties
750s
YearDateEvent
750Tang defeats the Turgesh-Chach and executes the king of Chach
Chinese cultural dominance in Liaoning disappears and is replaced by Khitan culture
751Battle of Talas: Tang forces are defeated by Arabs
Xianyu Zhongtong attacks Nanzhao with an army of 80,000 but is utterly defeated, losing three quarters of his original force
752An Lushan attacks the Khitans
753Geshu Han ejects the Tibetans from the "Nine Bends" region on the upper course of the Yellow River
754Yang Guozhong invades Nanzhao but fails to engage with the enemy until supplies ran out, at which time they were attacked and routed
Monk Jianzhen arrives in Japan and establishes the Risshū (Buddhism) sect in Nara
755An Lushan Rebellion: An Lushan rebels and declares himself emperor of Yan
756springBattle of Yongqiu: Yan forces retreat from their siege of a Tang fortress
12 AugustEmperor Xuanzong of Tang flees Chang'an. On his way to Sichuan, he is forced to order the death of his favorite consort Yang Guifei and abdicates in favor of Emperor Suzong of Tang
The Taoist Mao Kua reports in his Pinglongren (Recognition of the Recumbent Dragon) that by heating saltpeter, the yin of the air can be obtained, which combines with sulphur, carbon, and metals other than gold.
757An Lushan is killed by his son An Qingxu
Battle of Suiyang: Yan forces emerge victorious with great losses
Tang counterattack under Guo Ziyi and Uyghur allies evict the Yan from Chang'an and Luoyang
An Qingxu flees across the Yellow River to southern Hebei
Tibetan Empire conquers Shan Prefecture
758Princess Ningguo, second daughter of Emperor Suzong of Tang, marries Bayanchur Khan of the Uyghur Khaganate
759An Qingxu is killed by rebel Shi Siming
Shi Siming occupies Luoyang
Jianzhen founds the Tōshōdai-ji in Nara, Japan
760s
YearDateEvent
760Yangzhou massacre: Troops under Tian Shengong slaughter Arab and Persian merchants in Yangzhou
Lu Yu (730s-circa 804) composes The Classic of Tea
761Shi Siming is killed by his son Shi Chaoyi
The Protectorate General to Pacify the East is abolished
7623 MayEmperor Xuanzong of Tang dies from depression
16 MayEmperor Suzong of Tang dies of a heart attack
18 MayEmperor Daizong of Tang ascends the throne
Tang army and Uyghur allies defeat Shi Chaoyi's army and retake Luoyang; both Tang soldiers and Uyghurs loot the city
763An Lushan Rebellion: Shi Chaoyi commits suicide and the An Lushan Rebellion ends
Tibetan Empire invades the Tang dynasty with an army of 100 000 and briefly occupies Chang'an for 15 days before retreating
Tibetan Empire conquers Yanqi
7645 JanuaryYan Wu (嚴武) is made jiedushi of Jiannan
FallTibetan Empire invades the Tang dynasty with a 70 000 strong army and takes Liang Prefecture but is repulsed by Yan Wu in Jiannan
765Tibetan Empire invades the Tang dynasty with 30 000 troops and Uyghur allies, advancing as far as Fengtian twice but are repulsed by Guo Ziyi, who convinced the Uyghurs to switch sides
766Tibetan Empire conquers Gan and Su prefectures.
767Sea people invade Annan and are defeated
770s
YearDateEvent
776Tibetan Empire conquers Gua Prefecture.
77910 JuneEmperor Daizong of Tang dies from illness; Emperor Dezong of Tang succeeds him
780s
YearDateEvent
780A group of Uyghurs and Sogdians are killed while leaving Chang'an with tribute. The Tang agree to 1,800,000 strings of cash in compensation.
The dual tax system is implemented
781Tibetan Empire conquers Yi Prefecture.
Guo Ziyi dies
782Wang Wujun of Chengde and Zhu Tao of Lulong join Tian Yue of Weibo in rebellion against Tang
783Tibetan Empire and Tang sign the Treaty of Qinshui, ending further hostilities
Li Xilie of Huaixi (south Henan) rebels
Emperor Dezong of Tang imposes housing and cash transaction taxes
Troops at Jing Prefecture mutiny in Chang'an and set up Zhu Ci as emperor
Emperor Dezong of Tang flees to Fengtian (奉天, in modern Xianyang)
784Emperor Dezong of Tang pardons Tian Yue et al.
Li Huaiguang of Shuofang rebels
Tibetan Empire aids Tang in crushing Zhu Ci's rebellion in return for ownership of the Anxi Protectorate and Beiting Protectorate
Li Sheng retakes Chang'an
Zhu Ci is killed
Tang breaks their promise to cede their protectorates to the Tibetan Empire and as a result the Treaty of Qingshui is annulled
785Phùng Hưng rebels in Annan
786Warlord Li Xilie is killed
Tibetan Empire conquers Yan and Xia prefectures
787Tibetan Empire double crosses Tang at the Treaty of Pingliang and captures many of the Tang officials and military leaders present
Tibetan Empire destroys Yan and Xia prefectures before abandoning them
Tibetan Empire captures Sha Prefecture and Qiuci
788Tang defeats the Tibetan Empire at Xi Prefecture
Princess Xian'an, eighth daughter of Emperor Dezong of Tang, marries Alp qutlugh bilge of the Uyghur Khaganate
789Tibetan Empire attacks Long, Jing, and Bing prefectures
790s
YearDateEvent
790Tibetan Empire conquers Ting Prefecture
791Tang regains control of Annan
792Tibetan Empire conquers Xi Prefecture and Yutian
793Tang general Wei Gao destroys 50 Tibetan strongholds and defeats a 30,000 strong Tibetan army, recovering Yan Prefecture
796Tibetan Empire attacks Qing Prefecture but the campaign abruptly ends when chief minister Nanam Shang Gyaltsen Lhanang dies
9th Century
800s
YearDateEvent
801Tang and Nanzhao defeat Tibetan Empire and their Abbasid slave soldiers
803Tang pushes the western border forward to Pingliang
Champa seizes southern Annan
The Leshan Giant Buddha is completed
804Merchants start using paper notes known as flying cash as a credit medium
Kukai visits China
80525 FebruaryEmperor Dezong of Tang dies; his son Li Song succeeds him and becomes Emperor Shunzong of Tang, who abdicates in favor of his son Li Chun, who becomes Emperor Xianzong of Tang
Wang Shuwen makes a failed attempt to take back military power from the eunuchs
806Emperor Xianzong of Tang pacifies military commanders in Jiannan and the lower Yangzi region
Kukai returns to Japan
808The Chuy branch of Shatuo Turks are defeated by the Tibetan Empire and move to Inner China
First confirmed reference to gunpowder appears in the Taishang Shengzu Jindan Mijue
809Emperor Xianzong of Tang attacks Chengde but fails
810s
YearDateEvent
812The Tang government takes over the merchant institution of using flying cash for the purpose of forwarding local taxes and revenues to the capital
814Wu Yuanji rebels in Huaixi (south Henan)
817Wu Yuanji is captured and killed
819Tibetan Empire attacks Qing Prefecture
820s
YearDateEvent
82014 FebruaryEmperor Xianzong of Tang dies, probably from being poisoned by eunuchs; his son Li Heng succeeds him and becomes Emperor Muzong of Tang
Dương Thanh rebels and seizes Đại La
821Tang and the Tibetan Empire sign a treaty of non-aggression with the Tang recognizing Tibet's ownership of the Western Regions as well as the Longyou and Hexi regions in what is now Gansu Province
Tibetan Empire attacks Tang but are driven off by the governor of Yan Prefecture
Princess Taihe, 17th daughter of Emperor Xianzong of Tang, marries Kün tengride ülüg bulmïsh alp küchlüg bilge of the Uyghur Khaganate
822The Uyghurs send troops to help the Tang fight against rebels, but their aid is refused; the Tang pay them 70,000 pieces of silk to go home.
823The Tang-Bo huimeng bei (Stele of the Tang-Tibetan alliance) is set up in Lhasa
82425 FebruaryEmperor Muzong of Tang dies; his son Li Zhan succeeds him and becomes Emperor Jingzong of Tang
8279 JanuaryEmperor Jingzong of Tang is killed by eunuchs; his brother Li Ang succeeds him and becomes Emperor Wenzong of Tang
829Nanzhao takes Chengdu and captures 20,000 Chinese engineers
830s
YearDateEvent
835Sweet Dew Incident: Li Zhongyan and others are killed after a failed attempt to eliminate the eunuchs
Tang court forbids privately printed calendars
837Tang regains control of Đại La
838Japanese monk Ennin visits China
840s
YearDateEvent
84010 FebruaryEmperor Wenzong of Tang dies; his brother Li Chan is placed on the throne by eunuchs and becomes Emperor Wuzong of Tang
Uyghur Khaganate enters decline in the aftermath of civil war
842Tibetan Empire enters decline after the death of Dharma
843A Tang army led by Shi Xiong attacks the Uyghurs displaced by the fall of their khaganate and slaughters 10,000 Uyghurs at "Kill the Foreigners" Mountain (Shahu)
Proscription against foreign religions begins, starting with Manichaeism
844Zhaoyi defense command (mainly in south Shanxi) is brought under control
845Great Anti-Buddhist Persecution: Emperor Wuzong of Tang instigates the third and largest proscription campaign against Buddhism in Chinese history; Zoroastrianism and Manichaeism are also targeted
84622 AprilEmperor Wuzong of Tang dies, probably from taking pills made by alchemists; his uncle Li Chen is placed on the throne by eunuchs and becomes Emperor Xuānzong of Tang
Nanzhao raids Annan
Ban on Buddhism is partially lifted
847Tang defeats a Tibetan army at Yan Prefecture
Ban on Buddhism is completely lifted
Japanese monk Ennin leaves for Japan
848Zhang Yichao, a resident of Sha Prefecture, rebels and captures Sha and Gua prefectures from the Tibetans
849Tibetan commanders and soldiers in east Gansu defect to the Tang
850s
YearDateEvent
850Zhang Yichao captures Gan, Su, and Yi prefectures and submits a petition to Emperor Xuānzong of Tang, offering his loyalty and submission
851Zhang Yichao captures Xi Prefecture and the Tang emperor makes him Guiyi Jiedushi (歸義節度使, Governor of the Guiyi Circuit) and Cao Yijin his secretary general
An Arab traveler records the use of toilet paper in China.
853Duan Chengshi publishes the Miscellaneous Morsels from Youyang, a text on Chinese and foreign folklore and legends; it contains the Ye Xian, an early version of the story of Cinderella
858Rebellion breaks out in Annan and is put down
A flood along the Grand Canal and on the North China Plain kills tens of thousands
Taoist text Zhenyuan miaodao yaolüe mentions the dangers of "fire medicine" (gunpowder)
8597 SeptemberEmperor Xuānzong of Tang dies; eunuchs place his son Li Wen on the throne and becomes Emperor Yizong of Tang
860s
YearDateEvent
860The Qiu Fu Uprising in Zhejiang is suppressed
861Nanzhao attacks Bo Prefecture and Annan but is repulsed.
Zhang Yichao retakes Liang Prefecture, extending the Guiyi Circuit's authority to Xi, Gua, Gan, Su, Yi, Lan, Shan, He, Min, Liang, and Kuo prefectures
863Nanzhao conquers Annan
866Zhang Yichao defeats bLon Khrom brZhe and seizes Ting Prefecture and Luntai but immediately loses them as well as Xi Prefecture to the Kingdom of Qocho
Tibetans retreat to the Tibetan Plateau
Gao Pian retakes Annan from Nanzhao
868Headed by Pang Xun, Guizhou garrison troops mutiny and move north
The oldest text containing a date of printing, the Diamond Sutra, is printed
869Pang Xun is defeated by Shatuo cavalry under Zhuye Chixin and dies
Kingdom of Qocho attacks the Guiyi Circuit but fails
Nanzhao lays siege to Chengdu but fails to capture it
870s
YearDateEvent
870Nanzhao lays siege to Chengdu (in Sichuan)
Kingdom of Qocho attacks the Guiyi Circuit but fails
87315 AugustEmperor Yizong of Tang becomes critically ill and dies; his son Li Yan is enthroned by eunuchs and becomes Emperor Xizong of Tang
874Wang Xianzhi rebels in Changyuan (in Henan)
875Huang Chao joins Wang Xianzhi in the rebellion
876Kingdom of Qocho conquers Yi Prefecture
877Nanzhao retreats from Qianzhong Circuit in modern Guizhou
Earliest known printed almanac, the Qianfu sinian lishu (乾符四年曆書), is dated to this year
878Wang Xianzhi dies; Huang Chao takes over
879Guangzhou Massacre: Huang Chao sacks Guangzhou (in Guangdong) and heads north
880s
YearDateEvent
880Huang Chao sacks Luoyang
Zeng Gun withdraws Tang troops from the south and relinquishes control over Annan
881Huang Chao occupies Chang'an; Emperor Xizong of Tang flees to Chengdu
Gan and Liang prefectures become independent
882Zhu Wen, Huang Chao's general, defects to Tang
883Huang Chao flees from Chang'an
Printed books are on sale in the market of Chengdu
884Huang Chao dies while being chased by Li Keyong
885Emperor Xizong of Tang returns to Chang'an
Qin Zongquan declares himself emperor, sacks Luoyang, and leaves
Lu Guangchou and Tan Quanbo rebel and capture Qian prefecture in Jiangxi
886Eunuch Tian Lingzi takes Emperor Xizong of Tang to Xingyuan (east of Hanzhong, Shaanxi) when Chang'an is threatened by Li Keyong and Wang Chongrong
Li Yun is set up as emperor by warlord Zhu Mei in Chang'an; both Yun and Mei are killed not long after
88820 AprilEmperor Xizong of Tang dies of illness; his brother Li Jie is enthroned by eunuchs and becomes Emperor Zhaozong of Tang
890s
YearDateEvent
890Zhu Wen and Li Keyong engage in a number of battles against each other
891Wang Jian enters Chengdu
Qian Liu enters Suzhou (in Jiangsu)
897Liu Yin, the jiedushi of Qinghai Circuit (Guangzhou), defeated a rebellion against him
898Liu Yin defeats the jiedushi Zeng Gun's attempt to seize his post
10th Century
YearDateEvent
900Zhu Wen takes control of Hebei
1 DecemberEmperor Zhaozong of Tang is dethroned; his son Li Yu, Prince of De is set up as emperor by a eunuch
901Emperor Zhaozong of Tang is restored and later forced by eunuchs to leave Chang'an for Fengxiang (in Shaanxi)
902Zhu Wen names Yang Xingmi Prince of Wu and lays siege to Fengxiang
Lu Guangchou and Tan Quanbo expand and capture Shao prefecture in Hunan (placed under Lu Yanchang) and Chao prefecture in Guangdong (placed under Lu Guangmu)
903Zhu Wen takes Emperor Zhaozong of Tang to Chang'an, where Zhu and Cui Yin carry out wholesale slaughter of the eunuchs
Wang Jian is created Prince of Shu
904Zhu Wen kills Cui Yin and forces Emperor Zhaozong of Tang to leave Chang'an for Luoyang, where Zhaozong is killed
Emperor Ai of Tang is enthroned by Zhu Wen
First possible usage of gunpowder weapons (possibly fire arrows) by Wu (Ten Kingdoms) during the siege of Yuzhang
907Khitan chieftain Abaoji becomes emperor of the Liao dynasty
12 MayZhu Wen deposes Emperor Ai of Tang and establishes his Later Liang dynasty in Kaifeng (in Henan); so ends the Tang dynasty

The Tang Dynasty History & Timeline