After two centuries of Arab rule, semi-independent and independent Iranian kingdoms—including the Tahirids, Saffarids, Samanids, and Buyids—began to appear on the fringes of the declining Abbasid Caliphate. 