The Hui Muslims in Xi'an, a city in Shaanxi province were completely spared from reprisals by General Zuo Zongtang and they were also allowed to stay in Xi'an after the war because they never joined the Hui rebels in the rural areas of Shaanxi, despite the fact that Shaanxi was the epicenter of the Dungan rebellion. The Muslim quarter still exists in Xi'an today and the Hui people still live inside it.