Sher Ali Khan
In 1868, the throne of Kabul was occupied by Sher Ali Khan. Al-Afghani tried to influence Sher Ali Khan, but he wasn't successful and was expelled from the country.