Dungan revolt

It was an uprising by members of the Hui and other Muslim ethnic groups in China's Shaanxi, Gansu and Ningxia provinces, as well as in Xinjiang, between 1862 and 1877.

The uprising was chaotic and often involved warring factions of bands and military leaders with no goal or purpose, merely to fight, on the western bank of the Yellow River (Shaanxi, Gansu and Ningxia (excluding the Xinjiang province)). A common misconception is that it was directed against the Qing Dynasty, but there is no evidence at all showing that they intended to attack the capital of Beijing. When that rebellion failed, mass-emigration of the Dungan people into Imperial Russia, Kazakhstan and Kyrgyzstan ensued.(Source:Wiki Dungan revolt )