After originally fighting against Ma Zhongying, Han Chinese Gen. Zhang Peiyuan and his Han Ili army defected to Ma Zhongying's side to fight against the provincial government and the Russians. Ma Zhongying then fought against the Russians in the Soviet invasion of Xinjiang.