In the early 18th century, the region fell to the Afghan Hotaki dynasty until they were removed from power in 1738 by Nader Shah. By 1747, Ahmad Shah Durrani made it part of Afghanistan after he conquered the territory from northeastern Iran to Delhi in India. Under the modern Afghan governments, the province was known as Chakhansur Province until 1968, when it was separated to form the provinces of Nimruz and Farah. The city of Zaranj became the capital of Nimroz province at that time. During the Soviet–Afghan War, Nimruz province was used by mujahideen crossing back and forth between Afghanistan and neighboring countries. It was also used by Afghan refugees escaping the war as well as by smugglers.