During its reign in Afghanistan and after its retreat into western Pakistan , the Taliban forcibly replaced traditional tribal political and social structure with religious-based ones , creating a " Talibanized " Pashtun base of operations .