In 99 BC, Li Guangli led 30 thousand cavalrymen in an attack on the Xiongnu forces in Tian Shan. The attack was successful, with enemy losses totaling over 10 thousand. However, as the Han army withdrew, it became surrounded by enemy forces, and many soldiers died of starvation. Eventually, Li escaped with the help of Zhao Chongguo, but almost 60 percent of the soldiers had lost their lives by this time. Li Ling, leading 5 thousand cavalrymen, was also attacked by Xiongnu. He eventually surrendered.