Many of the Armenian deportees were settled in the neighborhood of Isfahan that was named New Julfa since most of the residents were from the original Julfa. The Turkic Kangerli tribe was later permitted to move back under Shah Abbas II (1642–1666) to repopulate the frontier region of his realm. In the 17th century, Nakhchivan was the scene of a peasant movement led by Köroğlu against foreign invaders and "native exploiters". In 1747, the Nakhchivan Khanate emerged in the region after the death of Nader Shah Afshar.