 Li Keyong took control of the region and commissioned An Jinjun as the military prefect (團練使, "Tuanlianshi") of the prefectures he took from the Mengs.Immediately thereafter, Li Keyong attacked Helian Duo at Yun Prefecture, but Helian, with aid from Li Quanzhong's son and successor Li Kuangwei, repelled Li Keyong's attack.Meanwhile, when Li Keyong subsequently visited Zhaoyi to review the troops there, he rebuked and whipped Li Kexiu over minor matters—food and lodging—causing Li Kexiu to grow ill due to the anger and humiliation, and Li Kexiu soon died.