Faryab (Dari: ) is one of the thirty-four provinces of Afghanistan, which is located in the north of the country bordering neighboring Turkmenistan. It has a population of about 1,109,223, which is multi-ethnic and mostly a tribal society. The province encompasses 15 districts and over 1,000 villages. The capital of Faryab province is Maymana. It also borders Jowzjan Province, Sar-e Pol Province, Ghor Province and Badghis Province.
Faryab is a Persian toponym meaning "lands irrigated by diversion of river water". The name Faryab takes its name from a town founded in the area by the Sassanids. It is the home town of the famed Islamic philosopher, al-Farabi (per the biographer Ibn al-Nadim). The area is part of the trans-border region of Greater Khorasan; during the colonial era, British geographers referred to the area as Afghan Turkestan.
The history of settlement in Faryab is ancient and comprises layer upon layer of occupation. At times, it was a melting pot within which a host of cultures have merged into a non-conflictual whole or at least peaceable coexistence.
Maymana and Andkhoy (Andkhui) entered written history 2,500 years ago when Jews arrived and settled in 586 BC, fleeing the destruction of Jerusalem by Nebuchadnezzar. The territory was under Persian control at the time, which later gave way to Greek rule following the conquest by Alexander the Great in 326 BC.
Persian dominance was restored from the 3rd to the 7th century AD.
The pre-Islamic period ended with the conquest of northern Afghanistan by Arab Muslims (651-661 AD). The area "turned into a vast battlefield as the two great Arab and Persian cultures battled for not only political and geographical supremacy but ideological supremacy." As a result, centuries of Zoroastrianism, Buddhism, Nestorian Christianity and indigenous pagan cults were swept away. Various Islamic dynasties rose to power and influenced the locals. They included the Saffarids, Samanids, Ghaznavids, Seljuks, and Ghurids.