Battle of Baekgang
In 663, Silla and Tang counterattacked, and besieged the restoration movement at a fortress known as Juryu Castle (주류성/周留城).At this point Boksin appears to have betrayed the restoration movement. He had Dochim killed and sought to slay Prince Pung as well. However, Pung killed him first, and fled to Goguryeo. The restoration movement was destroyed shortly thereafter at the Battle of Baekgang. During this battle his follower Yong Sak betrayed him for the Tang but Heukchi Sangji kept marching onward defeating several Chinese armies. He surrendered and the Tang appointed him as the Outer General of the Lieutenant's Army and the Yangju Citizen of the Lieutenant's Army.