He was the son of King Muyeol of Silla. Before his father died, he sought an alliance with Tang China. In 660, with the help of the Tang army, he and Kim Yushin conquered Baekje. Japan sent reinforcements for Baekje.