Overview
Longxi Commandery was a commandery in Liang Province under the Eastern Han, with its administrative seat at Didao. Its territory roughly corresponded to present-day Lintao, Weiyuan, Longxi, Min County, and Linxia in southeastern Gansu Province. It included places such as Didao, Fuhan, and Taoxi. This was a frontier region where Han Chinese and Qiang people lived together. Dong Zhuo and Ma Teng, both prominent figures in the late Han, came from this commandery. During the Three Kingdoms period, it was a western frontier of Cao Wei facing Shu Han. When Zhuge Liang's Northern Expeditions were under way, the governor of Longxi held his city and refused to surrender; Jiang Wei also led troops into Longxi on several occasions.
History
At the end of the Han dynasty, Han Sui and others raised an army in Liang Province. The court sent troops by six routes into Longxi to suppress them. Five routes were defeated, but Dong Zhuo returned with his entire force intact. Song Jian, a native of Longxi, gathered followers at Fuhan and proclaimed himself King of Heshou Pinghan. He changed the era name, established official posts, and ruled independently for more than thirty years. Cao Cao sent Xiahou Yuan to attack from Xingguo; in the tenth month of winter, he captured Fuhan and executed Song Jian, thereby pacifying Liang Province.
During Cao Cao’s rule, Longxi was unsettled for a time. Li Yue occupied Longxi and rebelled. Su Ze, the Administrator of Jincheng, surrounded him with Qiang and Hu troops, whereupon Li Yue promptly surrendered. When Cao Cao moved the people to populate Hebei, the residents of Longxi, Tianshui, and Nanan commanderies grew anxious. Zhang Ji told those serving as officials and clerks in the three commanderies to leave office and return home to build houses and water-powered mills; only then did public confidence settle.
In the spring of the sixth year of Jianxing (228) under Shu Han, Zhuge Liang launched an expedition to Mount Qi, and the three commanderies of Nanan, Tianshui, and Anding rebelled against Wei in response. According to the Weilüe, cited in Pei Songzhi’s commentary, the Administrators of Tianshui and Nanan abandoned their commanderies and fled east, but the Administrator of Longxi, You Chu, assembled officials and commoners and agreed with them to hold out together. Nanan brought Shu troops to attack, and You Chu sent his Chief Clerk, Ma Yong, out of the city to form ranks and beat drums, while he himself called out to the Shu army from atop the walls. The Shu army then withdrew. More than ten days later, Wei reinforcements arrived in Longxi, and Zhuge Liang retreated in defeat; for his service, You Chu was enfeoffed as a Marquis of the Ranks. However, the “Four Matters” by Guo Chong, cited in Pei Songzhi’s commentary, says that Longxi and Nanan surrendered to Zhuge Liang at the time, contradicting the account in the Weilüe.
In the first year of Zhengshi (240), Jiang Wei led troops into Longxi. Guo Huai pursued him as far as Qiangzhong, and Jiang Wei withdrew. In the eighth year of Zhengshi (247), Qiang tribes from Longxi, Nanan, Jincheng, and Xiping joined in rebellion, besieging cities and towns and sending south to invite Shu troops. Guo Huai advanced to Didao, then turned south to reinforce Xiahou Ba, who was stationed at Weichi. Just as he arrived, Jiang Wei attacked, but then withdrew. Guo Huai subsequently campaigned against the rebel Qiang, killing the Qiang leaders E He and Shao Ge and subduing more than ten thousand households. In the seventeenth year of Yanxi (254), Jiang Wei again entered Longxi and moved the residents of Didao, Heguan, and Lintao counties to Mianzhu and Fan County in Shu. After the Wei army’s crushing defeat at the Battle of Taoxi, Deng Ai judged that the Shu army would certainly return. He pointed out that troops had to be divided to defend Didao, Longxi, Nanan, and Mount Qi, and that the Shu army could also obtain provisions from the Qiang people. In the fourth year of Jingyuan (263), when Wei attacked Shu, the Administrator of Longxi, Qian Hong, was ordered by Deng Ai to intercept Jiang Wei in the vanguard.
Notable Figures
Natives of the commandery: Dong Zhuo was from Lintao in Longxi. In his youth, he often traveled among the Qiang people and cultivated ties with the leaders of various tribes; later, he rose through the ranks on the strength of his military service in Liang Province. Ma Teng’s father, Ma Ping (courtesy name Zishuo), once served as Commandant of Langan in Tianshui. After losing his post, he remained in Longxi, living among the Qiang people; he married a Qiang woman, who gave birth to Ma Teng. Song Jian, who ruled independently at Fuhan for more than thirty years, was also a native of Longxi.
Governors of the commandery: Xu Miao served as Administrator of Longxi under Cao Cao, and was later transferred to serve as Administrator of Nanan. You Chu was recommended by Zhang Ji and transferred from his post as Administrator of Hanxing to Longxi. In administering the commandery, he made benevolence and virtue his priorities and was disinclined to use punishments or execute people. Qian Hong served as Administrator of Longxi during the Jingyuan era and joined Deng Ai’s campaign against Shu.
Garrison commanders: Xiahou Ba, son of Xiahou Yuan, was once stationed in Longxi as General of the Right. He treated his soldiers well and pacified the Qiang and Rong, winning widespread support. It was only during the Zhengshi era that he was transferred to serve as Protector of the Army for the Campaign against Shu.
Differences in Historical Fiction
The Romance of the Three Kingdoms says that, discontented at court, Jiang Wei asked Xi Zheng for advice on how to protect the state and secure his own position. Xi Zheng told him that there was a place called Dazhong in Longxi, with fertile land, where he could imitate Zhuge Liang by cultivating fields; Jiang Wei then petitioned to go to Dazhong to grow wheat. By contrast, the commentary to the Biography of Jiang Wei in the Records of the Three Kingdoms cites the Huayang Guozhi, which says that Jiang Wei himself asked Huang Hao to let him go to Dazhong to grow wheat in order to avoid pressure at court. It does not mention Xi Zheng offering this advice.
Today
The former territory of Longxi Commandery lies in southeastern Gansu Province today. Its administrative seat, Didao, is present-day Lintao County, and present-day Longxi County also retains the commandery’s name.

