Battle of Geumsan
The Battle of Geumsan, was a major battle between armies of Tang China and Goguryeo Korea that took place in 662 AD, during the Goguryeo–Tang War. Goguryeo initially won the battle but Tang eventually counterattacked and routed the enemy, laying victorious.
Prelude
The war between the Chinese Tang Empire and the Korean kingdom of Goguryeo has been raging continuously for two decades since 645. The previous two invasions by the Tang were unsuccessful and have resulted in immense losses for both sides.In 666, the long-time military dictator of Goguryeo Yŏn Kaesomun died, and infighting developed between his eldest son Yŏn Namsaeng, who succeeded him, and his two younger sons Yŏn Namgŏn and Yŏn Namsan, over suspicions that they had for each other. Eventually, Yŏn Namgŏn claimed the post of dictatorship for himself while Yŏn Namsaeng was away from the capital Pyongyang. The two brothers then forced the king Bojang to arrest Yŏn Namsaeng. Unable to reclaim the dictatorship for himself and now a political fugitive, Yŏn Namsaeng was left with no choice and eventually defected to the Tang along with 100,000 Goguryeo soldiers. He sent his son Yŏn Hŏnsŏng to seek aid from the Tang. The Emperor of China Gaozong then sent an 80,000-strong army led by generals Xue Rengui, Li Shiji and Qibi Heli based in Liaodong to rendezvous with the defectors. After taking the Goguryeo cities of Namseo, Mokjeo, and Changam, the Tang army and Goguryeo defectors finally met at the fortress of Shin.
Yŏn Namsaeng provided valuable intelligence on the military system and fortifications of Goguryeo to the Tang court at Chang'an. Emperor Gaozong then increased the Tang expeditionary army to 150,000 men.
Tang forces with the help of Yŏn Namsaeng have finally captured the fortress of Shin, the strongest fortress in the northern frontier of Goguryeo, in 14 September 667. Qibi Heli was then ordered by Li Shiji to hold the fortress to be used as a base and springboard for further offensive operations against Goguryeo. In October 667 the Tang forces went on to attack Buyeo, the last city in the north of Goguryeo that has not fallen yet. In response, Yŏn Namgŏn gathered all the armies across the kingdom numbering 200,000 men to restore the northern front and sent it to intercept the Tang army to prevent Buyeo from falling. Leading this army is Yŏn Namgŏn's brother Yŏn Namsan and it included the most elite troops Goguryeo could spare.