Saffarid Dynasty
The Saffarid state was an Iranian power centred on Zaranj in Sistan, on the border of today's Iran and Afghanistan. It was founded by Ya'qub ibn al-Layth, a coppersmith (saffar) who became leader of the local militia; he seized Sistan in 861, overthrew the Tahirids of Khorasan in 873 but was defeated by the caliph near Baghdad in 876. His brother Amr was beaten by the Samanids in 900, after which the Saffarids ruled only Sistan, until the Ghaznavid conquest of 1003.