Region: China · Coordinates: 40.040, 113.608 · 27 events
| Year | Source | Account |
|---|---|---|
| 200 BC | Records of the Grand Historian (Shiji), Annals | Gaozu set out to attack King Xin of Han and reached Pingcheng, but was besieged by the Xiongnu for seven days. |
| AD 467 | Book of Wei (Weishu), Imperial Annals | He visited the cave monasteries of Mount Wuzhou (the Yungang Caves), and the prince Hong (later Emperor Xiaowen) was born. |
| AD 842 | New Book of Tang (Xin Tangshu), Annals | Liu Mian of Hedong was defeated by the Uyghurs at Yunzhou. |
| AD 878 | New Book of Tang (Xin Tangshu), Annals | Li Keyong, garrison commander of Yunzhong, killed Duan Wenchu, defense commissioner of the Datong Army (the rise of the Shatuo Li Keyong). |
| AD 890 | Zizhi Tongjian (Comprehensive Mirror) | Li Keyong attacks Helian Duo, the defense commissioner of Yunzhou, and takes Dongcheng. |
| AD 894 | Old Book of Tang (Jiu Tangshu), Annals | Li Keyong took Yunzhou and captured Helian Duo, Defense Commissioner of Datong. |
| AD 905 | New History of the Five Dynasties (Xin Wudai shi), Annals | Li Keyong met Abaoji of the Khitan at Yunzhong and swore a pact of brotherhood. |
| AD 929 | History of Liao (Liaoshi) | He gave troops to his younger brother Yelü Lihu and ordered him to subdue the unsubmitted counties of Yunzhong, the Datong region. |
| AD 934 | History of Liao (Liaoshi) | He stayed at Yunzhou and then took Xiayin. |
| AD 937 | History of Liao (Liaoshi) | Wu Luan, judge of Datong army, shut the city gates and resisted; Taizong personally urged them from below the walls, and they surrendered. |
| AD 1044 | History of Liao (Liaoshi) | Upgraded Yunzhou to the Western Capital (Datong Prefecture). |
| AD 1122 | History of Jin (Jinshi), Annals | Pursuing the Liao ruler, Zong Han reached Xijing and received its surrender, but soon it rebelled again (recaptured in the fourth month). |
| AD 1122 | History of Liao (Liaoshi) | Emperor Tianzuo set out for Yunzhong with about 5,000 guard cavalry and abandoned the imperial seal at the Shanggan River. |
| AD 1122 | History of Liao (Liaoshi) | Xijing and others surrendered to Jin; all the tribes south of the desert came under Jin. |
| AD 1211 | History of Jin (Jinshi), Annals | Hesheli Husha abandoned Xijing and fled back to the capital, but was instead appointed Right Deputy Marshal. |
| AD 1211 | Xu Zizhi Tongjian (Continuation of the Comprehensive Mirror) | In the eighth month the Mongols broke Baideng Cheng and attacked Xijing; the Jin generals, including Zhi Zhong, were terrified, and with only a hundred cavalry abandoned the city and broke out to flee. |
| AD 1212 | History of Yuan (Yuanshi), Annals | In autumn he besieged the Western Capital (Datong). |
| AD 1212 | History of Yuan (Yuanshi), Annals | He attacked the Western Capital again, but the emperor was struck by an arrow, lifted the siege, and withdrew. |
| AD 1212 | Xu Zizhi Tongjian (Continuation of the Comprehensive Mirror) | In the first month the Mongols attacked and took Yunzhong, Jiuyuan and other commanderies, and advanced on Fuzhou; Jin ordered the pacification commissioners and others to come to the rescue. |
| AD 1305 | History of Yuan (Yuanshi), Annals | An earthquake struck the Datong Circuit with a sound like thunder; more than five thousand rooms of officials' and commoners' houses collapsed and over two thousand people were crushed to death. Therefore Pingyang was renamed Zhenning and Taiyuan was renamed Qining. |
| AD 1360 | Xu Zizhi Tongjian (Continuation of the Comprehensive Mirror) | In the twelfth month, after the deaths of Guan Xiansheng and Sha Liu'er, Potouban and his deputy Zuo Li, with ten thousand from Gyeonggi, took a shortcut straight to Xijing, surrendered to Boluote'mu'er and received command. |
| AD 1400 | History of Ming (Mingshi), Annals | The Prince of Yan advanced to Datong, lured Li Jinglong out of Zijing Pass, and then returned to Juyong. |
| AD 1449 | History of Ming (Mingshi), Annals | The campaign army reached Datong, but the garrison eunuch Guo Jing proposed a withdrawal, and they soon turned back. |
| AD 1483 | History of Ming (Mingshi), Annals | The Little Prince of the Yibei invaded Datong, and Xu Ning, who resisted, was defeated. |
| AD 1500 | History of Ming (Mingshi), Annals | Huoshai invaded Datong Left Garrison in force, and Youji General Zhang Jun held them off. |
| AD 1523 | History of Ming (Mingshi), Annals | Altan Khan (俺答) invaded Datong — the first appearance of Altan in the source. |
| AD 1634 | Draft History of Qing (Qingshigao) | They sent Daishan and others, who entered by Desheng Fort, seized Datong, reached the Yellow River in the west, and turned back from Shuozhou. |