an incident where Wang Yuantan found a bronze medallion on the outskirts of the city, which Wang Jian considered a sign of divine favor, Wang Jian renamed him Wang Yuanying. In 913, when Tang completed his term as the military governor of Shannan West and returned to Chengdu to again serve as the director of palace communications, Wang Yuanying submitted accusations against Tang and declared that Tang should not be again in charge of palace communications, Wang Jian was displeased, but subsequently reacted by making Tang an advisor to Wang Yuanying. Uprising against Tang Daoxi and death In fall 913, Wang Jian planned a vacation away from Chengdu for the Qixi Festival (on August 11 that year). The night before (August 10), Wang Yuanying held a feast for the imperial princes and high-level officials, but three invitees — Wang Jian's adoptive son Wang Zonghan (王宗翰) the Prince of Ji, and the officials Pan Qiao (潘峭, who succeeded Tang Daoxi as the director of palace communications) and Mao Wenxi (the chief imperial scholar) — did not attend. Wang Yuanying, in anger, accused Pan and Mao in absentia of alienating his brothers from him. Meanwhile, Wang Yuanying's trusted officers Xu Yao (徐瑤) and Chang Qian (常謙) were gazing at Tang. Tang, in fear, fled from the feast. The morning next day (August 11, the date of the Qixi Festival), Wang Yuanying went to see his father Wang Jian and accused Pan and Mao of alienating him from his brothers. Wang Jian, believing the accusations, ordered Pan and Mao demoted, making Pan's brother Pan Kang the new director of palace communications. However, after Wang Yuanying then left the palace, Tang arrived, and Tang made the counteraccusation that Wang Yuanying was planning to rebel, and, as part of his planning, was planning to put the princes and the officials under arrest. Wang Jian, with his suspicions aroused, cancelled the Qixi vacation plans. Further, he agreed to Tang's request to mobilize the regular troops to defend the palace (rather than the imperial guards, who were formally under Wang Yuanying's command). Upon hearing that the regular troops had been mobilized, Wang Yuanying mobilized his own Tianwu Army (天武軍). He arrested Pan Qiao and Mao and almost battered them to death, in addition to arresting Pan Jiao (潘嶠) the mayor of Chengdu. The next day (August 12), Xu, Chang, and Yan Lin (嚴璘), under Wang Yuanying's direction,