Various Salafist states appeared during Afghanistan's war with the Soviets and following period of civil war. The Salafist ideology was disseminated in Afghanistan by Saudi supporters of the Afghan resistance, who required ideological conformity from the Afghans in exchange for aid.
Salafists in Afghanistan's northeast were greatly influenced by the Saudi-financed madrassas in Pakistan, particularly the "Panjpiri" madrassas based in the town of Panjpir, Swabi District in Pakistan.
Salafist mini-states
Several prominent men among the Salafist converts returned to Afghanistan and formed small localised states with fellow Afghan Salafists, often again with the aid of foreign backers.
References
Former Salafist states in Afghanistan Wikipedia(Text) CC BY-SA