Iran has a significant Circassian population. It once had a very large community, but the vast amount were assimilated in the population in the course of centuries. The Safavid (1501–1736) and Qajar (1789–1925) dynasties saw the importing and deporting of large numbers of Circassians to Persia, where many enjoyed prestige in the harems and in the élite armies (the so-called "ghulams"), while many others settled and deployed as craftsmen, labourers, farmers and regular soldiers. Many members of the Safavid nobility and élite had Circassian ancestry and Circassian dignitaries, such as the kings Abbas II of Persia (reigned 1642–1666) and Suleiman I of Persia (reigned 1666–1694). While traces of Circassian settlements in Iran have lasted into the 20th century, many of the once large Circassian minority became assimilated into the local population.