Dae Magniji
Yeon Namsaeng was said to have become Dae Magniji sometime before the death of Yeon Gaesomun, who is said to have stepped down from the position and took the honorary position of Tae Dae Magniji.
After the death of his father, Yeon Namsaeng prepared for war with the Tang, and set out on an inspection of the border fortresses in Yodong, and other fortresses throughout the kingdom. He left his brothers, Yeon Namgeon and Yeon Namsan, in charge of Pyeongyang before he left. Namgeon and Namsan took advantage of their brother's absence and took control of Pyeongyang and the Royal Courts. They falsely accused Namsaeng of being a traitor, and forced the King Bojang to order Namsaeng's arrest. With nowhere else to go, Namsaeng fled to Tang China at the urge of his son, who had escaped death at the hands of his uncles. Namsaeng fled to the Tang, and received a high position in the Tang military.
Read more about this topic: Yeon Namsaeng