the hui muslim community was divided in its support for the 1911 xinhai revolution. the hui muslims of xi'an in shaanxi supported the revolutionaries and the hui muslims of gansu supported the qing. the native hui muslims (mohammedans) of xi'an (shaanxi province) joined the han chinese revolutionaries in slaughtering the entire 20,000 manchu population of xi'an city. the native hui muslims of gansu province led by general ma anliang sided with the qing and prepared to attack the anti-qing revolutionaries of xi'an city. only some wealthy manchus who were ransomed and manchu females survived. wealthy han chinese seized manchu girls to become their slaves and poor han chinese troops seized young manchu women to be their wives. young pretty manchu girls were also seized by hui muslims of xi'an during the massacre and brought up as muslims.