EventSui and Tang Periods
Emperor Taizong of Tang's Campaign Against Goguryeo and the Battle of Ansi Fortress
645 CE · Tang Dynasty · Ansi Fortress
Today: Around Haicheng, Liaoning Province
Emperor Taizong of Tang attacked Goguryeo in person and took places such as Liaodong Fortress, but attacked Ansi Fortress for 88 days without taking it and withdrew.
What happened
Emperor Taizong of Tang led a huge army and attacked Goguryeo. The people of Goguryeo's Ansi Fortress held the fortress firmly for 88 days. When the weather turned cold, Taizong went back.
More detail
Two sources checked
Why it happened
In 642 Yeon Gaesomun staged a coup in Goguryeo and seized power. Emperor Taizong decided on a campaign, using this as a pretext and also to accomplish what Sui had failed to do.
What happened
In 645 Taizong crossed the Liao River with Li Shiji (Li Ji) and took Gaemo, Bisa, Liaodong and Baegam fortresses in turn. He also defeated the Goguryeo relief army at Jupilsan. But Ansi Fortress held out to the end even when he built an earthen mound to attack it, and as the cold approached he turned his army back in September.
What came of it
Taizong tried to attack Goguryeo again afterward but died in 649. After this failure, Tang changed direction toward allying with Silla.
Links with other countries
The same event in Korean history: the Battle of Ansi Fortress, Yeon Gaesomun, the coup of Yeon Gaesomun