前蜀
In 911, Li Maozhen's state of Qi, which had been an ally of Former Shu, broke that alliance and attacked Former Shu. Wang Zongbi served in the campaign against Qi and was successful in repelling the Qi general Liu Zhijun. Other Former Shu generals defeated other Qi generals, and Qi forces were forced to withdraw.