Following Yeon Gaesomun's death around 666 Namsan joined forces with his elder brother Yeon Namgeon against their oldest brother Namsaeng, who ultimately fled to Tang China to seek its aid.
Following Yeon Gaesomun's demise, Namsan and Yeon Namgeon united against their elder sibling Namsaeng, who subsequently fled to Tang China seeking aid.