 In 676 the Tibetans made raids on Shanzhou, Guozhou, Hezhou (now Linxia), Diezhou, Migong and Danling in Gansu.The Chinese counterattacked, defeating the Tibetans at Longzhi.The Chinese army led by Li Jingxuan were soundly defeated near Qinghai Lake, however, and by the end of 677 Tibet controlled the whole of the Tarim Basin and the mountainous regions to the southwest.