The Goguryeo–Tang War was a series of Chinese invasions of Goguryeo, the kingdom that ruled Manchuria and the northern Korean peninsula, between 645 and 668 CE. The Tang dynasty under Emperor Taizong and his son Emperor Gaozong sent army after army against Goguryeo's mountain fortresses and its capital, Pyongyang. For two decades the kingdom held out, as it had against the Sui dynasty before. It fell only after Tang allied with the southern Korean kingdom of Silla, destroyed Goguryeo's ally Baekje, and exploited a succession quarrel in Pyongyang. The war ended the Three Kingdoms of Korea and set the stage for Silla's unification of most of the peninsula.
Unfinished business from the Sui
Goguryeo had grown over seven centuries into the strongest state of north-east Asia, holding the Liao river valley on China's doorstep. The Sui emperors, who reunited China in 589, demanded its submission and launched four invasions between 598 and 614. In 612, the largest, a Sui army of about 305,000 men was routed at the Salsu river and only a few thousand returned. These disasters helped bring down the Sui. Taizong, the second Tang emperor and a successful conqueror of the Göktürks, was determined to redeem them.
In 642 Goguryeo's balance of power shifted. The general Yeon Gaesomun murdered King Yeongnyu and some 180 aristocrats, put the king's nephew, who reigned as King Bojang, on the throne as a figurehead and ruled as military dictator. In the same year Baekje's King Uija seized some 40 Silla fortresses, and Silla sent envoys begging Tang for help. Taizong used the regicide as his pretext.
Taizong's campaign of 645
In spring 645 the general Li Shiji crossed the Liao river with a field army of about 60,000 men and tribal auxiliaries, Taizong following with his own cavalry guard, while a fleet carried another 40,000 soldiers by sea. The Tang took a string of fortresses: Gaimou fell after 11 days, and Liaodong city was set on fire with incendiary missiles and stormed in June. In July a Goguryeo relief army, reported at 150,000 men including Mohe horsemen, was drawn into a trap at Jupilsan near Ansi and defeated. Tang sources say 36,800 men were captured.
Then the advance stalled at Ansi. Its defenders, traditionally led by Yang Manchun, beat off assaults six or seven times a day. The Tang built a great earth ramp against the walls, but the defenders seized it and held it. In October, with winter approaching and supplies low, Taizong ordered a retreat; the march home through the marshes of the Liao basin cost many lives. Taizong, according to EBSCO's biography, never recovered his health after the campaign and died in 649 with Goguryeo still unconquered.
Wearing Goguryeo down
Taizong's ministers had opposed the war, and after 645 the Tang turned to smaller invasions in 647 and 648, meant to exhaust the frontier, which Goguryeo again beat back. Under Gaozong, who came to the throne in 649, the decisive change was diplomatic. Silla's envoy Kim Chunchu, later King Muyeol, cultivated the Tang court, and Silla argued that the allies should first knock out Baekje, Goguryeo's partner in the south. Silla could supply Tang armies and open a second front.
In 660 a Tang fleet and a Silla army destroyed Baekje, and in 663 the allies crushed the Baekje loyalists and their Japanese supporters at the Battle of Baekgang. In the meantime Tang struck at Goguryeo directly. In 661 Su Dingfang crossed the sea and besieged Pyongyang for months, but early in 662 Yeon Gaesomun destroyed a Tang column at the Sasu river and the siege was lifted.
The fall of Pyongyang
Goguryeo's strength depended on Yeon Gaesomun, and when he died in 666 his sons fell out. The eldest, Yeon Namsaeng, was driven from Pyongyang by his brothers, went over to Tang and offered to guide its armies, and Yeon Gaesomun's younger brother defected to Silla. Gaozong, whose empress Wu Zetian was by now a power at court, ordered a final invasion. Li Shiji, now in his seventies, led it from 667, sweeping away the frontier fortresses, while Silla's armies advanced from the south. In 668 the allies besieged Pyongyang. King Bojang surrendered, and when Yeon Gaesomun's son Namgeon tried to fight on in the inner city, one of his own commanders, a Buddhist monk, opened it to the Tang. Tang sources record that some 200,000 prisoners were deported to China.
Aftermath
Tang divided the conquered kingdom into districts under the Protectorate General to Pacify the East, based at Pyongyang, and tried to rule Baekje's lands and even Silla in the same way. Silla refused to become a province. Joined by Goguryeo and Baekje loyalists, it fought the Silla–Tang War from 670, and in 676 it won control of all the land south of the Taedong river. Tang did not formally acknowledge Silla's hold on the region until 735. In the north, a former Goguryeo general, Dae Joyeong, founded Balhae in 698, which claimed to be Goguryeo's heir.
Legacy
The war ended the Three Kingdoms period that had shaped Korea for 700 years, and made Silla, based at Gyeongju, the first state to rule most of the peninsula. That unification laid the foundations of a single Korean identity. For Tang, the war was a costly success: it gained little lasting territory but proved the value of alliances and naval power, lessons that later Chinese dynasties also applied. The defence of Ansi in 645 became one of the most celebrated episodes of Korean history.
On our maps
Our 600 CE map shows Koguryo, Paekche and Silla at the start of the wars with Sui and Tang, beside the Sui Empire. The 700 map shows the Tang Empire after the conquest, though it still draws Koguryo and Paekche.
Key dates
- 612 CEThe Sui emperor Yang's huge invasion of Goguryeo ends in disaster at the Salsu river.
- 642 CEYeon Gaesomun kills King Yeongnyu and some 180 nobles and rules Goguryeo as military dictator.
- 645 CEEmperor Taizong takes Liaodong city but fails to capture Ansi fortress and retreats in October.
- 647 CETang launches the first of two smaller invasions, in 647 and 648, aimed at wearing Goguryeo down.
- 660 CETang and Silla conquer Baekje, Goguryeo's ally in the south.
- 661 CESu Dingfang besieges Pyongyang for months without success.
- 662 CEThe siege is abandoned after Yeon Gaesomun destroys a Tang army at the Sasu river.
- 666 CEYeon Gaesomun dies, and his eldest son Namsaeng, driven out by his brothers, defects to Tang.
- 667 CELi Shiji leads a new Tang invasion, guided by Namsaeng, while Silla attacks from the south.
- 668 CEPyongyang falls in October and King Bojang surrenders; Goguryeo ceases to exist.
From the atlas
Goguryeo–Tang War in time and on the map
Goguryeo–Tang War lasted from 645 CE to 668 CE. The nearest maps from before and after are 600 CE and 700 CE; compare them side by side.
Living through it, among others on this site: Aisha (605–678 CE), Brahmagupta (598–670 CE), Huineng (638–713 CE), Husayn ibn Ali (626–680 CE), Mu'awiya I (603–680 CE), Wu Zetian (624–705 CE), Abd al-Malik ibn Marwan (646–705 CE), Amr ibn al-As (570–664 CE), Xuanzang (602–664 CE) and Ali ibn Abi Talib (599–661 CE).
Other events of the same years: Vietnam under Chinese rule (111 BCE–938 CE), Asuka period (538–710 CE), Plague of Justinian (541–750 CE), Early Muslim conquests (622–750 CE), Arab–Byzantine wars (629–1050), Muslim conquest of Persia (633–654 CE), Muslim conquest of the Maghreb (647–709 CE), First Fitna (656–661 CE), Assassination of Uthman (656 CE) and Battle of Baekgang (663 CE).
Next to it in time on this site: before, Arab conquest of Egypt (639–642 CE) and Battle of Nahavand (642 CE); after, Synod of Whitby (664 CE) and Battle of Karbala (680 CE).
Quick answers
- When did Goguryeo–Tang War happen?
- It began in 645 CE and ended in 668 CE, lasting 23 years.
- Where did Goguryeo–Tang War take place?
- Liaodong Peninsula.
- How did the map change?
- Compare the atlas’s maps of 600 CE and 700 CE side by side.
- Why did Tang China attack Goguryeo?
- Goguryeo controlled Liaodong and much of Manchuria on the Chinese frontier, had humiliated the Sui dynasty and refused to submit as a vassal. Emperor Taizong saw finishing the job as both a strategic necessity and a matter of prestige, and Yeon Gaesomun's murder of the king in 642, together with Silla's appeals for help, gave him a pretext.
- Why did Taizong fail to conquer Goguryeo?
- Goguryeo's defence rested on a chain of mountain fortresses that each had to be besieged in turn. In 645 Taizong took several, but Ansi held out for nearly three months, and with winter coming and supplies running low he had to retreat. Without an ally to attack from the south and supply his armies, he could not reach Pyongyang.
- Who won the Goguryeo–Tang War?
- Tang and Silla did. Pyongyang fell in 668, and Tang set up a protectorate to rule the former kingdom. But Tang could not hold its gains: Silla fought its former ally in the Silla–Tang War and by 676 had pushed it out of most of the peninsula, while Goguryeo refugees later founded Balhae in Manchuria.