Yamato period
In 660, Baekje was attacked by the allied armies of Silla and the Tang dynasty of China who had made the Silla–Tang alliance. The capital, Sabi, was taken, but Boksin resisted near modern-day Yesan. After Uija of Baekje surrendered to Tang, Boksin and the monk Dochim kindled a restoration movement known as the Baekje Revival Movement. They sent for the prince Buyeo Pung, who had been living as a hostage in Yamato period Japan, an important Baekje ally. With some Japanese aid, they gathered the remnants of the Baekje army and launched a series of attacks on the Silla-Tang forces.