 Xueyantuo provided military service by assisting the Tang Empire against the Tatars in the 630s.The Xueyantuo's vast khaganate spanned from the Altai Mountains to the Gobi desert.On March 27, 630, the Xueyantuo allied with the Chinese to defeat the Eastern Qaghanate in the Yin Mountains.