Han Armies and Frontier Settlements: Military Power and Central Asian Relations

From the Western Han’s founding in 202 BC to the dynasty’s end in 220 CE, military policy repeatedly reshaped the empire’s northern and western frontiers. The Han court fought the Xiongnu, a powerful confederation based on the Eurasian steppe, while also bargaining with its leaders and with the rulers of Central Asian oasis states. Armies could seize territory, but holding it required more than victories: the state needed recruits, horses, food, garrisons and working relationships with local communities.

In some frontier areas the Han established commanderies, districts run by appointed officials. In much of the Tarim Basin, around the Taklamakan Desert in present-day Xinjiang, local kings retained their own courts. Han garrisons and envoys worked through negotiated obligations, while oasis rulers balanced Han demands against the power of the Xiongnu and neighbouring states.

On this page5 sections

Recruiting soldiers and developing cavalry

For much of the Western Han, military service rested on the obligation of male commoners to serve. Men became liable for conscription at 23, an age later reduced to 20. The system generally involved a year of military training and a year of active service. A soldier might serve at the frontier, in the capital or at a king’s court, and could be called up again after his initial term. The scale of this obligation made it possible to assemble forces for major campaigns, but the army was not made up solely of permanent professionals. A smaller standing force was based in and near the capital.

The Han also adapted their forces to warfare against mounted opponents. Cavalry became more important as the conflict with the Xiongnu intensified, and the court developed government horse pastures in frontier regions. Surrendered Xiongnu and other groups from the frontier could be incorporated into Han military structures, bringing experience of steppe warfare as well as additional manpower. The Southern Xiongnu, who submitted to the Han in the first century CE, later served as auxiliaries in campaigns against the Northern Xiongnu and other opponents.

Han forces still used infantry and ranged weapons alongside cavalry. During the campaign of 119 BC, General Wei Qing’s troops arranged armoured chariots in a defensive ring, sheltering infantry and archers from Xiongnu cavalry attacks. Han cavalry then helped counter and outflank the opposing force. The episode illustrates how commanders combined equipment and different kinds of troops rather than relying on a single battlefield method.

From negotiation to campaigns against the Xiongnu

Early Han rulers initially sought to manage the Xiongnu through a marriage alliance, known as heqin, and the exchange of goods. This followed a serious defeat in 200 BC, when Emperor Gaozu’s army was surrounded at Baideng. The agreement reached afterward treated the two rulers as partners, but did not prevent further raids on Han borderlands.

In 133 BC, the Han tried to lure a Xiongnu leader into an ambush near Mayi. He recognized the danger and withdrew. The failed operation ended the earlier arrangement as a reliable basis for peace, and the Han court shifted toward sustained military campaigns. Under Emperor Wu, forces pushed into the Ordos region, the Hexi Corridor and beyond. In 127 BC, Wei Qing retook the Ordos, while the campaigns of 121 BC under Huo Qubing drove Xiongnu forces from much of the Hexi Corridor. In 119 BC, Han armies crossed the Gobi to confront the Xiongnu farther north.

These campaigns changed the geography of the frontier. The Hexi Corridor connected the Han heartland with routes leading toward the Tarim Basin. Taking it reduced Xiongnu access to the region and weakened their links with the Qiang, peoples to the southwest. After the Han victory in Hexi, the surrender of the Xiongnu ruler known as the Hunye King brought tens of thousands of people into Han control. The court settled Xiongnu communities in northern frontier areas, as part of a broader policy of incorporating surrendered groups into the empire’s military and political order.

Garrisons, commanderies and agricultural settlements

The Han repaired and extended defensive works, established garrisons and created administrative districts after its late-second-century BCE conquests. The four commanderies of Wuwei, Zhangye, Jiuquan and Dunhuang anchored its presence in the Hexi Corridor, in present-day Gansu. County offices and settled populations supplied an administrative base beside the military posts.

The court also moved people into frontier zones. Some were soldiers assigned to settlements; others were farmers relocated by the state, convicts or voluntary migrants. Military agricultural colonies, known as tuntian, joined cultivation to garrison duty. Soldiers and settlers farmed land, often using irrigation where it was available, to produce grain for troops and officials. This could reduce dependence on food transported from the interior, though it did not make the frontier self-sufficient or eliminate the need for local supplies.

After campaigns against the Central Asian state of Dayuan, the Han established posts between Dunhuang and the Salt Marsh, the area around Lop Nur. At Luntai and Quli, several hundred farmer-soldiers worked land and helped supply envoys travelling west. Such outposts served practical as well as military purposes: they supported officials and garrisons, stored provisions and helped the court maintain communications with distant rulers.

Local production mattered because long expeditions placed severe demands on transport and food. In a memorandum of 14 CE, during Wang Mang’s Xin regime, the official Yan Yu argued that a 300-day campaign would require 360 litres of dried grain per soldier, while arguing that the working life of transport oxen in desert conditions would be far shorter. His figures were used to make a case about the difficulty of extended operations: an army might be able to reach a distant region, but keeping it supplied there was another problem. Han forces also requisitioned food from western states, which could impose a heavy burden on the communities expected to provide it.

Diplomacy and contested influence in Central Asia

Han policy west of the Hexi Corridor involved a shifting group of oasis kingdoms and larger Central Asian states, not a single political territory. The Xiongnu had previously exercised influence over many oasis rulers and extracted resources from them. Han leaders sought alliances and submissions in part to weaken that influence and secure access to routes and supplies. Local rulers, in turn, could change their alignment as military pressure and regional circumstances changed.

The diplomat Zhang Qian’s mission, dispatched in 138 BC to seek an alliance with the Yuezhi against the Xiongnu, did not achieve its military aim. Captured by the Xiongnu, he eventually escaped and returned with information about states including Dayuan in Ferghana, Kangju in Sogdiana and Wusun. A later mission in 115 BC renewed contact with western rulers. These journeys helped the Han court understand the political landscape and pursue relations beyond the steppe, even when they did not produce the alliance it wanted.

Diplomatic pressure and military force often operated together. The Han sought the submission of rulers in the Tarim Basin, whose allegiances could shift between Han and Xiongnu. In 108 BC, a Han expedition took Jushi, in the Turfan area, which was strategically important in the struggle for access to the western regions. The campaign against Dayuan offers another example of the connection between military aims and diplomacy. After a Han request for Ferghana horses was refused and an envoy was killed, the court sent a military expedition; Dayuan was brought to terms by 101 BC.

About 60 BC, the Han established the office of Protector-General of the Western Regions, with its headquarters at Wulei. The protector-general coordinated diplomacy, military posts and relations with local rulers. The office was not equivalent to a provincial government ruling every oasis directly. Many kings retained their own courts and administrations, while Han influence depended on the circumstances in each state. The court could recognize rulers, exchange hostages and titles, negotiate tribute, or intervene in local disputes, but the reach of these measures varied.

Han garrisons and agricultural settlements helped protect routes used by troops and envoys, while also supporting the court’s presence in the Tarim Basin. Their purpose was not simply to create a new trade network: exchange across Central Asia predated the Han campaigns. Rather, military posts, local agreements and cultivated supply bases helped the Han take part in and influence existing connections.

Disruption under Xin and the Eastern Han recovery

The Xin interregnum, when Wang Mang displaced the Han dynasty from 9 to 23 CE, disrupted this frontier system. Relations with the Xiongnu deteriorated, and Wang Mang’s government attempted to impose new political arrangements on them. Its northern mobilization also demanded conscripts and provisions from frontier peoples and western states, contributing to defections. Han influence in the Tarim region weakened during this period, allowing the Xiongnu to regain ground.

When the Eastern Han was restored in 25 CE, Emperor Guangwu initially declined requests from western states to re-establish the protector-general’s office. The court was occupied with consolidating power at home and could not immediately sustain a major western commitment. Meanwhile, the Xiongnu divided into Northern and Southern groups in 48 CE. The Southern Xiongnu submitted to the Han around 50 CE and became an important source of allied military support; the Northern Xiongnu remained an adversary.

From 73 CE, Han commanders renewed campaigns in the Tarim region. Dou Gu drove Northern Xiongnu forces from Turfan and established a garrison at Hami. The court restored the protector-general’s office in 74, but the arrangement soon failed: local allies of the Xiongnu killed the protector-general Chen Mu in 75, and Han forces withdrew from important western positions. Ban Chao later rebuilt Han influence through a combination of campaigns and dealings with local rulers. Appointed protector-general in 91, he worked from the western regions and secured renewed submissions from a number of states.

Distance and cost continued to limit the system. In 107, amid Qiang uprisings in the Hexi Corridor and instability farther west, the court abandoned the protector-general’s office and withdrew many of its personnel. Han activity did not end altogether. In 123, Ban Chao’s son Ban Yong was sent west as a more junior regional official with several hundred men, and the court again pursued influence among the oasis states. The changing arrangements show the central difficulty of Han frontier policy: military victories could extend the empire’s reach, but keeping distant garrisons supplied and local partners aligned required continuing resources and negotiation.

For the wider setting, see Han China: History, Institutions and Society.

Scroll to Top