Castles

The Forbidden City: attacks and sieges

Written 22 November 2026.

In brief. The Forbidden City is a palace inside a walled capital, and nearly everything that happened to it happened because Beijing had already fallen or been entered. Beijing was besieged by the Oirat Mongols in 1449 and held. The palace itself was taken in April 1644 by Li Zicheng's rebels, who left it burning six weeks later, and it passed to the Manchus without a fight. In 1813 a few dozen sect rebels got in through two gates with the help of palace eunuchs and were beaten back inside the walls. In 1900 foreign armies stopped at its gates, posted guards on them, then marched through an empty palace. In 1917 an aeroplane dropped three small bombs on it. In 1966 Red Guards tried to force their way in and were refused. Its moat was never attacked; the gates were the way in every time. The sources disagree on several points, above all on whether anyone reached the palace in 1449 and on what it means to say it was occupied in 1860 and 1900.

At a glance

WhenAttackerDefenderNumbersHow it was foughtResult
October 1449Oirat Mongols under EsenMing garrison of Beijing under Yu QianOirats 70,000; Ming "around 220,000 soldiers"1Attacks on the city gates over five days1City held. One source says the palace was occupied; another has the Oirats beaten outside the city walls2,1
April 1644Rebels of Li ZichengThe Ming court of the Chongzhen emperorLi: 300,000,3 or 1,300,000;4 Ming 250,000.4 All three figures are from WikipediaCity gates opened from inside,3 or city walls breached and a final assault on the palace2Taken
June 1644Li Zicheng, leavingNo oneNot givenFire set on the evening of 3 June,5 or on 4 June6Burned in part: the great throne hall for certain7
1813 (8 or 9 October; 15 September in one source)Sect rebels sent by Lin QingPalace guards, princes and eunuchs, then troops from outsideRebels: about 250 sent, about 80 inside;8 the emperor counted 70 and more;9 only ten or so by the east gate10Disguise, eunuchs as guides, a rush through two gates at noon8Held
August 1900Eight-nation relief forceQing troops; the court had fledAllies 22,000,11 or about 10,000 by the time they arrived12Artillery through the gates of the Imperial City, halting at the palace gates; guards on the four gates;13 a march through two weeks later11Not defended; entered
July 1917Republican government of Duan QiruiZhang Xun's royalists, with the boy emperor Puyi insideOne aeroplane, three bombs of 12 pounds each14Bombing from the air15Slight damage. Two men hurt;14 one death by another account15
August 1966Red GuardsPalace Museum staff, then an army battalionNot givenCrowds at the gates; a truck used as a ram2Held

What kind of fortress it was

The Forbidden City was built from 1416 to 1420,2 at the centre of a capital that had walls of its own. Around it ran a wall 7.9 metres high and a moat 52 metres wide,16 which is 6 metres deep by one account16 and four by another.2 Wikipedia says the walls "served as both defensive walls and retaining walls for the palace".16

Geremie Barmé, whose book on the palace is the fullest source read for this entry, is blunt about how much the defences were worth. The great southern gate, the Meridian Gate, was conceived "as sealing an impregnable enclosure", yet "it fulfilled no real military function", and "The palace was invaded a number of times".2 Of the moat he writes: "The moat was never assailed by invaders; the battlements and gates always proved the easier breach."2

1449: the Oirats before Beijing (city held; the palace disputed)

In 1449 a Ming army was defeated at Tumu and the emperor himself was taken prisoner by the Oirat leader Esen.1 Esen marched on Beijing with his captive, saying he had come to put him back on his throne.1 The court answered by enthroning the captive's brother and giving the defence of the city to the minister of war, Yu Qian.1

"By 27 October, Esen had reached Beijing at the head of an army of 70,000".1 The fighting was at the city's gates. At Deshengmen the Oirats rode into an ambush and met "concentrated firearm volleys and flank attacks from concealed troops".1 At Xizhimen they were driven off.1 At Zhangyimen they chased a broken Ming formation back to the city wall, and the fight turned only when "local residents began hurling stones and bricks from rooftops".1

"After a five-day siege" Esen saw that he was outnumbered and that his reinforcements had been stopped at the Juyong Pass, and on 31 October he withdrew.1

The record

April 1644: Li Zicheng takes the palace (taken)

In the spring of 1644 a rebel army out of the north-west came down on Beijing. Its leader, Li Zicheng, had declared a dynasty of his own, the Shun, at Xi'an that February.3 "Li and his army reached the suburbs of the capital on 23 April".3 A scholarly dictionary of the period has the same dates: he "surrounded Peking on the 23rd, and entered the city on the 25th".5 On the 23rd the Chongzhen emperor "held his last audience with his ministers".17 Li offered him the chance to surrender; nothing came of it.17

How the city fell is told two ways. In one, there was no fight: a eunuch official "ordered the Ming forces defending Beijing to open the city gates and let Li Zicheng's army in".4 In the other, Li's men broke through the southern walls of the Outer City "and then overwhelmed the defences of the Inner City to launch a final assault on the Forbidden City itself".2

The emperor did not wait for them. He climbed the hill behind the palace and saw smoke rising from the southern suburbs.2 He went back to his apartments and turned his sword on his own household, killing a consort and a daughter and cutting the arm from another daughter.17 Then he climbed the hill again and hanged himself, on the morning of 25 April 1644.2 "By the time his body was found the invaders had terrorised the court into submission."2

The record

June 1644: Li Zicheng burns the palace as he leaves (burned in part)

Li did not keep what he had taken. The Ming general Wu Sangui, who had been guarding the Great Wall against the Manchus, joined them instead.2 On 27 May the two together beat Li's army at Shanhai Pass.3 Li was back in Beijing on 31 May, and his men "began pillaging the city that for a month had been their capital".6

He saved two acts for the end. On 3 June he "hastily ascended the throne in the Hall of Martial Valour",2 in what one historian calls "a formal but hasty coronation ceremony".6 It was not the great throne hall: Barmé notes that emperors were enthroned in the Hall of Supreme Harmony, and that Li's choice of a hall to the west of it was unusual.2 The Palace Museum says he "草草举行了即位仪式" [held a hurried enthronement] there.20 Then he burned what he could not keep. "On the evening of June 3 he burned part of the Palaces and the towers of the nine gates of the city, and at dawn of the following day departed westward."5 Another historian puts the order on 4 June: "Li Zicheng ordered the palace, along with most of the city, burned".6

"The Manchus occupied the devastated city on 6 June."2 They met no defence at the palace in any source read. They found that "Much of the palace had been laid waste in the chaotic interregnum", and the main throne room "was in ruins", so their regent did the court's business in the Hall of Martial Valour, where Li had been enthroned days before.2

The record

1813: the Eight Trigrams break in (held)

This is the one time the palace was stormed by people who meant to take it and were fought off inside its walls.

The attackers belonged to a religious sect, the Eight Trigrams, also called the Heavenly Principle sect.8 One of its leaders, Lin Qing, had declared himself a Buddha come again;8 another, Li Wencheng, was announced as a "true lord of the Ming".8 They chose their day because the Jiaqing emperor "was scheduled to be out of Beijing on a hunting trip, so the Forbidden City would be lightly guarded".8 Lin Qing planned the attack on the palace but did not go himself.8

He had help inside. Seven palace eunuchs are named as his inside men.9 His followers came into the capital disguised as merchants9 and "hid in shops outside the Eastern and Western palace gates".8 By the eastern gate, the Donghua Gate, one band of "about 60 men" sat in tea and wine shops with banners and weapons hidden, and two eunuchs slipped out of the palace at dawn to join them.22 The gate stood with "its enormous doors open, tended by more than a dozen guards".22

They went in at noon, "when the guards would be eating their meals", wearing white cloth round their heads and waists to know one another, and "Armed with knives and iron bars".8 It half worked: "about eighty rebels made it through the gates before they were closed".8

The Palace Museum, which looks after the palace today, tells what went wrong at each gate. At the east gate the rebels quarrelled with coal sellers over the right of way and let their hidden weapons show; the guards saw, and slammed the gate, so that "仅十数人闯入" [only ten or so broke in].10 The western party did better. Led by eunuchs on the inside, it fought its way to the Longzong Gate, on the west side of the square before the Qianqing Gate, "并在此展开激战" [and a fierce fight took place there].23 The emperor's own account has a rebel with a banner climbing a wall to get in at the Yangxin Gate (養心門), and says that his second son, Prince Mianning, took up a gun: "朕之皇次子親執鳥鎗連斃二賊" [my second son took a fowling gun in his own hands and shot two of the rebels dead, one after the other].9 A scholarly biography says the same: the prince, "then studying inside the Palace, courageously went to the rescue and killed two attackers with a fowling-piece".24 The Palace Museum adds that he was sixteen, that he organised the defence, and that the rebels were held on the square outside the Qianqing Gate until picked troops of the Eight Banners reached the palace.25

"With the advantage of surprise lost, the rebels turned and fled."8 Princes, officers of the guard and loyal eunuchs hunted the survivors down.8 The emperor wrote that it took "竭二日一夜之力" [the whole effort of two days and a night] to clear them out.9

The record

1900: the foreign armies stop at the gates, then march through (not defended; entered)

In the summer of 1900 the Boxers, with imperial troops, laid siege to the foreign legations in Beijing, and the Empress Dowager Cixi lent the Boxers her support.2 Eight powers sent an army to break the siege.2 It fought its way into the city on 14 August and relieved the legations.11

The next morning Chinese troops still held parts of the inner walls and of the Imperial City, the walled district round the palace, and of the Forbidden City itself.11 The American commander, General Chaffee, ordered them cleared.11 American guns, with Russian and French help, "blasted their way through a series of walls and gates into the Imperial City".12 Marines took part in the advance.26 And there it stopped: "They halted their advance when they reached the gates to the Forbidden City".12

The palace they stopped at was already empty of its rulers. Cixi, the emperor and part of the court had "fled Peking in the early morning of 15 August", she dressed as a peasant woman, "only a few hours before the Americans knocked up against the wall of the Forbidden City".11 They left by the palace's west gate.27

What happened next is told most fully by a Palace Museum historian. The allies ringed the palace the day after the city fell, and every nation wanted to be first in. Their commanders feared a quarrel among themselves, and wanted the palace as a bargaining piece against the court. So "各国却相约不对紫禁城实行占领" [the nations agreed among themselves not to occupy the Forbidden City], and put its four gates under guard: Americans on the Meridian Gate, Japanese on the east, west and north gates, with orders that no troops go in at will.13

Two weeks later the armies went in, on parade. On 28 August they "marched through the Forbidden City to demonstrate symbolically their complete control of Beijing".11 "Chinese authorities protested their entry", and gave way only when the foreign armies "promised not to occupy the Forbidden City, but threatened to destroy it if their passage was disputed".11

The record

1917: three bombs from the air (slight damage)

The emperor had abdicated in 1912, but by the terms of the abdication the boy Puyi and his court still lived in the inner part of the Forbidden City.2 In July 1917 a general loyal to the old dynasty, Zhang Xun, put him back on the throne. The restoration lasted from 1 to 12 July.30

It had few friends: "almost all of the Northern Army was opposed to him".15 The republican premier, Duan Qirui, "ordered an aerial bombardment of the Forbidden City compound".15 A single Caudron aeroplane was sent from Nanyuan "to drop three bombs over the Forbidden City, causing the death of a eunuch, but otherwise causing minor damage".15 Chinese Wikipedia dates it to 7 July and says the aviation school "派飛機向宮中投下三枚炸彈" [sent an aeroplane and dropped three bombs into the palace], and that "宮中亂成一團" [the palace was thrown into confusion].31

The Palace Museum's own study of the raid, by Zuo Yuanbo, gives the detail. At about ten in the morning of 7 July the aeroplane came from the south, circled the city once and dropped its three bombs.14 It was a French-made Caudron trainer of 80 horsepower with no bombsight; the bombs weighed 12 pounds each, and the man who threw them held one in his hands and one in each coat pocket and pulled the safety pins with his teeth.14 Zuo calls it "中国有史以来的首次空袭" [the first air raid in China's history].14 It did little harm to the buildings, but the court was terrified, and spent the rest of the day sending go-betweens to make sure the aeroplane did not come back.14

The ground fighting was elsewhere in the city. On 12 July the republican army attacked at half past four in the morning;31 the royalists were "entrenched on the wall of the Temple of Heaven".15 Zhang Xun "fled to the legations quarter",15 and Puyi abdicated again.31

The record

1966: the Red Guards at the gates (held)

By 1966 the Forbidden City was the Palace Museum. In August of that year Red Guards went through Beijing destroying what they called the Four Olds, and they "wanted to vent their ire on the most tangible remnant of China's feudal past, the Forbidden City".2

On 16 August, by Barmé's timeline, they "unsuccessfully attempt to storm the palace".2 He writes that "palace staff managed to turn back the rebels", though another group at the north entrance put up a sign over the main gate renaming the place a palace of blood and tears.2 On the eve of the mass rally of 18 August, Red Guards "milled in the courtyard outside the Meridian Gate demanding entry to the palace".2 Party leaders, among them the premier, Zhou Enlai, "ordered museum workers in the Forbidden City complex to refuse the Red Guards entry".2

The government closed the museum from 16 August 1966.2 It did not end there. Red Guards from Tianjin "even attempted to ram the doors at the north entrance of the Forbidden City with a truck".2 At last Zhou Enlai "felt obliged to dispatch a battalion of troops to live in the palace".2

The record

Changes of hands and other events that were not attacks

What held and what failed

TacticUsed against the Forbidden CityDid it work?
Siege of the city round it1449No: the Oirats withdrew after five days1 (but see the disagreement above)
Taking the city first1644; 1900Yes. Once Beijing had fallen the palace was not held either time2,11
Treachery at the gates1644 (city gates, by one account); 1813 (palace gates)1644: yes.4 1813: it got about 80 men inside, no more8
Surprise rush through open gates1813No: the gates were shut on most of the attackers and the rest were shot or hunted down8,9
Artillery1900Broke the gates of the Imperial City; by most accounts not used on the palace gates11
Fire1644, by its departing occupierYes: the great throne hall was lost7 and much of the palace laid waste2
Bombing from the air1917As a weapon, no: three small bombs, slight damage.15 As a fright, yes: the court sued for a halt the same day14
Crowds and a truck as a ram1966No: the gates stayed shut and troops were sent in2
Crossing the moatNever recorded"The moat was never assailed by invaders"2

Not yet established

About this entry

Each attack is told first as a short story and then set out as a record. The story adds nothing the record does not have: the narrator chooses the order and the emphasis, never the facts. Every statement has a numbered note that leads to its source. Anything that is our own reading is said to be ours. Where two sources disagree, the record gives both. "Not given" means none of the sources read says; it does not mean it is unknown to historians.

Sources

  1. Defense of Beijing, Wikipedia. The opening and the account of the battle read in full; the background through an automatic summary.
  2. The Forbidden City, by Geremie R. Barmé (Harvard University Press, 2008). The whole book as a PDF on chinaheritage.net. Read: the timeline and the passages in chapters 1, 2, 3, 5, 6 and 7 on 1449, 1542, 1644, 1813, 1860, 1900, 1917, 1924, 1937, 1949 and 1966, found by searching the text taken from the PDF. Not read cover to cover. Its quotations were checked by hand against that text.
  3. Li Zicheng, Wikipedia. The sections on 1644 read in full.
  4. Jiashen incident (Battle of Beijing, 1644), Wikipedia. Read in full. A short page that Wikipedia marks as needing more references; its figures come from the summary box.
  5. Li Tzŭ-ch'êng, in Eminent Chinese of the Ch'ing Period, on Wikisource. A biographical dictionary edited by Arthur W. Hummel for the Library of Congress (1943); this entry is by Tu Lien-chê. Wikisource is only where the text is kept. The passage on 1644 read in full.
  6. Li Zicheng sets fire to the Forbidden City, The China Project. A column by the historian James Carter of Saint Joseph's University, 2 June 2021, drawing on Frederic Wakeman. The second half, on May and June 1644, read in full; the first half through an automatic summary.
  7. 清代太和殿的两次重建 (The two rebuildings of the Hall of Supreme Harmony under the Qing), by 王子林 (Wang Zilin). In Chinese. A scholarly article as a PDF on the Palace Museum's website. The first section, on 1644 to 1646, read in the text taken from the PDF. Its quotations were checked by hand against that text.
  8. Eight Trigrams uprising of 1813, Wikipedia. Read in full.
  9. 癸酉之變 (the 1813 incident), Chinese Wikipedia. In Chinese. Read in full, including its text of the Jiaqing emperor's edict blaming himself. Wikipedia marks the page as needing more sources and as leaning on primary ones.
  10. 东华门 (East Flowery Gate), The Palace Museum. In Chinese. Read in full, with its attached note on Lin Qing.
  11. Battle of Peking (1900), Wikipedia. The sections on 14 to 28 August read in full.
  12. Boxer Rebellion, National Army Museum. The British Army's national museum, London. The section on the relief of Beijing read in full; the rest through an automatic summary.
  13. 百年前的国耻:八国联军进入午门 (A national shame of a hundred years ago: the eight-nation army enters the Meridian Gate), by 远波 (Zuo Yuanbo), second page. In Chinese. A magazine article kept page by page as PDFs on the Palace Museum's website; this is the page with the agreement and the guards, and the first page was read too. Its date of publication is not on the pages read. Read in the text taken from the PDFs, which has a few misread characters; the quotation was checked by hand.
  14. 讨逆军空袭紫禁城始末 (The air raid on the Forbidden City by the forces sent against the rebels), by 左远波 (Zuo Yuanbo), 故宫学刊 2016. In Chinese. A scholarly article in a Palace Museum journal, as a PDF on the museum's website. Sections 2 to 4 read in full in the text taken from the PDF; quotations checked by hand.
  15. Manchu Restoration, Wikipedia. The account of the bombing and the last days read in full; the rest through an automatic summary.
  16. Forbidden City, Wikipedia. History section and the section on walls and gates read in full.
  17. Chongzhen Emperor, Wikipedia. The section on the fall of Beijing read in full.
  18. 清廷迁都北京 (The Qing court moves its capital to Beijing), The Palace Museum. In Chinese. Read in full.
  19. History of the Forbidden City, Wikipedia. Read through an automatic summary, with the passages used here read on the page itself.
  20. 武英殿 (Hall of Martial Valour), The Palace Museum. In Chinese. The museum that looks after the palace. The history of the hall read in full.
  21. 清代紫禁城布局变迁分期试论 (On the periods of change in the layout of the Forbidden City under the Qing), by 杨新成 (Yang Xincheng). In Chinese. A scholarly article as a PDF on the Palace Museum's website. Only the passage and footnote on the damage of 1644 read, in the text taken from the PDF; quotations checked by hand.
  22. This Week in China's History: Eight Trigrams Rebellion Attacks the Forbidden City, The Sinica Podcast. A column by James Carter, 10 October 2025. Only the opening was read: the rest is behind a paywall, and it stops as the attack begins.
  23. 隆宗门 (Longzong Gate), The Palace Museum. In Chinese. Read in full.
  24. Min-ning, in Eminent Chinese of the Ch'ing Period, on Wikisource. The same dictionary; this entry is by Fang Chao-ying. The passage on 1813 read in full.
  25. 道光帝行乐图轴 (The Daoguang emperor at leisure, a hanging scroll), The Palace Museum. In Chinese. The museum's note on a painting in its collection. Read in full.
  26. U.S. Marines in the Boxer Rebellion, Prologue Magazine, U.S. National Archives. Winter 1999. Read through an automatic summary; the sentence quoted was checked on the page. Used only for the marines' part on 15 August.
  27. 西华门 (West Flowery Gate), The Palace Museum. In Chinese. Read in full. It says nothing of 1813.
  28. The Boxer Uprising II: War and Aftermath, essay chapter 3, MIT Visualizing Cultures. Massachusetts Institute of Technology. The sections on the march of 28 August, the looting and the court's return read in full; the rest through an automatic summary. No author is named on the page.
  29. The Looting of the Winter Palace in Peking in 1900-1901, by Niklas Leverenz, Journal for Art Market Studies. Read through an automatic summary, with the caption quoted checked on the page. Its subject is the lakeside palaces west of the Forbidden City, not the Forbidden City itself.
  30. Puyi, Wikipedia. The passages on 1917 and on the expulsion of 1924 read; the rest not.
  31. 張勳復辟 (Zhang Xun's restoration), Chinese Wikipedia. In Chinese. The entries for 7 and 12 July 1917 read in full; the rest through an automatic summary.
  32. 延禧宫 (Palace of Prolonged Happiness), The Palace Museum. In Chinese. The passage on 1917 read; the rest through an automatic summary.
  33. Palace plot of Renyin year, Wikipedia. Read through an automatic summary, with the sentences quoted checked on the page.
  34. Second Opium War, Wikipedia. The passages on October 1860 read; the second half of the page not.
  35. The Franco-British expedition to China, 1860 (timeline), Fondation Napoléon. The entries for October and November 1860 read in full.
  36. Second China War, National Army Museum. The passage on October 1860 read in full; the rest through an automatic summary.
  37. 1924 Beijing Coup, Wikipedia. Read through an automatic summary; used only for the date of the coup.