The Turcoman Qizilbash nevertheless remained an important part of the Safavid executive apparatus, even though ethnic Caucasians came to largely replace them. For example, even in the 1690s, when ethnic Georgians formed the mainstay of the Safavid military, the Qizilbash still played a significant role in the army. The Afshār and Qājār rulers of Persia who succeeded the Safavids, stemmed from a Qizilbash background. Many other Qizilbash – Turcoman and Non-Turcoman – were settled in far eastern cities such as Kabul and Kandahar during the conquests of Nader Shah, and remained there as consultants to the new Afghan crown after the Shah's death. Others joined the Mughal emperors of India and became one of the most influential groups of the Mughal court until the British conquest of India.