Khoja Niyaz introduced new state Flag of East Turkestan Republic, so called "Kok Bayraq" or "Blue Banner", that resembled Turkish Flag but with blue background instead of red and substituted old Flag, which was white with blue crescent and star and Shahadah. Nevertheless, the ETR (TIRET) proved to be short-lived. The Hui forces retreating from the north linked up with Ma Zhancang's forces in Kashgar allied themselves with the Kuomintang in Nanjing, and attacked the TIRET, forcing Niyaz, Sabit Damolla, and the rest of the government to flee on February 6, 1934, to Yengi Hissar south of the city. The conquering Hui army killed many of those who remained, and a rapid procession of betrayals among the survivors, following their expulsion from Kashgar, spelled the effective end of the TIRET. The Hui army crushed the Uighur and Kirghiz armies of the East Turkestan Republic at the Battle of Kashgar (1934), Battle of Yarkand, and Battle of Yangi Hissar. Ma Zhongying effectively destroyed TIRET.