Map showing actions in the First Goguryeo-Tang War.
Map showing actions in the First Goguryeo-Tang War.

Ansi City

Buildings and structures in LiaoningGoguryeo
4 min read

The name of the general who defended Ansi has been lost to history. Korean tradition calls him Yang Manch'un, though even Korean sources acknowledge the name is uncertain. What is certain is this: in the autumn of 645 CE, a garrison commander whose identity no one can confirm held off the most powerful emperor in the world for nearly three months, shouting insults from the walls while the Tang army built a mountain of dirt to try to breach them.

Fortress on the Frontier

Ansi City -- also called Ansi Fortress -- was built by the Goguryeo kingdom in the early 4th century, after they conquered the region from earlier Chinese administrations. The fortress took its name from a Han dynasty prefecture, but its purpose was distinctly Goguryeo: a fortified stronghold in the Liaodong Peninsula, 7.5 kilometers southeast of present-day Haicheng. The Goguryeo controlled a vast territory spanning the northern Korean Peninsula, most of modern Liaoning and Jilin provinces, and part of what is now Russia's Primorsky Krai. Ansi sat near the western edge of this domain, a bulwark against Chinese ambitions.

The Emperor's Gambit

In 643 CE, Goguryeo attacked its southern neighbor Silla, which appealed to the Tang emperor for help. Emperor Taizong of Tang -- one of China's most celebrated rulers -- needed little persuasion. By 645, his army was marching into Liaodong. The initial campaign went well: the Tang captured several Goguryeo cities and debated whether to strike directly at Pyongyang. Instead, after the Battle of Mount Zhubi scattered the Goguryeo field army, the Tang pursued the retreating forces to Ansi. Taizong arrived at the fortress expecting a short siege. When the Ansi defenders saw the emperor's banner, they responded by hurling insults from the walls -- an act of defiance that enraged Taizong and sealed the garrison's determination. His general Li Shiji received permission to slaughter every male inhabitant when the fortress fell, which only made the defenders fight harder.

Sixty Days of Dirt

Unable to breach the walls by conventional assault, the Tang commander Li Daozong began constructing an enormous earthen ramp to the southeast of the fortress, intending to use it as a siege platform. The Ansi defenders responded by raising their own walls to match. This contest of construction continued for sixty days, the mound growing high enough to see inside the city. When a section of the ramp collapsed onto the fortress walls, destroying part of the defenses, it should have been the decisive moment. But the Tang officer Fu Fu'ai inexplicably abandoned his position on the mound, and the Goguryeo garrison seized the collapsed earthwork, incorporating it into their own defenses. Taizong executed Fu Fu'ai in a fury and ordered three days of heavy assault on the captured mound. The garrison held.

Winter's Verdict

By mid-October, the Liaodong winter was closing in. Grass was dying, food supplies were exhausted, and Goguryeo reinforcements were arriving. On October 13, 645, Emperor Taizong ordered the retreat. Before withdrawing, he staged a demonstration ceremony beside Ansi -- a face-saving gesture that acknowledged what the fortress's walls had already proven. The retreat through early winter was devastating; soldiers died in snowstorms, and Taizong personally tended to his wounded Turkic generals Qibi Heli and Ashina Simo. He founded the Minzhong Temple in Beijing to commemorate the soldiers who perished. He prepared another invasion in 648 but died before it could begin, possibly weakened by illness contracted during the Goguryeo campaigns. The fortress that defeated an emperor still resonates in Korean memory; the 2018 South Korean film The Great Battle retells the siege for modern audiences.

From the Air

Located at 40.78N, 122.78E, near Haicheng in Liaoning province. The ruins of the fortress site at Yingchengzi are not prominent from the air. Nearest airports include Anshan Teng'ao (ZYAS) and Shenyang Taoxian (ZYTX). The terrain is relatively flat with low hills, part of the western Liaodong Peninsula.