Wang Zongbi
In 918, Wang Jian grew deathly ill, and he entrusted Wang Zongyan to a group of officials led by his adoptive son, the general Wang Zongbi. However, Tang Wenyi wanted to hold onto power, and therefore, when Wang Jian grew even sicker, used the imperial guard soldiers he commanded to prevent the officials from entering the palace to see Wang Jian. However, his associate Pang Zaiying (潘在迎) betrayed him and allowed Wang Zongbi and the other officials inside the palace to take charge. Tang was exiled and, as soon as Wang Jian died, executed. Wang Zongyan took the throne. (Shortly after, Wang Zongyan changed his name to Wang Yan.)