during the dungan revolt, the hui muslims of xi'an city (in shaanxi province) did not rebel against the qing and refused to join the rebels while the hui muslims of gansu revolted under general ma zhan'ao and his son ma anliang revolted before defecting and surrendering to the qing.