The 1979 Soviet invasion in support of a communist government triggered a major intervention of religion into Afghan political conflict, and Islam united the multiethnic political opposition. With the takeover of government by the PDPA in April 1978, Islam had already become central to uniting the opposition against the communist ideology of the new rulers. As a politico-religious system, Islam is well-suited to the needs of a diverse, unorganized, often mutually antagonistic citizenry wishing to forge a united front against a common enemy; and war permitted various groups within the mujahideen to put into effect competing concepts of organization.

The Soviet invasion and the Iranian Revolution not only led national uprisings but also the importation of foreign radical Muslims to Afghanistan. The mujahideen leaders were charismatic figures with dyadic ties to followers. In many cases military and political leaders replaced the tribal leadership; at times the religious leadership was strengthened; often the religious combined with the political leadership. Followers selected their local leaders on the basis of personal choice and precedence among regions, sects, ethnic groups or tribes, but the major leaders rose to prominence through their ties to outsiders who controlled the resources of money and arms.

With the support of foreign aid, the mujahideen were ultimately successful in their jihad to drive out the Soviet forces, but not in their attempts to construct a political alternative to govern Afghanistan after their victory. Throughout the war, the mujahideen were never fully able to replace traditional structures with a modern political system based on Islam. Most mujahideen commanders either used traditional patterns of power, becoming the new khans, or sought to adapt modern political structures to the traditional society. In time the prominent leaders accumulated wealth and power and, in contrast to the past, wealth became a determining factor in the delineation of power at all levels.
With the departure of foreign troops and the long sought demise of Kabul's leftist government, The Islamic State of Afghanistan finally came into being in April 1992. This represented a distinct break with Afghan history, for religious specialists had never before exercised state power. But the new government failed to establish its legitimacy and, as much of its financial support dissipated, local and middle range commanders and their militia not only fought among themselves but resorted to a host of unacceptable practices in their protracted scrambles for power and profit. Throughout the nation the populous suffered from harassment, extortion, kidnapping, burglary, hijacking and acts dishonoring women. Drug trafficking increased alarmingly; nowhere were the highways safe. The mujahideen had forfeited the trust they once enjoyed.

In the fall of 1994 a group called the Taliban came forth vowing to cleanse the nation of warlords and criminals. Their intention was to create a "pure" Islamic government subject to their own strict interpretations of the Shariah. Many Pakistani politicians supported the Taliban, including Sami ul Haq who is regarded as the Father of the Taliban. A number of its leaders were one-time mujahideen members, but the bulk of their forces were young Afghan refugees trained in Pakistani madrassas (religious schools), especially those run by the Jamiat-e Ulema-e Islam Pakistan, the aggressively conservative Pakistani political religious party headed by Maulana Fazlur Rahman, arch rival of Qazi Hussain Ahmad, leader of the equally conservative Jamaat-e-Islami and longtime supporter of the mujahideen.

Headquartered in Kandahar, mostly Pashtuns from the rural areas, and from the top leadership down to the fighting militia characteristically in their thirties or forties and even younger, the Taliban swept the country. In September 1996 they captured Kabul and ruled over most of Afghanistan by 2001. The meteoric take over went almost unchallenged. Arms were collected and security was established. At the same time, acts committed for the purpose of enforcing the Shariah included public executions of murderers, stoning for adultery, amputation for theft, a ban on all forms of gambling such as kite flying, chess and cockfights, prohibition of music and videos, proscriptions against pictures of humans and animals, and an embargo on women's voices over the radio. Women were to remain as invisible as possible, behind the veil, in purdah in their homes, and dismissed from work or study outside their homes. They were toppled by a combined Afghan-NATO military force in late 2001. Majority of them escaped to neighboring Pakistan from where they launched insurgency against the current NATO-backed Afghan government. Peace negotiations between the Taliban and the Afghan government is ongoing as of 2013.

Radicalization and NATO presence
Sufis
ইতিহাস
আবদুর রহমান খানের বিজয়