 With the help of his sons in the city, the armies attacked, but were defeated.In the hasty retreat, Liu Fan and Liu Dan were captured by Li Jue's forces as they tried to flee Chang'an, and were tortured and killed.Liu Zhang, however, barely managed to escape and join up with his father, who returned once again to Yi Province.