Datong boasts a long and distinguished history. The Sanggan River and the Yu River, both tributaries within its territory, run from north to south through the region. Historically known as Pingcheng, Yunzhou, and Yunzhong, the city was renamed Datong during the Liao Dynasty. It once served as the capital of the Northern Wei Dynasty, a secondary capital of the Liao and Jin dynasties, and a major strategic stronghold during the Ming and Qing dynasties. Situated between the Inner and Outer Great Walls, Datong has long been a vital frontier city in northern China and a place where nomadic and Han cultures converged, giving rise to a distinctive multiethnic cultural heritage.
As early as the Warring States period, King Wuling of Zhao abandoned the cumbersome chariots and long robes of the Han people in Datong and promoted the use of light cavalry equipped with Hu-style clothing and mounted archery, thereby laying the foundation for Zhao’s rise to regional dominance. During the Western Han Dynasty, Emperor Gaozu (Liu Bang) personally led his troops against the Xiongnu but was besieged for seven days and nights at Baideng Mountain in Pingcheng. He eventually escaped by following the stratagem of Chen Ping, who bribed the wife of the Xiongnu chanyu. This defeat prompted the Western Han court to change its policy toward the Xiongnu and adopt a strategy of heqin (marriage alliances), which later gave rise to the well-known story of Wang Zhaojun’s journey beyond the Great Wall.
In the first year of Dengguo of the Northern Wei Dynasty (386), Tuoba Gui, leader of the Xianbei people, established the Northern Wei state in Shengle (present-day Horinger, Inner Mongolia). In July of the first year of Tianxing (398), the capital was moved to Pingcheng (modern Datong), which served as the imperial capital for nearly a century through six emperors and seven reigns, until Emperor Xiaowen relocated the capital to Luoyang in 494. During this period, the Northern Wei court built palaces, ancestral temples, and state altars in Pingcheng, transforming it—after nearly a century of development—into the political, military, economic, and cultural center of northern China.
During the Liao and Jin dynasties, Datong, then known as the Western Capital, experienced renewed prosperity and became a vital hub linking the Central Plains with northern ethnic groups. In 1044, Emperor Xingzong of Liao elevated Yunzhou to the status of Western Capital Prefecture, making it one of the five capitals of the Liao Dynasty. In 1062, following Xianbei traditions of erecting imperial statues, the Liao rulers constructed the grand Huayan Temple in Yunzhou, enshrining stone and bronze statues of emperors in a complex that combined ancestral worship and Buddhist devotion.
During the Ming Dynasty, Datong took on the cultural character of a frontier garrison city. After Zhu Yuanzhang overthrew the Yuan Dynasty, remnants of Yuan forces retreated to Mongolia and continued to threaten the northern borders. Consequently, the Ming court established nine major frontier garrisons, known as the “Nine Border Towns,” among which Datong was of exceptional strategic importance. At one point, one-twelfth of the empire’s troops were stationed here. Emperors Yongle and Yingzong both personally led military campaigns in Datong, earning the city the reputation that “Datong’s troops and horses were the finest under heaven.” In 1372, General Xu Da supervised the expansion of Datong into a new brick-walled city on the foundations of earlier earthen fortifications.
In 1645, Datong fell to Qing forces and was incorporated into the Qing Empire. During the Boxer Movement in 1900, several hundred Boxers organized in Datong but were violently suppressed. Later that year, Empress Dowager Cixi and the Guangxu Emperor passed through Datong during their westward flight from Beijing, staying for four days. Following the Wuchang Uprising of 1911, Datong residents launched an armed uprising, established a military government, and resisted Qing forces until a negotiated withdrawal.
On September 25, 1937, the famous Battle of Pingxingguan took place in Qiaogou, Lingqiu County, Datong. The Eighth Route Army’s 115th Division, led by Lin Biao and Nie Rongzhen, annihilated over 1,000 Japanese troops from the Itagaki Division’s supply unit, capturing large quantities of weapons and supplies. This victory marked both the first major success of the Eighth Route Army in North China and the first major triumph of Chinese forces against Japanese invaders during the War of Resistance.
Datong is rich in historical sites and cultural relics. Mount Heng, the Northern Peak of China’s Five Sacred Mountains, rises to an elevation of 2,016.1 meters and is revered as a sacred site where Buddhism, Taoism, and Confucianism coexist. Within Datong are six nationally recognized “cultural relics of exceptional significance.”
These include the Yungang Grottoes, a UNESCO World Heritage Site carved into the cliffs of Wuzhou Mountain west of the city, featuring 53 caves and over 50,000 stone statues; the Grand Hall of Huayan Temple, the largest of its kind in China; Shanhua Temple, the most well-preserved Liao–Jin temple complex; the Nine-Dragon Screen, the earliest and largest existing dragon screen wall; the Hanging Temple, a unique cliffside structure integrating the three major Chinese philosophies; and the Yan Pagoda, a rare hollow brick watchtower built atop the city wall.
By the end of 2023, Datong had 135 officially recognized items of intangible cultural heritage at or above the municipal level, including 8 national-level items such as Hengshan Taoist music, Jinbei wind and percussion music, Beilu Bangzi opera, Guangling dyed paper-cutting, and Datong copperware craftsmanship, along with 50 provincial-level heritage items spanning traditional music, opera, folk arts, rituals, handicrafts, and culinary techniques.


