 They remained in the Chinese sphere of influence and an active participant in fighting the Muslim expansion into the area, up until their split from the Tang in 751.Chinese intervention in the affairs of Western Turkestan ceased after their defeat at the Battle of Talas in 751 by the Arab general Ziyad ibn Salih.The Arabs dislodged the Karluks from Fergana.