Historical Map
Font Size
Language
Theme

Loading Map...

Map height
Scroll Sensitivity1.0
986 AD (Approx.)
979 AD – 1005 AD

Song-Liao Wars

A series of conflicts between the newly unified Song Dynasty and the Khitan Liao Empire over the strategic Sixteen Prefectures, concluding with the landmark Treaty of Chanyuan.

LocationNorthern China and Sixteen Prefectures
BelligerentsSong Dynasty, Liao Empire (Khitan)

Context & Background

936 AD

The Legacy of the Sixteen Prefectures

Shi Jingtang of the Later Jin ceded the strategic Sixteen Prefectures to the Khitan in exchange for military support. This left the Central Plains without a natural northern defense wall.

960 – 979 AD

Unification of China

The Song Dynasty, founded by Zhao Kuangyin, methodically absorbed the southern kingdoms. In 979, his brother Taizong conquered Northern Han, completing the internal unification of China.

The Narrative

Following the successful conquest of Northern Han in 979, Emperor Taizong of Song sought to reclaim the Sixteen Prefectures immediately. He marched his exhausted troops straight into Liao territory toward Youzhou (modern Beijing). However, the Liao reinforced the city, and at the Battle of Gaoliang River, the Song army was crushed by Khitan heavy cavalry. Taizong himself was wounded and escaped only by fleeing on a donkey cart. This defeat proved that the Khitan were a far more formidable foe than the southern kingdoms.

In 986, the Song launched a massive three-pronged offensive known as the Yongxi Campaign. While initially successful, poor coordination and a brilliant Liao counter-offensive led by Empress Dowager Xiao turned the tide. The legendary Song general Yang Ye was left without support at Chenjiagu, where he was captured and later died. Following this second major failure, the Song adopted a defensive posture, constructing elaborate moats and planting massive forests along the border to hinder Khitan cavalry.

The conflict reached its climax in 1004 when Empress Dowager Xiao and Emperor Shengzong led a massive Liao invasion deep into Song territory, reaching the southern bank of the Yellow River at Chanyuan. Facing a critical threat, the Song Emperor Zhenzong was persuaded to go to the front lines to boost morale. A stalemate ensued, and both empires, weary of decades of war, agreed to negotiate. The resulting Treaty of Chanyuan in 1005 established the two rulers as brothers and secured long-term peace in exchange for annual Song payments. This diplomatic settlement allowed both dynasties to flourish for the next century.

Chronology

979 AD

Battle of Gaoliang River

Flush with victory over Northern Han, Emperor Taizong attempted to capture Youzhou from the Liao. The Song army was disastrously defeated by a Khitan relief force, forcing the Emperor to flee in a donkey cart and marking the end of Song offensive momentum.

Truce / Interlude (7 years)
986 AD

The Yongxi Campaign

A massive three-pronged invasion by the Song to retake the Sixteen Prefectures. Despite early gains, the campaign collapsed due to poor leadership and coordination. The elite Song forces were decimated, and the legendary general Yang Ye was captured and died in captivity.

Truce / Interlude (18 years)
1004 AD

The Liao Great Invasion

Empress Dowager Xiao and Emperor Shengzong led a massive Liao army deep into the Song heartland, reaching Chanyuan near the Yellow River. The Song Emperor Zhenzong personally arrived at the front to lead the defense, resulting in a strategic stalemate.

1005 AD

The Treaty of Chanyuan

The historic peace agreement that ended the Song-Liao Wars. The two empires recognized each other as equals and established a border based on existing positions. The Song agreed to pay an annual tribute, which secured over a century of peace and economic growth.

History Quiz

1 / 7

Which strategic territory was the primary cause of conflict between the Song and Liao?