Open main menu

The Third Battle of Nanking was the last major engagement of the Taiping Rebellion, occurring in 1864 after the death of the king of the Taiping Heavenly Kingdom, Hong Xiuquan. There were probably more than a million troops in the battle and the Taiping army sustained 100,000 dead (and many more wounded) in the three-day clash. Following the defeat of the Taiping army the Imperial troops, commanded by Zeng Guofan, slaughtered much of the city's population. Nanking had been the capital of the Heavenly Kingdom and was known by the Taipings as Tianjing (Heavenly Capital—the name should not be confused with the coastal city of Tianjin). This battle was the effective end of the Taiping army and Nanking was the last major Taiping city to fall back under Imperial control.

Third Battle of Nanking
Part of the Taiping Rebellion
Date14 March – 19 July 1864
Nanking, China

Decisive Qing victory

Qing dynasty Qing Dynasty Taiping Heavenly Kingdom
Commanders and leaders
Qing dynasty Zeng Guofan
Qing dynasty Zeng Guoquan
Qing dynasty Zhu Hongzhang
Hong Xiuquan
Li Xiucheng
500,000+ Xiang Army 370,000 defenders
Casualties and losses
10,000+ died of illness
9,000+ killed
200,000+ killed
200,000+ surrendered



In June 1863 Qing Gen. Bao Chao took Jiufu Island (九洑洲) and the Taiping Army lost control of the entire northern shore of the Yangtze. Imperial Gen. Bao Chao subsequently led his force across the river and camped on the southern bank outside the Shence (神策) Gate of Nanking. In September 1863 Zeng Guofan's younger brother, Gen. Zeng Guoquan, attacked and took the Shangfang Bridge (上方桥) region southeast of the city and the Jiangdong Bridge (江东桥) region to the southwest. Zeng Guoquan continued his quest in the suburbs of Nanking, and by early November 1863 had succeeded in taking regions including Shangfang Gate (上方门), Gaoqiao Gate (高桥门), Shuangqiao Gate (双桥门), Qiqiaoweng (七桥瓮), Muling (秣陵) Pass and Zhonghe Bridge (中和桥). The Taiping Army had therefore lost all of its positions in the southwestern part of the Purple Mountain. By mid-November regions including Chunhua (淳化), Jiexi (解溪), Longdu (龙都), Hushu, Sancha Town (三岔镇) had fallen under the Qing army's control. At the same time the Imperial navy commanded by Imperial Adm. Peng Yulin (彭玉麟) and his deputy, Yang Yuebin (杨岳斌, also known as Yang Zaifu 杨载福), took important regions including Gaochun and Eastern Dam (Dong Ba 东坝) with the help of Bao Chao's forces. By late November the Taiping garrison at Lishui had surrendered to the Qing army. As a result, the Taiping army was evicted from the region within 50 miles of Nanking. On November 25, 1863, Zeng Guoquan and his subordinate, Gen. Xiao Qingyan (萧庆衍), deployed troops at the Ming Xiaoling. The only links to the outside left were the Shence and Taiping Gates.

On December 20, 1863, Li Xiucheng returned to Nanking from Danyang and urged Hong Xiuquan to abandon the Taiping capital the next day. However, this suggestion was not accepted by Hong, who took overall command of the operation. He declared that anyone who disobeyed him and God would be immediately executed. This doomed the Taiping army and Nanking by creating widespread discontent and, coupled with other factors, eventually over 200,000 Taiping troops went out of Nanking and surrendered to the Imperial Chinese army during the course of the battle. Those who refused to surrender but were also upset by Hong's decisions chose to break out while they still could, when the siege was still incomplete. Hong, Li and others were unable to stop such acts. On February 28, 1864, Tianbao (天保) Castle at the highest peak of the Purple Mountain fell under the Qing army's control. On March 2, 1864, Zeng Guoquan deployed his troops to Shence and Taiping Gates. The siege of Nanking was completed.

The battleEdit

On March 14, 1864, Zeng Guoquan attempted his first attack on Nanking using ladders, but this was beaten back by the defenders. The imperial army then changed tactics, digging a total of ten underground tunnels at Chaoyang (朝阳), Shence and Jinchuan (金川) Gates, and the defenders in turn countered by digging tunnels of their own and building a secondary wall behind the first. Five days after the death of Hong Xiuquan on June 1, 1864, Li Xiucheng was finally put in charge of all military and political affairs, but it was already too late—the fate of the city and its defenders was sealed.

On July 3, 1864, Dibao Castle (地保城, nicknamed Dragon's Neck 龙脖子) on the Purple Mountain fell into the Qing army's hands. This strategic location enabled the Qing to build several dozen artillery positions to bombard the entire city, thus suppressing the defenders' firepower and providing cover for other preparations to take the city. One tactic of the attackers was to fill the space between the city wall and the mountain ridge at the Dragon's Neck with earth, sand, logs, rocks and grass, so the land surface was raised to the height of the city wall, thus paving the way to attack the city. Another was to dig underground tunnels just 200 feet away from the city wall so that they could be filled with explosives to blow up the wall. Operations within such close proximity of enemy fire were possible due to sufficient covering fire, thanks to the taking of Dibao Castle. The defenders' attempts to disrupt the preparations were continuously beaten back with heavy losses due to withering fire from the attackers. Two weeks later the preparation was complete.

Realizing the final attack was coming, on the night of July 18, 1864, Li Xiucheng ordered more than 1000 defenders to disguise themselves as attackers to sneak out of the city to destroy the tunnel, but the attackers were not fooled and beat back the thousand-man formation. The following afternoon at 1:00 the attackers detonated the explosives in the tunnel under Taiping Gate, the wall breaking and flying 2–10 km far down, killing several hundred people and collapsing a large section of the city wall. The defenders put up a fierce fight, but were unable to drive back the attacking force of 60,000. The attackers divided into four fronts after entering Nanking as previously planned:

  • The central front led by imperial Gen. Li Chendian attacked toward Hong Xiuquan's palace
  • The right front led by imperial Gen. 刘连捷 (Liu Lianjie) pushed toward Shence gate to link up with imperial Gen. Zhu Nangui (朱南桂)'s force, which entered the gate via ladders; after the two teams had joined forces, they would attack westward toward Lion Mountain (Shizishan 狮子山) to take Yifeng (仪凤) Gate.
  • The central-left front led by imperial Gen. Peng Yuju (彭毓橘) attacked toward Tongji (通济) Gate.
  • The left front led by imperial Gen. Xiao Fusi (萧孚泗) attacked toward Chaoyang and Hongwu gates.

The street fights were fierce and bloody and the resistance was much tougher than expected. The attackers' artillery cover had to stop for fear of injuring their own. The defenders were very stubborn and expected to inflict heavy casualties on the attackers and hoped to drive them back outside the city.

After the fall of Chaoyang Gate, the defenders' morale collapsed and imperial Gen. Luo Fengyuan (罗逢源) was able to break his force into the city from Jubao (聚宝) Gate, while imperial Gen. Li Jinzhou (李金洲) was able to break into the city from (通济) Gate, linking up with forces led by imperial Gen. Peng Yuju (彭毓橘). At the same time, imperial Adm. Huang Yisheng (黄翼升) led the imperial navy in taking Zhongguan (中关) and then took the remaining fortresses still in the defenders' hands at the river banks, and helped imperial Gen. Chen Ti (陈湜) take two Shuixi (水西) and Hanxi (旱西) gates. By the evening every gate of the city was firmly in the hands of Qing forces.

Li Xiucheng immediately returned to Hong Xiuquan's palace after the defeat at the Taiping Gate in the morning, and took Hong's son with him to escape via Hanxi gate. However, Li's force of several thousand were beaten back with heavy losses by imperial Gen. Chen Ti's troops and was forced to go to Qingliang Mountain (清凉山). At night Li Xiucheng's remaining force of 1000 went to Taiping Gate, disguised themselves as Qing soldiers and successfully escaped toward the Ming Xiaoling Mausoleum via the section of collapsed city wall because the Qing troops were busy looting and did not bother to stop them. After massive looting the city was set on fire, which lasted until July 26, 1864.


Li Xiucheng did not get far after his initial breakout. Zeng Guoquan sent out a cavalry force of 700 after him and Li lost contact with Hong Xiuquan's son. Most of the Taiping army's commanders failed to escape: Lie (列) King Li Wancai (李万材) was captured on July 21, 1864 at Chunhua (淳化) Town, while Zhang (章) Lin Shaozhang (林绍璋) and Junior Western King (幼西王) Xiao Youhe (萧友和) was killed at Hushu Town on the same day. On July 22, 1864, Li Xiucheng himself was captured alive near Square Mountain (Fangshan 方山). On July 28, 1864, the overall commander of the battle, Zeng Guofan, reached Nanjing from Anqing and ordered Li to write his confession; he was executed after its completion on August 7, 1864. Only Zun (遵) King Lai Wenguang succeeded in breaking out with his 3,000 cavalry to eventually join and lead the Nien Rebellion, during which he continued to fight for another four years.

The success of the Qing Army was partially due to the advanced weaponry adopted, namely firearms. The first Chinese indigenously-built bolt-action single-shot rifle appeared in 1864, and although they were few in number, proved themselves over other firearms and certainly over ancient weapons such as swords, sabres, spears and lances. The third battle of Nanking was a testing ground for the first modern Chinese firearms used in battle.


  • Franz H. Michael, ed.The Taiping Rebellion: History and Documents (Seattle,: University of Washington Press, 1966). 3 vols. Volumes two and three select and translate basic documents.
  • Jian, Youwen (1973). The Taiping Revolutionary Movement. New Haven: Yale University Press. ISBN 0300015429. Translated and condensed from the author's publications in Chinese; especially strong on the military campaigns, based on the author's wide travels in China in the 1920s and 1930s.