defeated Chu troops, Min and Wuyue forces also withdrew. Subsequently, Liu captured Tan's capital Qian Prefecture (), allowing Wu to directly take over Baisheng Circuit. Apparently sometime after Wang Shengui's death (the date of which was not recorded in traditional histories, but appeared to be 903), Wang Shenzhi allowed Wang Shengui's son Wang Yanbin () to take over governance of Quan Prefecture, and later bestowed on him the title of military governor of Pinglu Circuit (平盧, whose territory was not under Min control, being headquartered in modern Weifang, Shandong). Wang Yanbin initially governed the prefecture well. However, later, after he received a white deer and a purple lingzhi, he became arrogant, believing in the prophecies of the Buddhist monk Haoyuan () that he would become prince in the future. He further secretly sent emissaries to Later Liang, seeking to be a Later Liang vassal independently of Wang Shenzhi. When Wang Shenzhi discovered this in 920, he had Haoyuan and his associates executed and removed Wang Yanbin from his posts, sending him back to his mansion. In 922, there was an incident where Liu Yan (whose state had been renamed Han by that point and thereafter was known as Southern Han in traditional Chinese sources), believing in sorcerers who told him that he should go to Meikou (梅口, in modern Meizhou, Guangdong) to avoid a disaster. With Meikou on the border between Southern Han and Min, the Min general Wang Yanmei (), who might have been either a son of Wang Shenzhi's or Yang Shengui's, decided to launch an ambush on Liu. However, Liu received news of the ambush and left Meikou before Min forces could attack. In 923, Li Cunxu the Prince of Jin, whose state was a rival of Later Liang's to its north, declared himself the emperor of a new Later Tang (as Emperor Zhuangzong), and later that year captured Later Liang's capital Daliang. The Later Liang emperor Zhu Zhen (son of Emperor Taizu) committed suicide), ending Later Liang. Subsequently, emissaries were exchanged between Min and Later Tang, and Wang Shenzhi recognized Emperor Zhuangzong's suzerainty. In 924, Southern Han launched an attack on Min, with Liu Yan himself commanding the troops and reaching the borders of Min's Ting and Zhang Prefectures. A Min counterattack defeated Southern Han forces, however, and Liu Yan withdrew. In 925, Wang Shenzhi grew ill, and he put his oldest son Wang Yanhan, then