The Saffarid dynasty (Persian: صفاریان) was a iranian sunni dynasty from Sistan that ruled over parts of Greater Iran, with its capital at Zaranj (a city now in southwestern Afghanistan) from 861 to 1003. One of the first indigenous Persian dynasties to emerge after the Islamic conquest, the Saffarid dynasty was part of the Iranian Intermezzo. The dynasty's founder was Ya'qub bin Laith as-Saffar, who was born in 840 in a small town called Qarnin, which was located east of Zaranj and west of Bost, in what is now Afghanistan. A native of Sistan and a local ayyār, Ya'qub worked as a coppersmith before becoming a warlord. He seized control of the Sistan region and began conquering most of Iran and Afghanistan, as well as parts of Pakistan, Tajikistan and Uzbekistan.
The Saffarids gave great care to the Persian culture. Under their rule, the eastern Islamic world witnessed the emergence of prominent Persian poets such as Fayrouz Mashriqi, and Muhammad ibn Wasif, who was a court poet.