Song Frontiers, Armies and Relations with Liao, Jin and Western Xia
Between 960 and 1279, Song rulers faced powerful neighbouring states along the northern and northwestern edges of their territory. The Khitan-led Liao controlled lands to the northeast, while the Tangut-led Western Xia lay to the northwest. In the twelfth century, the Jurchen-led Jin displaced Liao as the principal power in northern China. These states had their own rulers, armies and diplomatic aims; Song policy therefore involved negotiation and trade as well as warfare.
The strategic setting changed sharply in 1127, when Jin forces captured the Song capital, Kaifeng. The surviving court re-established itself south of the Yangtze, beginning the Southern Song period. Its frontiers, resources and military options differed from those of the Northern Song. Across both periods, Song defence depended on assembling and financing large forces, keeping commanders under court control, fortifying vulnerable approaches and negotiating agreements that could pause conflict without ending competition.
On this page5 sections
Managing the northern frontier with Liao
Early Song efforts to extend control northward brought the dynasty into conflict with Liao. The Song sought to recover the Sixteen Prefectures, a strategically important region held by the Khitans. Campaigns against Liao failed, including an attempt in 979 to advance after the surrender of Northern Han and a three-army campaign in 986. These defeats demonstrated the difficulty of confronting Liao forces on the northern frontier.
Song defence also relied on altering the terrain. Between 993 and 1004, the government developed a system known as the Great Ditch across northern Hebei, running from the Taihang Mountains towards the Bohai Sea. Its canals were intended to impede Khitan cavalry. Liao leaders, however, also viewed the waterways as a possible route for Song forces. In 1004, Liao troops advanced deep into Song territory and reached Shanyuan, about 100 kilometres north of Kaifeng. The campaign ended in negotiations and the Treaty of Shanyuan, signed in January 1005.
The treaty confirmed the existing border and established a formal relationship between the states. The Song made annual payments of silver and silk, often described in Song terms as tribute, while recognizing Liao as a diplomatic equal. These payments did not end trade: Song merchants continued to sell large quantities of goods to Liao, and much of the silver paid north returned through commerce. The agreement brought a long period of relative peace, lasting until the final years of Liao rule, though it did not remove the underlying dispute over territory.
Recruiting forces and controlling commanders
Song rulers inherited a political landscape in which military commanders had sometimes exercised independent power. The early dynasty strengthened central authority and replaced regional military governors with centrally appointed officials. Military control was divided among separate commands. In the Northern Song, three marshals were independently responsible to the emperor, while the Military Council did not itself command the imperial army. This arrangement limited the chance that one successful general could build a power base, but divided responsibility could make unified direction in war more difficult.
Song forces included imperial troops as well as provincial soldiers and militia. By 1022, the recorded military establishment approached a million men, although size alone did not ensure battlefield effectiveness. Crossbowmen were organized separately from ordinary infantry because their missile fire could be used against cavalry. Soldiers trained in weapon use and physical skills, and units used banners, bells and drums to communicate orders to advance or halt. Military service could also bring social standing: soldiers occupied a lower place in the official hierarchy, but a successful officer could gain prestige.
Under the New Policies associated with Wang Anshi in the 1070s, the government promoted local militia as one means of reducing dependence on the costly standing army. The Baojia system organized community-based law enforcement and supported the expansion of militia activity. Officials also sought to increase frontier troop levels and the supply of war horses. These measures made local communities part of defence policy, but they did not remove the cost of maintaining professional troops and distant garrisons.
Garrisons required regular grain, pay, clothing and equipment. Supplying troops in frontier regions meant collecting resources elsewhere and moving them to posts, adding transport costs to the army’s upkeep. These demands helped make defence a fiscal issue at court, where officials debated the relative costs of campaigns, fortified positions and negotiated payments.
War and negotiation with Western Xia
Song relations with the Tangut-led Western Xia shifted between trade, diplomacy and conflict. Under Li Deming, the Tangut state sought peaceful relations that brought economic benefits. The balance changed when his successor, Li Yuanhao, proclaimed himself emperor in 1038 and sought recognition of that status rather than continuing to act as a subordinate of the Song. The dispute over rank and authority became a military conflict.
From 1038 to 1044, the two states fought without the Song securing lasting territorial gains. The conflict cost both sides many troops. Unlike the northern line against Liao, the Song could not rely on a comparable water barrier in this region, so it maintained a broad network of fortified positions. Records for 1043 describe outposts extending about 480 kilometres from western Shaanxi to Hedong, staffed by 200 imperial battalions and 900 provincial or militia battalions. Dispersing forces across this frontier helped defend a wide area, but made sustained garrisoning a substantial burden.
The settlement of 1044 restored formal relations without resolving the question of status on equal terms. Li Yuanhao accepted Song ceremonial practices and addressed the Song ruler as a superior, while continuing to rule Western Xia as an emperor. The agreement illustrates how diplomacy could acknowledge a hierarchy for official purposes even when the neighbouring state retained its own government and ambitions.
Conflict resumed after a change of ruler in 1067, and Song policy became more assertive. Border markets could be closed to exert pressure. Shen Kuo served on the northwestern frontier from 1080, but the loss of Yongle to Western Xia in 1082 brought heavy casualties and contributed to his dismissal. Later campaigns extended Song control into the Xining and Haidong regions, showing that the western border continued to shift.
The Jin conquest and a Southern Song strategy
The rise of the Jurchen-led Jin state overturned the balance between Song and Liao. The Jurchens rebelled against Liao authority and established the Jin dynasty in 1115. Song officials then negotiated an alliance with them against Liao. The two sides agreed to divide Liao territory, with the Song expecting to recover the Sixteen Prefectures. In the campaigns of 1121 to 1123, Song forces performed poorly, while the Jin achieved their objective of defeating Liao. The alliance had also exposed weaknesses in Song military performance. After Liao fell in 1125, Jin forces turned against their former ally.
Jin armies invaded the Song north in 1125 and captured Kaifeng in 1127, taking the emperors and members of the court captive. The capital’s defences had included hundreds of catapults, but the Jin brought siege equipment such as tall towers and incendiary weapons. The loss of Kaifeng ended the Northern Song. The surviving court regrouped south of the Yangtze and established its new centre at Hangzhou. Warfare in the region between the Yangtze and Huai rivers displaced many families as Song and Jin forces contested the borderland.
The Southern Song fought to defend its remaining territory and at times tried to recover northern lands. The court’s decisions could limit what generals were allowed to pursue. Yue Fei, for example, won a series of victories during campaigns to regain territory, but was ordered to turn back. In 1141 the Song agreed to the Treaty of Shaoxing, which fixed the boundary at the Huai River, required annual payments to Jin and ceded territory the Song had recovered. Yue Fei was later killed while imprisoned. The treaty ended major hostilities for about two decades, showing how the court could choose a costly settlement over the risks of a prolonged campaign.
The Southern Song also developed a permanent navy, established in 1132, to defend its river and coastal approaches. Its importance became clear in 1161, when the Jin ruler Wanyan Liang launched a major invasion involving land forces and fleets. Song naval victories came at Tangdao off Shandong and at Caishi on the Yangzi. Accounts of Caishi describe paddle-wheel ships and explosive bombs thrown from shipboard engines, combining manoeuvrability and missile fire against the crossing force. The result checked the invasion, although it did not end the rivalry. A new agreement in 1165 reaffirmed the boundary established in 1142 and opened another period of peace.
From Jin and Western Xia to Mongol pressure
The next major change came with Mongol expansion. Mongol forces conquered Western Xia in 1227 and Jin in 1234. The Song had cooperated with the Mongols against Jin, but that alliance proved temporary: after Jin’s fall, the Mongols and Song became adversaries. The Southern Song continued to resist until the Mongol-led Yuan forces defeated it in 1279.
For the wider setting, see Song China: History, Economy and Society.