Саманиды
Bal'ami is first mentioned as serving under the Samanid ruler Isma'il ibn Ahmad, and was later appointed as vizier by the latter's grandson, Nasr II. Just after Bal'ami had become the vizier of the Samanid Empire, the Zaydids invaded Khorasan, but were defeated by Bal'ami and the Simjurid general Simjur al-Dawati.