During the fall of the Dzungar Khanate, the Manchus massacred the native Dzungar Oirat Mongols of Dzungaria in the Dzungar genocide and filled in the depopulated area with immigrants from many parts of their empire. Kazakhs from the Kazakh Khanates were among the peoples who moved into the depopulated Dzungaria. Dzungaria was subjected to mass Kazakh settlement after the defeat of the Dzungars. In the 19th century, the advance of the Russian Empire troops pushed Kazakhs to neighboring countries. In China there is one Kazakh autonomous prefecture, the Ili Kazakh Autonomous Prefecture in the Xinjiang Uyghur Autonomous Region, three Kazakh autonomous counties, Aksai Kazakh Autonomous County in Gansu, Barkol Kazakh Autonomous County and Mori Kazakh Autonomous County in the Xinjiang Uyghur Autonomous Region.