王宗弼
However, thereafter, Tang Wenyi blocked off access between Wang Jian and the officials, including Wang Zongbi, wanting to hold control of the ill emperor himself. However, Tang's partisan Pan Zaiying (潘在迎) betrayed his plans to the officials, and the officials forced their way into the palace and had Tang ejected from it (and later executed, as were his brother Tang Wenyi (唐文裔, note different character) and associate Wang Baohui (王保晦)). Shortly after, Wang Jian, after leaving an edict that put Wang Zongbi, the eunuch Song Guangsi, and other adoptive sons Wang Zongyao (王宗瑤), Wang Zongwan (王宗綰), and Wang Zongkui (王宗夔) in charge of assisting Wang Zongyan, died, and Wang Zongyan took the throne. He changed his name to Wang Yan.