 After ethnic rioting between Hui and Tibetans erupted in 1918, Ma Qi defeated the Tibetans.He heavily taxed the town for eight years.In 1925 a rebellion broke out, and thousands of Tibetans drove out the Hui.