Khanate of Bukhara
The Shi'a Safavids ruled Loy Kandahar as their far easternmost territory from the 16th century until the early 18th century. At the same time, the native Afghan tribes living in the area were Sunni Muslims. Immediately to the east began the Sunni Mughal Empire, who occasionally fought wars with the powerful Safavids over the territory of southern Afghanistan. The Khanate of Bukhara controlled the area to the north at the same time.