The region of Herat used to be part of Greater Khorasan. It was ruled by the Tahirids followed by the Saffarids, Samanids, Ghaznavids, Ghurids, Ilkhanates, Timurids, and Saffavids. In the early-18th century it became part of the Afghan Hotaki dynasty followed by the Durrani Empire.