The Fall of Chang'an, also known as the Battle of Chang'an, was fought between the states of Han-Zhao and Western Jin from August to 11 December 316 during the Sixteen Kingdoms period of China. The battle, as part of the Han general Liu Yao's third and final invasion of Chang'an, concluded in a Han victory with the surrender of Emperor Huai of Jin, signalling the end of the Western Jin and paving the way for the establishment of the Eastern Jin in the south at Jiankang.
Background Shortly after the fall of Luoyang during the Disaster of Yongjia, Han forces marched west to capture Chang'an in August or September 311 and captured the city from the Prince of Nanyang, Sima Mo. Chang'an remained under Han control for only a few months, as Jin loyalists in the Guanzhong region, led by the general Jia Ya soon rose up and placed Chang'an under siege with the help of the local Qiang and Di tribes. In May or June 312, the Han prince Liu Yao was defeated and evacuated the city with more than 80,000 people east to the Han capital, Pingyang. On 19 October, Jia Ya and his allies acclaimed Sima Chi, the nephew of the captured Emperor Huai of Jin, as the new emperor. Chi, posthumously known as Emperor Min, was only 12 years old at the time. Real power was held by his generals, in particular Jia Ya, Yan Ding, Qu Yun and Suo Chen. In the following months, Jia Ya was killed during a battle with the Lushuihu tribes, while Yan Ding was killed as part of a plot between Qu Yun and Suo Chen, thus leaving the emperor in the hands of the two men.
First invasion of Chang'an (313) In June 313, Liu Yao was ordered to attack Chang'an with Qiao Zhiming and Zhao Ran. In response, Qu Yun went out to set camp at Huangbai (黃白; northeast of Sanyuan County, Shaanxi) while Liu Yao camped at Puban (蒲阪; present-day Yongji, Shanxi). Liu Yao battled Qu Yun several times at Huangbai and defeated him each time, prompting the Jin court to dispatch Suo Chen to reinforce him in September or October. Zhao Ran speculated that the Jin had brought most of the soldiers out to fight, leaving Chang'an defenseless. Thus, he brought with him 5,000 elite cavalry to launch a night raid into Chang'an. His forces broke through the outer walls, forcing Emperor Min to hide in the Sheyan Tower (射鴈樓). He also set fire to the enemy barracks and killed or plundered more than a thousand people before withdrawing to the Xiaoyao Garden (逍遙園). When the Jin general, Qu Jian (麴鑒), brought 5,000 soldiers to rescue the capital, Zhao Ran retreated, enticing Qu Jian to pursue him. At Lingwu (零武; around present-day Xianyang, Shaanxi), Qu Jian was met with Liu Yao, who dealt him a great defeat. However, Liu Yao became complacent after his string of victories and did not consider setting up his defenses. In November or December, Qu Yun carried out a surprise attack on Liu Yao, routing him and killing Qiao Zhiming. Consequently, Liu Yao retreated back to Pingyang.
Second invasion of Chang'an (314) In June or July 314, Liu Yao and Zhao Ran attacked Chang'an again. During the assault, Suo Chen fought and defeated Zhao Ran in the west of the city. The Han forces were then joined by the general, Yin Kai (殷凱) and advanced towards Chang'an again. Initially, they defeated Qu Yun at Pingyi, but the Jin general was able to regroup his army and killed Yin Kai during a night raid on his camp. Liu Yao decided to abandon the campaign and return east to fight against Jin general, Guo Mo at Henei commandery. Zhao Ran was left to continue on his own, and in autumn, he was killed by a crossbow bolt while fighting Qu Yun at Beidi.
Prelude
Pingyi and Shang On 16 September 315, while on his campaign against the Jin Inspector of Bing province, Liu Kun, Liu Yao received a message from the Han emperor, Liu Cong, ordering him to invade Chang'an again. Liu Yao complied and turned back to Puban. Liu Yao then invaded Beidi, but when he heard that Qu Yun had left Huangbai and camped at Lingwu to resist him, he bypassed the commandery to attack Pingyi and Shang. Qu Yun was reluctant to proceed, as he had very few troops under his command who were suffering from severe hunger. Thus, Pingyi and Shang eventually fell to Liu Yao as their administrators fled the commanderies. At the time, the Guanzhong region was suffering from extreme famine, and many of the Jin administrators west of Chang'an had stopped sending tribute and aid to the court. Qu Yun recommended Suo Chen that they flee west with Emperor Huai to join the Prince of Nanyang, Sima Bao in Qin province, but fearing that the prince would take advantage of the emperor for himself, Suo Chen rejected his idea.
Beidi In July or August 316, Liu Yao besieged Administrator of Beidi, Qu Chang (麴昌), so Qu Yun brought with him 30,000 soldiers to relieve the commandery capital. Liu Yao set fire to parts of the city, causing smoke to blot out the sky and be seen from afar. He also sent his soldiers to feign surrender to Qu Yun and inform him that the city had fallen. Qu Yun believed them, and his soldiers scattered as the rumours spread within his camp. Liu Yao chased them and routed Qu Yun at Panshi Valley (磻石谷, in present-day Tongchuan, Shaanxi), forcing him to retreat back to Lingwu. The Qiang chieftain, Dajunxu (大軍須), sent supplies to support Qu Chang, but he was defeated by the Han general, Liu Ya. A few days later, Qu Chang fled to Chang'an, and Liu Yao conquered Beidi. He then marched to Jingyang, and the Jin forces north of the Wei River all dispersed.
… excerpt ends here. Continue reading the full article.

