When Liu Shizheng () the military governor of Jingjiang Circuit (靜江, headquartered in modern Guilin, Guangxi) heard that Ma had pacified all of Wu'an, he became apprehensive, and he sent his deputy Chen Kefan () to defend Quanyi Heights (全義嶺, in modern Guilin) against a possible Ma attack. When Ma sent emissaries to Liu to try to establish peaceful relations, Chen refused. Ma, in 900, sent Qin and Li Qiong to attack Jingjiang. They quickly defeated Liu's army, killing Wang Jianwu () and capturing Chen. They put Jingjiang's capital Gui Prefecture () under siege, and after a few days of siege, Liu surrendered, allowing Ma to take Jingjiang's five prefectures under control. Ma commissioned Li Qiong as the military governor of Jingjiang.