Yang Yi
Wei Yan was left with only his son(s) and a few followers. They fled towards Hanzhong Commandery. Yang Yi ordered Ma Dai to give chase. Ma Dai caught up with Wei Yan, decapitated him, brought his head back, and threw it in front of Yang Yi. Yang Yi trampled on Wei Yan's head and said, "You inferior slave! Now, can you still commit evil?" Wei Yan's family members and close relatives were also executed. Before Wei Yan's death, Jiang Wan had led the imperial guards from Chengdu to deal with what appeared to be a mutiny by Wei Yan. They had travelled for about 10 "li" (about three miles) when they received news of Wei Yan's death; they then turned back and returned to Chengdu.