As the bandit leader of a faction, Feng Yu was beheaded by Qi Haoran. Because of the urgency of the matter and the fact that the county magistrate was the witness and supervised the execution, although he did not report the verdict to the Ministry of Justice, it was still somewhat in line with the usual procedure.
The leader of the other rebel faction, Jiang Zhong, was escorted back to the capital for trial. This was more in line with the procedure.
But what was going on with Tang Jing and Yuan Hui?
Although those 40,000 people did not injure anyone, they did rob the Imperial Court's granary. Although the law did not punish the masses, more than half of them were let go and the remaining half was taken by them. As the bandit leader, he had to be escorted into the capital no matter what.
However, Tang Jing was killed on the way back to Xingzhou Prefecture while trying to escape, and Yuan Hui became a monk under duress.