The heroes of Liangshan Marsh were resourceful and skilled in battle; although Wang Qing's fierce generals were numerous, they were no match for the Liangshan leaders. Wu Song, Yang Zhi, Zhu Tong, and others each achieved merits, while Hua Rong's divine arrows repeatedly accomplished outstanding feats. Wang Qing's 'Four Great Privy Councils' were successively defeated, and his sphere of influence gradually shrank. The two main armies of Song Jiang and Lu Junyi joined forces, advancing directly on Wang Qing's stronghold, Shannan. Wang Qing was terrified upon hearing this, and urgently ordered the mustering of remaining troops to fortify the city, attempting desperate resistance. However, the Liangshan army was strictly disciplined and high in morale, having already surrounded Shannan completely, leaving no way out, awaiting only the order for a general offensive to completely annihilate this band of rebels.
Wang Qing, trapped in an isolated city and seeing the situation was hopeless, grew fearful and intended to abandon the city and flee. Song Jiang and Lu Junyi, seeing that the time was ripe, immediately ordered a three-pronged general assault. Hua Rong, Lin Chong, and others each led a unit, climbed the city walls, and charged into the enemy ranks; Li Kui, Wu Song, Lu Zhishen, and others descended like fierce tigers, striking straight at the heart. Wang Qing's army had long lost their courage at the mere rumor, lacking any will to fight, and either surrendered or scattered in disarray. Seeing that the city was about to fall, Wang Qing took a few trusted confidants, disguised themselves, and fled through a remote path, hoping to escape with their lives. But the heroes of Liangshan Marsh had laid an extensive net, as Dai Zong and Yan Qing had already calculated their escape route.
As Wang Qing and his party reached a valley, suddenly drums thundered from all sides, and ambushing troops rose up. Dai Zong and Yan Qing led their forces to block the path; Wang Qing, panicked, tried to draw his sword to commit suicide, but Yan Qing, quick of eye and deft of hand, kicked him over and captured him alive. The remaining followers were either captured or killed. Thus, Wang Qing's rebellion in Huaixi was completely pacified. Song Jiang's main army marched back to the capital, causing no harm to the people along the way, with strict military discipline. After a triumphant return to the capital, Song Jiang and others presented Wang Qing to the court and delivered a report of victory. The emperor commended the loyalty and righteousness of the Liangshan Marsh leaders, rewarding them according to their merits. From then on, the region of Huaixi was at peace, and the people praised the Liangshan Marsh heroes for carrying out the Way of Heaven on behalf of the people.