As the outlaws leave the city, they run into Shi Wengong and his men, resulting in both sides clashing in an immense battle. Shi Wengong's forces are routed so he challenges the outlaws to engage him and his five students in man-on-man duels. The five students fight with Lin Chong, Li Kui, Hu Sanniang, Wu Song and Shi Xiu, while Lu Junyi faces Shi Wengong. By the time the five heroes had defeated Shi Wengong's students, Lu Junyi was still locked his duel with Shi. Yan Qing and Li Kui join in the fray and Shi Wengong is injured gravely but still remains alive. After declaring that Lu Junyi is now the new leader of Liangshan, Shi Wengong stops everyone from approaching and commits suicide. The outlaws, seeing that their quest for vengeance is now complete, ride back to their stronghold and the film ends.