# History of Afghanistan

Part of a series on the :
History of Afghanistan :
The palace of the emir in 1839 :
Timeline :
Ancient Indus Valley Civilisation 2200–1800 BC Oxus civilization 2100–1800 BC Gandhara kingdom 1500–535 BC Median Empire 728–550 BC Achaemenid Empire 550–330 BC Macedonian Empire 330–312 BC Seleucid Empire 312–150 BC Maurya Empire 305–180 BC Greco-Bactrian kingdom 256–125 BC Parthian Empire 247 BC–224 AD Indo-Greek kingdom 180–90 BC Indo-Scythian kingdom 155–80? BC Kushan Empire 135 BC – 248 AD Indo-Parthian kingdom 20 BC – 50? AD Sasanian Empire 230–651 Kidarite kingdom 320–465 Rob Alchon Huns 380–560 Hephthalite Empire 410–557 Nezak Huns 484–711 :
Medieval Kabul Shahi 565–879 Principality of Chaghaniyan 7th–8th centuries Rashidun Caliphate 652–661 Tang China 660–669 Tibetan Empire 660–842 Umayyads 661–750 Zunbils 680–870 Lawik750-977 Abbasids 750–821 Tahirids 821–873 Saffarids 863–900 Samanids 875–999 Ghaznavids 963–1187 Ghurids before 879–1215 Seljuks 1037–1194 Khwarezmids 1215–1231 Mongol Invasion 1219–1226 Chagatai Khanate 1226–1245 Qarlughids 1224–1266 Ilkhanate 1256–1335 Kartids 1245–1381 Timurids 1370–1507 Arghuns 1520–1591 :
Modern Mughals 1501–1738 Safavids 1510–1709 Kunduz Khanate ?–1859 Hotak dynasty 1709–1738 Sadozai Sultanate 1716–1732 Afsharid Iran 1738–1747 Durrani Empire 1747–1823 Maimana Khanate 1747–1892 Herat 1793–1863 Principality of Qandahar1818–1855 Emirate 1823–1926 Saqqawist Emirate 1929 Kingdom 1926–1973 Daoud coup 1973 Republic 1973–1978 Saur Revolution 1978 Democratic Republic 1978–1992 Tanai coup attempt 1990 Islamic State 1992–1996 Islamic Emirate 1996–2001 US invasion 2001 Islamic State (reinstated) 2001 Interim/Transitional Administration 2001–2004 Islamic Republic (politics) 2004–2021 Islamic Emirate (reinstated) since 2021 :
Related historical regions
Arachosia
Aria
Ariana
Bactria
Gandhara
Iran
Kabulistan
Kafiristan
Khorasan
Kushanshahr
Paropamisadae
Sistan
Zabulistan :
Related topics
Political history
Political violence
Culture
Economic history
Name
Afghan (ethnonym)
List of years
List of heads of state
Wars
List of wars
Hinduism history
Hindu and Buddhist heritage
Jewish history
Muslim conquests :
Category
Afghanistan portal :
vte :
The history of Afghanistan covers the development of Afghanistan from ancient times to the establishment of the Emirate of Afghanistan in 1822 and Afghanistan in modern times. This history is largely shared with that of Central Asia, Iran, and the Indian subcontinent.
Human habitation in Afghanistan dates back to the Middle Paleolithic era, and the country's strategic location along the historic Silk Road has led it to being described, picturesquely, as the ‘roundabout of the ancient world’. The land has historically been home to various different peoples and has witnessed numerous military campaigns, including those by the Persians, Alexander the Great, the Maurya Empire, Arab Muslims, the Mongols, the British, the Soviet Union, and most recently by a US-led coalition. The various conquests and periods in both the Indian and Iranian cultural spheres made the area a center for, Buddhism, Hinduism, Zoroastrianism and later Islam throughout history.
The Durrani Empire is considered to be the foundational polity of the modern nation state of Afghanistan, with Ahmad Shah Durrani being credited as its Father of the Nation. However, Dost Mohammad Khan is sometimes considered to be the founder of the first modern Afghan state. Following the Durrani Empire's decline and the death of Ahmad Shah Durrani and Timur Shah, it was divided into multiple smaller independent kingdoms, including but not limited to Herat, Kandahar and Kabul. Afghanistan would be reunited in the 19th century after seven decades of civil war from 1793 to 1863, with wars of unification led by Dost Mohammad Khan from 1823 to 1863, where he conquered the independent principalities of Afghanistan under the Emirate of Kabul. Dost Mohammad died in 1863, days after his last campaign to unite Afghanistan, and Afghanistan was consequently thrown back into civil war with fighting amongst his successors. During this time, Afghanistan became a buffer state in the Great Game between the British Raj in South Asia and the Russian Empire. The British Raj attempted to subjugate Afghanistan but was repelled in the First Anglo-Afghan War. However, the Second Anglo-Afghan War saw a British victory and the successful establishment of British political influence over Afghanistan. Following the Third Anglo-Afghan War in 1919, Afghanistan became free of foreign political hegemony, and emerged as the independent Kingdom of Afghanistan in June 1926 under Amanullah Khan. This monarchy lasted almost half a century, until Zahir Shah was overthrown in 1973, following which the Republic of Afghanistan was established.
Since the late 1970s, Afghanistan's history has been dominated by extensive warfare, including coups, invasions, insurgencies, and civil wars. The conflict began in 1978 when a communist revolution established a socialist state, and subsequent infighting prompted the Soviet Union to invade Afghanistan in 1979. Mujahideen fought against the Soviets in the Soviet–Afghan War and continued fighting amongst themselves following the Soviets' withdrawal in 1989. The Islamic fundamentalist Taliban controlled most of the country by 1996, but their Islamic Emirate of Afghanistan received little international recognition before its overthrow in the 2001 US invasion of Afghanistan. The Taliban returned to power in 2021 after capturing Kabul and overthrowing the government of the Islamic Republic of Afghanistan, thus bringing an end to the 2001–2021 war. Although initially claiming it would form an inclusive government for the country, in September 2021 the Taliban re-established the Islamic Emirate of Afghanistan with an interim government made up entirely of Taliban members. The Taliban government remains internationally unrecognized.

## Prehistory

Excavations of prehistoric sites by Louis Dupree and others at Darra-e Kur in 1966 where 800 stone implements were recovered along with a fragment of Neanderthal right temporal bone, suggest that early humans were living in what is now Afghanistan at least 52,000 years ago. A cave called Kara Kamar contained Upper Paleolithic blades Carbon-14 dated at 34,000 years old. Farming communities in Afghanistan were among the earliest in the world. Artifacts indicate that the indigenous people were small farmers and herdsmen, very probably grouped into tribes, with small local kingdoms rising and falling through the ages. Urbanization may have begun as early as 3000 BCE. Gandhara is the name of an ancient kingdom from the Vedic period and its capital city located between the Hindu Kush and Sulaiman Mountains (mountains of Solomon), although Kandahar in modern times and the ancient Gandhara are not geographically identical.
Early inhabitants, around 3000 BCE were likely to have been connected through culture and trade to neighboring civilizations like Jiroft and Tappeh Sialk and the Indus Valley Civilisation. Urban civilization may have begun as early as 3000 BCE and it is possible that the early city of Mundigak (near Kandahar) was a part of the ancient Helmand culture. The first known people were the Indo-Iranians, but their date of arrival in the region has been estimated widely from as early as about 3000 BCE to 1500 BCE. (For further detail see Indo-Iranians.)

### Indus Valley Civilisation (c. 3300 to 1300 BCE)

The Indus Valley Civilisation (IVC) spanned from parts of Afghanistan to modern-day Pakistan and north-western India. An Indus valley site has been found on the Oxus River at Shortugai in Afghanistan, which is the northernmost site of the Indus Valley Civilisation.

### Bactria–Margiana (c. 2200 – 1700 BCE)

The Bactria–Margiana Archaeological Complex, also known as the Oxus civilisation, became prominent between about 2200 and 1700 BCE. The city of Balkh (Bakhlo in Bactrian) in northern Afghanistan was founded around this time (c. 2000–1500 BCE).

## Ancient and Classical period (c. 1500 – 255 BCE)
### Gandhara Kingdom (c. 1500 – 535 BCE)

The Gandhara region centered around the Peshawar Valley and Swat river valley, though the cultural influence of "Greater Gandhara" extended across the Indus river to the Taxila region in Pothohar Plateau and westwards into the Kabul and Bamyan valleys in Afghanistan, and northwards up to the Karakoram range.
During the 6th century BCE, Gandhāra was an important imperial power in north-west South Asia, with the valley of Kaśmīra being part of the kingdom, while the other states of the Punjab region, such as the Kekayas, Madrakas, Uśīnaras, and Shivis being under Gāndhārī suzerainty. The Gāndhārī king Pukkusāti, who reigned around 550 BCE, engaged in expansionist ventures which brought him into conflict with the king Pradyota of the rising power of Avanti. Pukkusāti was successful in this struggle with Pradyota.
By the later 6th century BCE, the founder of the Persian Achaemenid Empire, Cyrus, soon after his conquests of Media, Lydia, and Babylonia, marched into Gandhara and annexed it into his empire. The scholar Kaikhosru Danjibuoy Sethna advanced that Cyrus had conquered only the trans-Indus borderlands around Peshawar which had belonged to Gandhāra while Pukkusāti remained a powerful king who maintained his rule over the rest of Gandhāra and the western Punjab.

### Kamboja Kingdom (c. 700 – 200 BCE)

The Kambojas were an ancient southeastern Iranian peoples who lived in the southern region of modern Afghanistan. They were mentioned by a number of Indo-Aryan inscriptions and literature, being first attested during the later part of the Vedic period. The ancient Indian emperor Ashoka mentioned the Kambojas between 268–232 BCE in his Major Rock Edicts. The people known in Classical sources as Aspasioi, Aśvaka and Assakenoi, were likely tribes of the Kamboja people. The region south of the Hindu Kush that was inhabited by the Kambojas went under the rule of many different groups over the centuries, starting with the Achaemenid Persians.
The descendants of the Kambojas have mostly been assimilated into various newer groups. However, some tribes possibly remain today that still retain the names of their ancestors. There are some theories and speculation about the possible descendants of the Kamboja people. The Yusufzai Pashtuns are said to be related to the Aspasioi or Aśvaka people from the Kamboja age. The Kom/Kamoz people of Nuristan retain their Kamboj name. The Ashkun of Nuristan also retain the name of Aśvakas. The Yashkun Shina dards are another group that retain the name of the Kamboja Aśvakans. The Kamboj of Punjab are another group that still retain the name however have integrated into new identity. The country of Cambodia derives its name from the Kamboja.

### Achaemenid Empire

The area of modern Afghanistan fell to the Achaemenid Persians after it was conquered by Darius I of Persia. The land was divided into several provinces called satrapies, which were each ruled by a governor, or satrap. These ancient satrapies included: Aria: The region of Aria was separated by mountain ranges from the Paropamisadae in the east, Parthia in the west and Margiana and Hyrcania in the north, while a desert separated it from Carmania and Drangiana in the south. It is described in a very detailed manner by Ptolemy and Strabo and corresponds, according to that, almost to the Herat Province of today's Afghanistan; Arachosia, corresponds to the modern-day Kandahar, Lashkargah, and Quetta. Arachosia bordered Drangiana to the west, Paropamisadae (i.e. Gandhara) to the north and to the east, and Gedrosia to the south. The inhabitants of Arachosia were Iranian peoples, referred to as Arachosians or Arachoti. It is assumed that they were called Pactyans by ethnicity, and that name may have been in reference to the ethnic Paṣtun (Pashtun) tribes.
Bactria was the area north of the Hindu Kush, west of the Pamirs and south of the Tian Shan, with the Amu Darya flowing west through the center (Balkh); Sattagydia was the easternmost regions of the Achaemenid Empire, part of its Seventh tax district according to Herodotus, along with Gandārae, Dadicae and Aparytae. It is believed to have been situated east of the Sulaiman Mountains up to the Indus River in the basin around Bannu. (Ghazni); and Gandhara which corresponds to modern day Kabul, Jalalabad, and Peshawar.

### Alexander the Great and the Seleucids

Alexander the Great invaded the area of modern Afghanistan in 330 BCE after defeating Darius III of Persia a year earlier at the Battle of Gaugamela. His army faced strong resistance in the region's ancient tribal areas where Alexander is supposedly said to have commented that the land is "easy to march into, but difficult to march out of". He first conquered Bactria in northern Afghanistan between 329–327 BCE, and married Roxana of Bactria. He then conducted the Cophen campaign to the south near the Kabul valley, where his army fought against the Aspasioi and Assakenoi peoples. Although his expedition through Afghanistan was brief, Alexander left behind a Greek cultural influence that lasted several centuries. He founded and built many cities in the region, all named "Alexandria", including: Alexandria Ariana (modern-day Herat); Alexandria Arachosia (modern Kandahar); Alexandria in the Caucasus (near Bagram); and finally, Alexandria Eschate (near Khujand), in the far north. After Alexander's death, his loosely connected Macedonian empire was divided. Seleucus, a Macedonian officer during Alexander's campaign, declared himself ruler of his own Seleucid Empire, which also included present-day Afghanistan. The Hellenistic city of Ai-Khanoum was later founded in northern Afghanistan, likely by the Seleucid ruler Antiochus, the son of Seleucus in about 280 BCE.

### Maurya Empire

* Approximate maximum extent of the Maurya Empire under Ashoka the Great, around 269–233 BCE, conceptualized as a network of core regios connected by networks of communication and trade, with large areas with peripheral or no Maurya control.
* Aramaic inscription of Laghman is an inscription on a slab of natural rock in the area of Laghmân, Afghanistan, written in Aramaic by the Indian emperor Ashoka about 260 BCE, and often categorized as one of Minor Rock Edicts of Ashoka.
* Kandahar Greek Edicts of Ashoka is among the Major Rock Edicts of the Indian Emperor Ashoka (reigned 269–233 BCE), which were written in the Greek language and Prakrit language.
The southern half of Afghanistan fell to the Maurya Empire, which was led by Chandragupta Maurya. The Mauryas further entrenched Buddhism, but also other religions such as Hinduism to the region, and were planning to capture more territory of Central Asia until they faced Seleucid forces, who ruled in northern Afghanistan. Seleucus I is said to have reached a peace treaty with Chandragupta by giving control of the territory south of the Hindu Kush to the Mauryas upon intermarriage and 500 elephants.
   Alexander took these away from the Hindus and established settlements of his own, but Seleucus Nicator gave them to Sandrocottus (Chandragupta), upon terms of intermarriage and of receiving in exchange 500 elephants.
The most famous Mauryan emperor was Ashoka who reigned around 268–232 BCE, and whose inscriptions such the Major and Minor Rock Edicts have been found in eastern and southern Afghanistan (for example in Kandahar). Supposedly also referred to by the name Piyadasi, he encouraged the propagation of Buddhism throughout the ancient world. In one of his edicts Ashoka states that the Hellenistic kingdoms to the north and west received his envoys and followed Buddhism:
   Now it is conquest by Dhamma that Beloved-of-the-Gods considers to be the best conquest. And it (conquest by Dhamma) has been won here, on the borders, even six hundred yojanas away, where the Greek king Antiochus (Aṃtiyoka) rules, beyond there where the four kings named Ptolemy (Turamaya), Antigonus (Aṃtekina), Magas (Maka) and Alexander (Alikasudara) rule, likewise in the south among the Cholas, the Pandyas, and as far as Tamraparni.
   Here in the king's domain among the Greeks, the Kambojas, the Nabhakas, the Nabhapamktis, the Bhojas, the Pitinikas, the Andhras and the Palidas, everywhere people are following Beloved-of-the-Gods' instructions in Dhamma.

## Hellenistic and Later periods (c. 255 BCE – 565 CE)
### Greco-Bactrian Kingdom

The Greco-Bactrian Kingdom was a Hellenistic kingdom, founded when Diodotus I, the satrap of Bactria (and probably the surrounding provinces) seceded from the Seleucid Empire around 255 to 250 BCE. Diodotus' dynasty was soon overthrown by Euthydemus I sometime around 230–220 BCE. After successfully repelling a Seleucid invasion, Euthydemus' son, Demetrius I of Bactria, started an invasion of the Indian subcontinent between 190 and 180 BCE.
The Greco-Bactrian Kingdom was known for its high level of Hellenistic sophistication and possessed many wealthy cities. The main cities of the kingdom were Bactra and Ai-Khanoum in northern Afghanistan. The Greco-Bactrians continued to dominate Central Asia until about 130 BCE, when the son of Eucratides I, named Heliocles I, was defeated and driven out of Bactria by the Yuezhi tribes from the east. After the collapse of Greek rule, the Yuezhi now had complete control of Bactria. It is thought that Eucratides' dynasty continued to rule in Kabul and Alexandria of the Caucasus until about 70 BCE when King Hermaeus was also defeated by the Yuezhi. It is possible that Hermaeus was the last Greek ruler in Afghanistan, or perhaps it was one of the later Indo-Greek rulers.
* Gold coin of the Greco-Bactrian king Diodotus I (reigned c. 255–235 BCE), wearing a royal diadem.
* Hellenistic Corinthian capital found in Ai-Khanoum, c. 2nd century BCE.
* Hellenistic floor mosaic from Ai-Khanoum, c. 2nd century BCE.

### Indo-Greek Kingdom

The Indo-Greek kingdom was founded when the Greco-Bactrian king Demetrius I invaded north-western India in the early 2nd century BCE. One of Demetrius I's successors, Menander I Soter, brought the Indo-Greek Kingdom (now isolated from the rest of the Hellenistic world after the fall of Bactria) to its height between 165 and 130 BCE. He expanded the kingdom from Afghanistan and Pakistan to even larger proportions than Demetrius. After Menander's death, the Indo-Greeks steadily declined and the last Indo-Greek kings, either Strato II or Strato III, were defeated in c. 10 CE. The Indo-Greek Kingdom was succeeded by the Indo-Scythians.

### Indo-Scythians

The Indo-Scythians were descended from the Saka (Scythians) who migrated from southern Siberia to Pakistan and Arachosia from the middle of the 2nd century BCE to the 1st century BCE. They displaced the Indo-Greeks and ruled a kingdom that stretched from Gandhara to Mathura. One of the most important Indo-Scythian rulers was Azes I, who ruled between about 48–25 BCE. The power of the Saka rulers started to decline in the 2nd century CE after the Scythians were defeated by the south Indian Emperor Gautamiputra Satakarni of the Satavahana dynasty. Later the Saka kingdom was completely destroyed by Chandragupta II of the Gupta Empire from eastern India in the 4th century.

### Indo-Parthian Kingdom

The Indo-Parthian Kingdom was ruled by the Gondopharid dynasty, named after its eponymous first ruler Gondophares. They ruled parts of present-day Afghanistan, Pakistan, and northwestern India, during or slightly before the 1st century CE. For most of their history, the leading Gondopharid kings held Taxila (in the present Punjab province of Pakistan) as their residence, but during their last few years of existence the capital shifted between Kabul and Peshawar. These kings have traditionally been referred to as Indo-Parthians, as their coinage was often inspired by the Arsacid dynasty, but they probably belonged to a wider groups of Iranic tribes who lived east of Parthia proper, and there is no evidence that all the kings who assumed the title Gondophares, which means "Holder of Glory", were even related. Christian writings claim that the Apostle Saint Thomas – an architect and skilled carpenter – had a long sojourn in the court of king Gondophares, had built a palace for the king at Taxila and had also ordained leaders for the Church before leaving for the Indus Valley in a chariot, for sailing out to eventually reach Malabar Coast.

### Kushan Empire

The Kushan Empire expanded out of Bactria (in Central Asia) into the northwest of the subcontinent under the leadership of their first emperor, Kujula Kadphises, about the middle of the 1st century CE. They came from an Indo-European language-speaking Central Asian tribe called the Yuezhi, a branch of which was known as the Kushans. By the time of his grandson, Kanishka the Great, the empire spread to encompass much of Afghanistan, and then the northern parts of the Indian subcontinent at least as far as Saketa and Sarnath near Varanasi (Benares). The Kushans inherited the Hellenistic culture of Bactria and their pantheon included a diverse group of deities, some Greek and some native Iranian. Emperor Kanishka was a great patron of Buddhism; however, and as the Kushans expanded southward, the deities of their later coinage came to reflect its new Hindu majority. They played an important role in the establishment of Buddhism in the Indian subcontinent and its spread to Central Asia and China. Historian Vincent Smith said about Kanishka:
   He played the part of a second Ashoka in the history of Buddhism.
The empire linked the Indian Ocean maritime trade with the commerce of the Silk Road through the Indus valley, encouraging long-distance trade, particularly between China and Rome. The Kushans brought new trends to the budding and blossoming Gandhara art, which reached its peak during Kushan Rule. By the 3rd century, their empire in India was disintegrating and their last known great emperor was Vasudeva I.
* Early Mahayana Buddhist triad. From left to right, a Kushan devotee, Maitreya, The Buddha, Avalokiteśvara, and a Buddhist monk. 2nd–3rd century, Gandhara.
* Kumara or Kartikeya with a Kushan devotee, c. 2nd century CE.
* Kushan prince, said to be Huvishka, making a donation to a bodhisattva.

### Sasanian Empire

The Sasanians ended the rule of the Kushans Empire. Officially known as the Empire of Iranians, the Sasanian Empire was the last Persian Empire before the rise of Islam. Named after the House of Sasan, it ruled from about 224 to 651 CE. In the east around 325 CE, Shapur II regained the upper hand against the Kushano-Sasanian Kingdom and took control of large territories in areas now known as Afghanistan and Pakistan. Much of modern-day Afghanistan became part of the Sasanian Empire, since Shapur I extended his authority eastwards into Afghanistan and the previously autonomous Kushans were obliged to accept his suzerainty.
From around 370 CE, however, towards the end of the reign of Shapur II, the Sasanians lost the control of Bactria and Afghanistan to invaders from the north. These were the Kidarites, the Hephthalites, the Alchon Huns, and the Nezak Huns. These invaders initially issued coins based on Sasanian designs.

### Huna people

The Hunas were nomadic peoples who were of Central Asian origin. Four of the Huna peoples conquered and ruled Afghanistan: the Kidarites, Alchon Huns, Hephthalites, and the Nezak Huns.

#### Kidarites

The Kidarites were a nomadic clan, the first of the four Huna people to live in Afghanistan. They are supposed to have originated in Western China and arrived in Bactria with the great migrations of the second half of the 4th century.

#### Alchon Huns

The Alchon Huns (Alchono in Bactrian) were one of the four Huna people that ruled in Afghanistan. A group of Central Asian tribes, they rose to power around 400 CE. The first major ruler was Khingila, who emerged and took control of the routes across the Hindu Kush from the Kidarites. Coins of the Alchons rulers Khingila and Mehama were found at the Buddhist monastery of Mes Aynak, southeast of Kabul, confirming the Alchon presence in this area around 450–500 CE. Alchon ruler Toramana later overran the northern region of Pakistan and Northern India, and successfully occupied areas as far as Eran and greatly weakened the Gupta Empire. Mihirakula, the son of Toramana, a Saivite Hindu, then ruled from his capital of Sagala in modern Pakistan. Ancient Buddhist writers describe Mihirakula's merciless persecution of Buddhists and destruction of monasteries, though the description is disputed as far as the authenticity is concerned. The Huns were finally defeated by the Indian kings Yashodharman of Malwa and Narasimhagupta in the 6th century. Some of them were driven out of India and others were assimilated in the Indian society.

#### Hephthalites

The Hephthalites (Ebodalo in Bactrian), also known as the White Huns and one of the four Huna people to live in Afghanistan, were a nomadic confederation in Central Asia during the late antiquity period. The Hephthalites established themselves in modern-day Afghanistan by the first half of the 5th century, and were of either Turkic or Iranian ethnic origins. As they rose to prominence, the Hephthalites displaced the Kidarites and the Alchon Huns, and soon came into conflict with the Sasanian Empire, whom they defeated on a number of occasions. Buddhism was common in the region, and it is likely that the Buddhas of Bamiyan were constructed around this time. The Chinese Buddhist monk Xuanzang visited Bamiyan and ancient Kapisa (modern Parwan province) between 629 and 645 CE, and described the Buddhas of Bamiyan. However during the time of Song Yun, who visited the chief of the Hephthalite nomads at his summer residence in Badakhshan and later in Gandhara, observed that they had no belief in the Buddhist law and served a large number of divinities." The 6th-century Roman historian Procopius of Caesarea (Book I. ch. 3) related the Huns of Europe with the Hephthalites or "White Huns" who subjugated the Sasanians and invaded northwestern India, stating that they were of the same stock, "in fact as well as in name", although he contrasted the Western Huns with the Hephthalites, in that the Hephthalites were sedentary and white-skinned, and possessed "not ugly" features.

#### Nezak Huns

The Nezaks were the last of the four Huna people that ruled in Afghanistan south of the Hindu Kush from about 484 to 665 CE. They rose to power and took control of the Zabulistan region after the defeat and death of the Sassanian Emperor Peroz I in 484 CE by the Hephthalites.

## Middle Ages (c. 565–1504 CE)

From the Middle Ages to around 1750 the eastern regions of Afghanistan such as Kabulistan and Zabulistan (now Kabul, Kandahar and Ghazni) were recognized as being part of Indian subcontinent (Al-Hind). Its western parts were included in the regions called Khorasan, Tokharistan and Sistan. Two of the four main capitals of Khorasan (i.e. Balkh and Herat) are now located in Afghanistan. The countries of Kabul, Kandahar and Ghazni formed the frontier region between Khorasan and the Indus. This land, inhabited by the Afghan tribes (i.e. ancestors of Pashtuns), was called Afghanistan, which loosely covered a wide area between the Hindu Kush and the Indus River, principally around the Sulaiman Mountains. The earliest record of the name "Afghan" (as "Abgân") being mentioned is by Shapur I of the Sasanian Empire during the 3rd century CE which is later recorded in the form of "Avagānā" by the Vedic astronomer Varāhamihira in his 6th century CE Brihat-samhita. It was used to refer to a common legendary ancestor known as "Afghana", grandson of King Saul of Israel. Xuanzang, the Chinese pilgrim who visited the Afghanistan area several times between 630 and 644 CE also speaks about them. Ancestors of many of today's Turkic-speaking Afghans settled in the Hindu Kush area and began to assimilate much of the culture and language of the Pashtun tribes already present there. Among these were the Khalaj people which are known today as Ghilzai.

### Kabul Shahi

The Kabul Shahi dynasties (also called Turk Shahi) ruled the Kabul Valley and Gandhara from the decline of the Kushan Empire in the 3rd century to the early 9th century. The Shahis are generally split up into two eras: the Buddhist Shahis and the Hindu Shahis, with the change-over thought to have occurred sometime around 870. The kingdom was known as the Kabul Shahan or Ratbelshahan from 565 to 670, when the capitals were located in Kapisa and Kabul, and later Udabhandapura, also known as Hund for its new capital.
The Hindu Shahis under ruler Jayapala, is known for his struggles in defending his kingdom against the Ghaznavids in the modern-day eastern Afghanistan region. Jayapala saw a danger in the consolidation of the Ghaznavids and invaded their capital city of Ghazni both in the reign of Sabuktigin and in that of his son Mahmud, which initiated the Muslim Ghaznavid and Hindu Shahi struggles. Sabuktigin, however, defeated him, and he was forced to pay an indemnity. Jayapala defaulted on the payment and took to the battlefield once more. Jayapala however, lost control of the entire region between the Kabul Valley and Indus River.
Before his struggle began Jaipal had raised a large army of Punjabi Hindus. When Jaipal went to the Punjab region, his army was raised to 100,000 horsemen and an innumerable host of foot soldiers. According to Firishta:
   The two armies having met on the confines of Lumghan, Subooktugeen ascended a hill to view the forces of Jeipal, which appeared in extent like the boundless ocean, and in number like the ants or the locusts of the wilderness. But Subooktugeen considered himself as a wolf about to attack a flock of sheep: calling, therefore, his chiefs together, he encouraged them to glory, and issued to each his commands. His soldiers, though few in number, were divided into squadrons of five hundred men each, which were directed to attack successively, one particular point of the Hindoo line, so that it might continually have to encounter fresh troops.
However, the army was hopeless in battle against the western forces, particularly against the young Mahmud of Ghazni. In the year 1001, soon after Sultan Mahmud came to power and was occupied with the Qarakhanids north of the Hindu Kush, Jaipal attacked Ghazni once more and suffered yet another defeat by the powerful Ghaznavid forces, near present-day Peshawar. After the Battle of Peshawar, he committed suicide because his subjects thought he had brought disaster and disgrace to the Shahi dynasty.
Jayapala was succeeded by his son Anandapala, who along with other succeeding generations of the Shahiya dynasty took part in various campaigns against the advancing Ghaznavids but were unsuccessful. The Hindu rulers eventually exiled themselves to the Kashmir Sivalik Hills.
* The Gardez Ganesha, representing a Hindu deity, Ganesha, consecrated by the Shahis in Gardez, Afghanistan, c. 7th-8th century CE.
* Khair Khaneh donor, wearing a tunic, boots and a sword.
* A Turk Shahi ruler named Sandan. Copy of an issue of Khusrau II, combining Brahmi script around the ruler, Bactrian script along the two rims, where ςανδανο βαγο χοαδηο,"Lord King Sandan" is mentioned, and Pahlavi around the altar on the reverse, c. 7th century CE.
* Coins of the Hindu Shahis, which later inspired Abbasid coins in the Middle East.

### Arab conquest

In 642 CE, Rashidun Arabs had conquered most of West Asia from the Sasanians and Byzantines, and from the western city of Herat they introduced the religion of Islam as they entered new cities. Afghanistan at that period had a number of different independent rulers, depending on the area. Ancestors of Abū Ḥanīfa, including his father, were from the Kabul region.
The early Arab forces did not fully explore Afghanistan due to attacks by the mountain tribes. Much of the eastern parts of the country remained independent, as part of the Hindu Shahi kingdoms of Kabul and Gandhara, which lasted that way until the forces of the Muslim Saffarid dynasty followed by the Ghaznavids conquered them.
   Arab armies carrying the banner of Islam came out of the west to defeat the Sasanians in 642 CE and then they marched with confidence to the east. On the western periphery of the Afghan area the princes of Herat and Seistan gave way to rule by Arab governors but in the east, in the mountains, cities submitted only to rise in revolt and the hastily converted returned to their old beliefs once the armies passed. The harshness and avariciousness of Arab rule produced such unrest, however, that once the waning power of the Caliphate became apparent, native rulers once again established themselves independent. Among these the Saffarids of Seistan shone briefly in the Afghan area. The fanatic founder of this dynasty, the persian Yaqub ibn Layth Saffari, came forth from his capital at Zaranj in 870 CE and marched through Bost, Kandahar, Ghazni, Kabul, Bamyan, Balkh and Herat, conquering in the name of Islam.

### Ghaznavid Empire

The Ghaznavid dynasty ruled from the city of Ghazni in eastern Afghanistan. From 997 to his death in 1030, Mahmud of Ghazni turned the former provincial city of Ghazni into the wealthy capital of an extensive empire which covered most of today's Afghanistan, eastern and central Iran, Pakistan, parts of India, Turkmenistan, Tajikistan, and Uzbekistan. Mahmud of Ghazni (Mahmude Ghaznavi in local pronunciation) consolidated the conquests of his predecessors and the city of Ghazni became a great cultural centre as well as a base for frequent forays into the Indian subcontinent. The Nasher Khans became princes of the Kharoti until the Soviet invasion.

### Ghurids

The Ghurids defeated the Ghaznavid dynasty in 1148, but the Ghaznavid Sultans continued to live in Ghazni as the 'Nasher' until the early 20th century. The Ghurids were of Tajik origin and their empire was established by three brothers from the Ghor province of Afghanistan, namely Qutb al-Din, Sayf al-Din, Baha al-Din, all of whom fought against the Ghaznavid emperor Bahram Shah of Ghazni but were not successful and killed in the process. Initially Ala al-Din Husayn, the son of Baha al-Din defeated the Ghazanavid ruler Bahram Shah and to take revenge of his father and uncle's death ordered the city to be sacked. The Ghorids or Ghurids lost the northern territory of Transoxiana and northern Great Korasan especially their capital Ghor province due to the invasion of Seljucks but Sultan Ala al-Din's successors consolidated their power in India by defeating the remainder of Ghaznavid rulers. At their largest extent they ruled east of Iran, much of the Indian subcontinent like Pakistan, and north and central part of modern India.

### Mongol conquest

The Mongols invaded Afghanistan in 1221 having defeated the Khwarazmian armies. The Mongols invasion had long-term consequences with many parts of Afghanistan never recovering from the devastation. The towns and villages suffered much more than the nomads who were able to avoid attack. The destruction of irrigation systems maintained by the sedentary people led to the shift of the weight of the country towards the hills. The city of Balkh was destroyed and even 100 years later Ibn Battuta described it as a city still in ruins. While the Mongols were pursuing the forces of Jalal al-Din Mangburni they besieged the city of Bamyan. In the course of the siege a defender's arrow killed Genghis Khan's grandson Mutukan. The Mongols razed the city and massacred its inhabitants in revenge, with its former site known as the City of Screams. Herat, located in a fertile valley, was destroyed as well but was rebuilt under the local Kart dynasty. After the Mongol Empire splintered, Herat eventually became part of the Ilkhanate while Balkh and the strip of land from Kabul through Ghazni to Kandahar went to the Chagatai Khanate. The Afghan tribal areas south of the Hindu Kush were usually either allied with the Khalji dynasty of northern India or independent.

### Timurid Empire

Timur (Tamerlane) incorporated much of the area into his own vast Timurid Empire. The city of Herat became one of the capitals of his empire, and his grandson Pir Muhammad held the seat of Kandahar. Timur rebuilt most of Afghanistan's infrastructure which was destroyed by his early ancestor. The area was progressing under his rule. Timurid rule began declining in the early 16th century with the rise of a new ruler in Kabul, Babur. Timur, a descendant of Genghis Khan, created a vast new empire across Russia and Persia which he ruled from his capital in Samarkand in present-day Uzbekistan. Timur captured Herat in 1381 and his son, Shah Rukh moved the capital of the Timurid empire to Herat in 1405. The Timurids, a Turkic people, brought the Turkic nomadic culture of Central Asia within the orbit of Persian civilisation, establishing Herat as one of the most cultured and refined cities in the world. This fusion of Central Asian and Persian culture was a major legacy for the future Afghanistan. Under the rule of Shah Rukh the city served as the focal point of the Timurid Renaissance, whose glory matched Florence of the Italian Renaissance as the center of a cultural rebirth. A century later, the emperor Babur, a descendant of Timur, visited Herat and wrote, "the whole habitable world had not such a town as Herat." For the next 300 years the eastern Afghan tribes periodically invaded India creating vast Indo-Afghan empires. In 1500 CE, Babur was driven out of his home in the Ferghana valley. By the 16th century western Afghanistan again reverted to Persian rule under the Safavid dynasty.

## Modern era (1504–1973)
### Mughals, Uzbeks, and Safavids

In 1504, Babur, a descendant of Timur, arrived from present-day Uzbekistan and moved to the city of Kabul. He began exploring new territories in the region, with Kabul serving as his military headquarters. Instead of looking towards the powerful Safavids towards the Persian west, Babur was more focused on the Indian subcontinent. In 1526, he left with his army to capture the seat of the Delhi Sultanate, which at that point was possessed by the Afghan Lodi dynasty of India. After defeating Ibrahim Lodi and his army, Babur turned (Old) Delhi into the capital of his newly established Mughal Empire.
From the 16th century to the 17th century CE, Afghanistan was divided into three major areas. The north was ruled by the Khanate of Bukhara, the west was under the rule of the Iranian Shia Safavids, and the eastern section was under the Sunni Mughals of northern India, who under Akbar established in Kabul one of the original twelve subahs (imperial top-level provinces), bordering Lahore, Multan and Kashmir (added to Kabul in 1586, later split-off) and short-lived Balkh Subah and Badakhshan Subah (only 1646–47). The Kandahar region in the south served as a buffer zone between the Mughals (who shortly established a Qandahar subah 1638–1648) and Persia's Safavids, with the native Afghans often switching support from one side to the other. Babur explored a number of cities in the region before his campaign into India. In the city of Kandahar, his personal epigraphy can be found in the Chil Zena rock mountain. Like in the rest of the territories that used to make part of the Indian Mughal Empire, Afghanistan holds tombs, palaces, and forts built by the Mughals.

### Hotak dynasty

In 1704, the Safavid Shah Husayn appointed George XI (Gurgīn Khān), a ruthless Georgian subject, to govern their easternmost territories in the Greater Kandahar region. One of Gurgīn's main objectives was to crush the rebellions started by native Afghans. Under his rule the revolts were successfully suppressed and he ruled Kandahar with uncompromising severity. He began imprisoning and executing the native Afghans, especially those suspected in having taken part in the rebellions. One of those arrested and imprisoned was Mirwais Hotak who belonged to an influential family in Kandahar. Mirwais was sent as a prisoner to the Persian court in Isfahan, but the charges against him were dismissed by the king, so he was sent back to his native land as a free man.
In April 1709, Mirwais along with his militia under Saydal Khan Naseri revolted. The uprising began when George XI and his escort were killed after a banquet that had been prepared by Mirwais at his house outside the city. Around four days later, an army of well-trained Georgian troops arrived in the city after hearing of Gurgīn's death, but Mirwais and his Afghan forces successfully held the city against the troops. Between 1710 and 1713, the Afghan forces defeated several large Persian armies that were dispatched from Isfahan by the Safavids, which included Qizilbash and Georgian/Circassian troops.
   Several half-hearted attempts to subdue the rebellious city having failed, the Persian Government despatched Khusraw Khán, nephew of the late Gurgín Khán, with an army of 30,000 men to effect its subjugation, but in spite of an initial success, which led the Afghans to offer to surrender on terms, his uncompromising attitude impelled them to make a fresh desperate effort, resulting in the complete defeat of the Persian army (of whom only some 700 escaped) and the death of their general. Two years later, in 1713, another Persian army commanded by Rustam Khán was also defeated by the rebels, who thus secured possession of the whole province of Qandahár.
Southern Afghanistan was made into an independent local Pashtun kingdom. Refusing the title of king, Mirwais was called "Prince of Qandahár and general of the national troops" by his Afghan countrymen. He died of natural causes in November 1715 and was succeeded by his brother Abdul Aziz Hotak. Aziz was killed about two years later by Mirwais' son Mahmud Hotak, allegedly for planning to give Kandahar's sovereignty back to Persia. Mahmud led an Afghan army into Persia in 1722 and defeated the Safavids at the Battle of Gulnabad. The Afghans captured Isfahan (Safavid capital) and Mahmud briefly became the new Persian Shah. He was known after that as Shah Mahmud.
Mahmud began a short-lived reign of terror against his Persian subjects who defied his rule from the very start, and he was eventually murdered in 1725 by his own cousin, Shah Ashraf Hotak. Some sources say he died of madness . Ashraf became the new Afghan Shah of Persia soon after Mahmud's death, while the home region of Afghanistan was ruled by Mahmud's younger brother Shah Hussain Hotak. Ashraf was able to secure peace with the Ottoman Empire in 1727 (See Treaty of Hamedan), winning against a superior Ottoman army during the Ottoman–Hotaki War, but the Russian Empire took advantage of the continuing political unrest and civil strife to seize former Persian territories for themselves, limiting the amount of territory under Shah Mahmud's control.
The short lived Hotaki dynasty was a troubled and violent one from the very start as internecine conflict made it difficult for them to establish permanent control. The dynasty lived under great turmoil due to bloody succession feuds that made their hold on power tenuous. There was a massacre of thousands of civilians in Isfahan; including more than three thousand religious scholars, nobles, and members of the Safavid family. The vast majority of the Persians rejected the Afghan regime which they considered to have been usurping power from the very start. Hotaki rule continued in Afghanistan until 1738 when Shah Hussain was defeated and banished by Nader Shah of Persia.
The Hotakis were eventually removed from power in 1729, after a very short lived reign. They were defeated in the October 1729 by the Iranian military commander Nader Shah, head of the Afsharids, at the Battle of Damghan. After several military campaigns against the Afghans, he effectively reduced the Hotakis' power to only southern Afghanistan. The last ruler of the Hotaki dynasty, Shah Hussain, ruled southern Afghanistan until 1738 when the Afsharids and the Abdali Pashtuns defeated him at the long Siege of Kandahar.

### Durrani Empire

Nader Shah and his Afsharid army arrived in the town of Kandahar in 1738 and defeated Hussain Hotak subsequently absorbing all of Afghanistan in his empire and renaming Kandahar as Naderabad. Around this time, a young teenager Ahmad Shah joined Nader Shah's army for his invasion of India.
Nadir Shah was assassinated on 19 June 1747 by several of his Persian officers, and the Afsharid empire fell to pieces. At the same time the 25-year-old Ahmad Khan was busy in Afghanistan calling for a loya jirga ("grand assembly") to select a leader among his people. The Afghans gathered near Kandahar in October 1747 and chose Ahmad Shah from among the challengers, making him their new head of state. After the inauguration or coronation, he became known as Ahmad Shah Durrani. He adopted the title padshah durr-i dawran ('King, "pearl of the age") and the Abdali tribe became known as the Durrani tribe after this. Ahmad Shah not only represented the Durranis but he also united all the Pashtun tribes. By 1751, Ahmad Shah Durrani and his Afghan army conquered the entire present-day Afghanistan, Pakistan, and for a short time, subjugated large swathes of the Khorasan and Kohistan provinces of Iran, along with Delhi in India. He defeated the Maratha Empire in 1761 at the Third Battle of Panipat.
In October 1772, Ahmad Shah retired to his home in Kandahar where he died peacefully and was buried at a site that is now adjacent to the Shrine of the Cloak. He was succeeded by his son, Timur Shah Durrani, who transferred the capital of their Afghan Empire from Kandahar to Kabul. Timur died in 1793 and his son Zaman Shah Durrani took over the reign.
Zaman Shah and his brothers had a weak hold on the legacy left to them by their famous ancestor. They sorted out their differences through a "round robin of expulsions, blindings and executions," which resulted in the deterioration of the Afghan hold over far-flung territories, such as Attock and Kashmir. Durrani's other grandson, Shuja Shah Durrani, fled the wrath of his brother and sought refuge with the Sikhs. Durrani invaded the region of Punjab three times, during his invasions he destroyed a holy shrine of the Sikhs – the Harmandir Sahib in Amritsar in 1757.
The Sikhs, under Ranjit Singh, eventually wrested a large part of the Durrani Kingdom (present-day Pakistan, but not including Sindh) from the Afghans while they were in civil war.

### Barakzai dynasty and British influence

The Emir Dost Mohammad Khan (1793–1863) gained control in Kabul in 1826 after toppling his brother, Sultan Mohammad Khan, and founded (c. 1837) the Barakzai dynasty. In 1837, the Afghan army descended through the Khyber Pass on Sikh forces at Jamrud killed the Sikh general Hari Singh Nalwa but could not capture the fort. Rivalry between the expanding British and Russian Empires in what became known as the "Great Game" significantly influenced Afghanistan during the 19th century. British concern over Russian advances in Central Asia and over Russia's growing influence in West Asia and in Persia in particular culminated in two Anglo-Afghan wars and in the Siege of Herat (1837–1838), in which the Persians, trying to retake Afghanistan and throw out the British, sent armies into the country and fought the British mostly around and in the city of Herat. The first Anglo-Afghan War (1839–1842) resulted in the destruction of a British army; causing great panic throughout British India and the dispatch of a second British invasion army. Following the British defeat in the First Anglo-Afghan War, where they tried to re-establish the Durrani Kingdom as a de facto vassal, Dost Mohammad could focus on reuniting Afghanistan, which was divided following the Durrani-Barakzai civil wars. Dost Mohammad began his conquest while only ruling the major cities of Kabul, Ghazni, Jalalabad, and Bamyan. By the time of his death in 1863, Dost Mohammad had reunited most of Afghanistan. Following Dost Mohammad's death, a civil war broke out amongst his sons, leading to Sher Ali succeeding and beginning his rule. The Second Anglo-Afghan War (1878–1880) resulted from the refusal by Emir Sher Ali (reigned 1863 to 1866 and from 1868 to 1879) to accept a British diplomatic mission in Kabul. In the wake of this conflict Shir Ali's nephew, Emir Abdur Rahman, known as the "Iron Emir", came to the Afghan throne. During his reign (1880–1901), the British and Russians officially established the boundaries of what would become modern Afghanistan. The British retained effective control over Kabul's foreign affairs. Abdur Rahman's reforms of the army, legal system and structure of government gave Afghanistan a degree of unity and stability which it had not before known. This, however, came at the cost of strong centralisation, of harsh punishments for crime and corruption, and of a certain degree of international isolation.
Habibullah Khan, Abdur Rahman's son, came to the throne in 1901 and kept Afghanistan neutral during World War I, despite encouragement by Central Powers of anti-British feelings and of Afghan rebellion along the borders of India. His policy of neutrality was not universally popular within the country, and Habibullah was assassinated in 1919, possibly by family members opposed to British influence. His third son, Amanullah (r. 1919–1929), regained control of Afghanistan's foreign policy after launching the Third Anglo-Afghan War (May to August 1919) with an attack on India. During the ensuing conflict the war-weary British relinquished their control over Afghan foreign affairs by signing the Treaty of Rawalpindi in August 1919. In commemoration of this event Afghans celebrate 19 August as their Independence Day.

### Reforms of Amanullah Khan and civil war

King Amanullah Khan moved to end his country's traditional isolation in the years following the Third Anglo-Afghan war. After quelling the Khost rebellion in 1925, he established diplomatic relations with most major countries and, following a 1927 tour of Europe and Turkey (during which he noted the modernization and secularization advanced by Atatürk), introduced several reforms intended to modernize Afghanistan. A key force behind these reforms was Mahmud Tarzi, Amanullah Khan's Foreign Minister and father-in-law — and an ardent supporter of the education of women. He fought for Article 68 of Afghanistan's first constitution (declared through a Loya Jirga), which made elementary education compulsory. Some of the reforms that were actually put in place, such as the abolition of the traditional Muslim veil for women and the opening of a number of co-educational schools, quickly alienated many tribal and religious leaders, which led to the revolt of the Shinwari in November 1928, marking the beginning of the Afghan Civil War (1928–1929). Although the Shinwari revolt was quelled, a concurrent Saqqawist uprising in the north eventually managed to depose Amanullah, leading to Habibullāh Kalakāni taking control of Kabul.

### Reigns of Nadir Khan and Zahir Khan

Mohammed Nadir Khan became King of Afghanistan on 15 October 1929 after he took control of Afghanistan by defeating the Habibullah Kalakani. He then executed him on 1 November of same year. He began consolidating power and regenerating the country. He abandoned the reforms of Amanullah Khan in favour of a more gradual approach to modernisation. In 1933, however, he was assassinated in a revenge killing by a student from Kabul.
Mohammad Zahir Shah, Nadir Khan's 19-year-old son, succeeded to the throne and reigned from 1933 to 1973. The Afghan tribal revolts of 1944–1947 saw Zahir Shah's reign being challenged by Zadran, Safi and Mangal tribesmen led by Mazrak Zadran and Salemai among others. Until 1946 Zahir Shah ruled with the assistance of his uncle Mohammad Hashim Khan, who held the post of prime minister and continued the policies of Nadir Khan. In 1946, another of Zahir Shah's uncles, Shah Mahmud Khan, became prime minister and began an experiment allowing greater political freedom, but reversed the policy when it went further than he expected. In 1953, he was replaced as prime minister by Mohammed Daoud Khan, the king's cousin and brother-in-law. Daoud looked for a closer relationship with the Soviet Union and a more distant one towards Pakistan. However, disputes with Pakistan led to an economic crisis and he was asked to resign in 1963. From 1963 until 1973, Zahir Shah took a more active role.
In 1964, King Zahir Shah promulgated a liberal constitution providing for a bicameral legislature to which the king appointed one-third of the deputies. The people elected another third, and the remainder were selected indirectly by provincial assemblies. Although Zahir's "experiment in democracy" produced few lasting reforms, it permitted the growth of parties on both the left and the right. This included the communist People's Democratic Party of Afghanistan (PDPA), which had close ideological ties to the Soviet Union. In 1967, the PDPA split into two major rival factions: the Khalq (Masses) was headed by Nur Muhammad Taraki and Hafizullah Amin who were supported by elements within the military, and the Parcham (Banner) led by Babrak Karmal.

## Contemporary era (1973–present)
### Republic of Afghanistan and the end of the monarchy

Amid corruption charges and malfeasance against the royal family and the poor economic conditions created by the severe 1971–72 drought, former prime minister Mohammad Daoud Khan seized power in a non-violent coup on July 17, 1973, while Zahir Shah was receiving treatment for eye problems and therapy for lumbago in Italy. Daoud abolished the monarchy, abrogated the 1964 constitution, and declared Afghanistan a republic with himself as its first president and prime minister. His attempts to carry out badly needed economic and social reforms were met with little success, and the new constitution promulgated in February 1977 failed to quell chronic political instability.
As disillusionment set in, in 1978 a prominent member of the People's Democratic Party of Afghanistan (PDPA), Mir Akbar Khyber (or "Kaibar"), was killed by the government. The leaders of PDPA apparently feared that Daoud was planning to exterminate them all, especially since most of them were arrested by the government shortly after. Nonetheless, Hafizullah Amin and a number of military wing officers of the PDPA's Khalq faction managed to remain at large and organize a military coup.

### Democratic Republic and Soviet war (1978–1989)

On 28 April 1978, the PDPA, led by Nur Muhammad Taraki, Babrak Karmal and Amin Taha overthrew the government of Mohammad Daoud, who was assassinated along with all his family members in a bloody military coup. The coup became known as the Saur Revolution. On 1 May, Taraki became head of state, head of government and General Secretary of the PDPA. The country was then renamed the Democratic Republic of Afghanistan (DRA), and the PDPA regime lasted, in some form or another, until April 1992.
In March 1979, Hafizullah Amin took over as prime minister, retaining the position of field marshal and becoming vice-president of the Supreme Defence Council. Taraki remained General Secretary, Chairman of the Revolutionary Council and in control of the Army. On 14 September, Amin overthrew Taraki, who was killed. Amin stated that "the Afghans recognize only crude force." Afghanistan expert Amin Saikal writes: "As his powers grew, so apparently did his craving for personal dictatorship ... and his vision of the revolutionary process based on terror."
Once it was in power, the PDPA implemented a Marxist–Leninist agenda. It moved to replace religious and traditional laws with secular and Marxist–Leninist ones. Men were obliged to cut their beards, women could not wear chadors, and mosques were declared off limits. The PDPA made a number of reforms on women's rights, banning forced marriages and giving state recognition of women's right to vote. A prominent example was Anahita Ratebzad, who was a major Marxist leader and a member of the Revolutionary Council. Ratebzad wrote the famous New Kabul Times editorial (May 28, 1978) which declared: "Privileges which women, by right, must have are equal education, job security, health services, and free time to rear a healthy generation for building the future of the country ... Educating and enlightening women is now the subject of close government attention." The PDPA also carried out socialist land reforms and moved to promote state atheism. They also prohibited usury. The PDPA invited the Soviet Union to assist in modernizing its economic infrastructure (predominantly its exploration and mining of rare minerals and natural gas). The Soviet Union also sent contractors to build roads, hospitals and schools and to drill water wells; they also trained and equipped the Afghan Armed Forces. Upon the PDPA's ascension to power, and the establishment of the DRA, the Soviet Union promised monetary aid amounting to at least $1.262 billion.
At the same time, the PDPA imprisoned, tortured or murdered thousands of members of the traditional elite, the religious establishment, and the intelligentsia. The government launched a campaign of violent repression, killing some 10,000 to 27,000 people and imprisoning 14,000 to 20,000 more, mostly at Pul-e-Charkhi prison. In December 1978 the PDPA leadership signed an agreement with the Soviet Union which would allow military support for the PDPA in Afghanistan if needed. The majority of people in the cities including Kabul either welcomed or were ambivalent to these policies. However, the Marxist–Leninist and secular nature of the government as well as its heavy dependence on the Soviet Union made it unpopular with a majority of the Afghan population. Repressions plunged large parts of the country, especially the rural areas, into open revolt against the new Marxist–Leninist government. By spring 1979 unrests had reached 24 out of 28 Afghan provinces including major urban areas. Over half of the Afghan army would either desert or join the insurrection. Most of the government's new policies clashed directly with the traditional Afghan understanding of Islam, making religion one of the only forces capable of unifying the tribally and ethnically divided population against the unpopular new government, and ushering in the advent of Islamist participation in Afghan politics.
To bolster the Parcham faction, the Soviet Union decided to intervene on December 27, 1979, when the Red Army invaded its southern neighbor. Over 100,000 Soviet troops took part in the invasion, which was backed by another 100,000 Afghan military men and supporters of the Parcham faction. In the meantime, Hafizullah Amin was killed and replaced by Babrak Karmal.
The Carter administration started providing limited assistance to rebels before the Soviet invasion. After the Soviet occupation of Afghanistan, the U.S. began arming the Afghan mujahideen, thanks in large part to the efforts of Charlie Wilson and CIA officer Gust Avrakotos. Early reports estimated that $6–20 billion had been spent by the U.S. and Saudi Arabia but more recent reports state that the U.S. and Saudi Arabia provided as much as up to $40 billion in cash and weapons, which included over two thousand FIM-92 Stinger surface-to-air missiles, for building up Islamic groups against the Soviet Union. The U.S. handled most of its support through Pakistan's ISI.
Scholars such as W. Michael Reisman, Charles Norchi and Mohammed Kakar, believe that the Afghans were victims of a genocide which was committed against them by the Soviet Union. Soviet forces and their proxies killed between 562,000 and 2 million Afghans and Russian soldiers also engaged in abductions and rapes of Afghan women. About 6 million fled as Afghan refugees to Pakistan and Iran, and from there over 38,000 made it to the United States and many more to the Europe. The Afghan refugees in Iran and Pakistan brought with them verifiable stories of murder, collective rape, torture and depopulation of civilians by the Soviet forces. Faced with mounting international pressure and great number of casualties on both sides, the Soviets withdrew in 1989. Their withdrawal from Afghanistan was seen as an ideological victory in the United States, which had backed some Mujahideen factions through three U.S. presidential administrations to counter Soviet influence in the vicinity of the oil-rich Persian Gulf. The USSR continued to support Afghan leader Mohammad Najibullah (former head of the Afghan secret service, KHAD) until 1992.

### Foreign interference and civil war (1989–1996)

Pakistan's spy agency Inter-Services Intelligence (ISI), headed by Hamid Gul at the advice of the US and its allies, was interested in a trans-national Islamic revolution which would cover Pakistan, Afghanistan and Central Asia. For this purpose the ISI masterminded an attack on Jalalabad in March 1989, for the Mujahideen to establish their own government in Afghanistan, but this failed in three months.
With the crumbling of the Najibullah regime early in 1992, Afghanistan fell into further disarray and civil war. A U.N.-supported attempt to have the mujahideen parties and armies form a coalition government shattered. Mujahideen did not abide by the mutual pledges and Ahmad Shah Masoud's forces, because of his proximity to Kabul, captured the capital before a mujahideen government was established. So the elected prime minister and warlord Gulbuddin Hekmatyar started war on his president and Massoud's forces entrenched in Kabul. This ignited another civil war, because the other mujahideen parties would not settle for Hekmatyar ruling alone or sharing actual power with him. Within weeks, the still frail unity of the other mujahideen forces also evaporated, and six militias were fighting each other in and around Kabul.
Sibghatuallah Mojaddedi was elected as Afghanistan's elected interim president for two months; then, professor Burhanuddin Rabbani, a well known Kabul university professor and the leader of Jamiat-e-Islami party of Mujahiddin who fought against Russians during the occupation was chosen by all of the Jahadi leaders except Gulbuddin Hekmatyar. Rabbani reigned as the official and elected president of Afghanistan by Shurai Mujahiddin Peshawer (Peshawer Mujahiddin Council) from 1992 until 2001 when he officially handed over the presidency post to Hamid Karzai the next US appointed interim president. During Rabbani's presidency some parts of the country including a few provinces in the north such as Mazar e-Sharif, Jawzjan, Faryab, Shuburghan and some parts of Baghlan provinces were ruled by general Abdul Rashid Dostum. During the first five years of Rabbani's disputed term, before the emergence of the Taliban, the eastern and western provinces and some of the northern provinces such as Badakhshan, Takhar, Kunduz, the main parts of Baghlan Province, and some parts of Kandahar and other southern provinces were under the control of the central government. The central government could not assert control over other parts of the southern provinces, however, in large measure because of Rabbani's Tajik ethnicity. During the 9 year presidency of Burhanuddin Rabani, Gulbuddin Hekmatyar was directed, funded and supplied by the Pakistani army. Afghanistan analyst Amin Saikal concludes in his book Modern Afghanistan: A History of Struggle and Survival:
   Pakistan was keen to gear up for a breakthrough in Central Asia. [...] Islamabad could not possibly expect the new Islamic government leaders [...] to subordinate their own nationalist objectives in order to help Pakistan realize its regional ambitions. [...] Had it not been for the ISI's logistic support and supply of a large number of rockets, Hekmatyar's forces would not have been able to target and destroy half of Kabul.
There was no time for the interim government to create working government departments, police units or a system of justice and accountability. Saudi Arabia and Iran also armed and directed Afghan militias. A publication by the George Washington University describes:
   [O]utside forces saw instability in Afghanistan as an opportunity to press their own security and political agendas.
According to Human Rights Watch, numerous Iranian agents were assisting the Shia Hezb-i Wahdat forces of Abdul Ali Mazari, as Iran was attempting to maximize Wahdat's military power and influence. Saudi Arabia was trying to strengthen the Wahhabite Abdul Rasul Sayyaf and his Ittihad-i Islami faction. Atrocities were committed by individuals of the different factions while Kabul descended into lawlessness and chaos as described in reports by Human Rights Watch and the Afghanistan Justice Project. Again, Human Rights Watch writes:
   Rare ceasefires, usually negotiated by representatives of Ahmad Shah Massoud, Sibghatullah Mojaddedi or Burhanuddin Rabbani (the interim government), or officials from the International Committee of the Red Cross (ICRC), commonly collapsed within days.
The main forces involved during that period in Kabul, northern, central and eastern Afghanistan were the Hezb-i Islami of Gulbuddin Hekmatyar directed by Pakistan, the Hezb-i Wahdat of Abdul Ali Mazari directed by Iran, the Ittehad-i Islami of Abdul Rasul Sayyaf supported by Saudi Arabia, the Junbish-i Milli of Abdul Rashid Dostum backed by Uzbekisten, the Harakat-i Islami of Hussain Anwari and the Shura-i Nazar operating as the regular Islamic State forces (as agreed upon in the Peshawar Accords) under the Defence Ministry of Ahmad Shah Massoud.
Meanwhile, the southern city of Kandahar was a centre of lawlessness, crime and atrocities fuelled by complex Pashtun tribal rivalries. In 1994, the Taliban (a movement originating from Jamiat Ulema-e-Islam-run religious schools for Afghan refugees in Pakistan) also developed in Afghanistan as a politico-religious force, reportedly in opposition to the tyranny of the local governor. Mullah Omar started his movement with fewer than 50 armed madrasa students in his hometown of Kandahar. As Gulbuddin Hekmatyar remained unsuccessful in conquering Kabul, Pakistan started supporting the Taliban. Many analysts like Amin Saikal describe the Taliban as developing into a proxy force for Pakistan's regional interests. In 1994 the Taliban took power in several provinces in southern and central Afghanistan.
In 1995 the Hezb-i Islami of Gulbuddin Hekmatyar, the Iranian-backed Hezb-i Wahdat as well as Rashid Dostum's Junbish forces were defeated militarily in the capital Kabul by forces of the interim government under Massoud who subsequently tried to initiate a nationwide political process with the goal of national consolidation and democratic elections, also inviting the Taliban to join the process. The Taliban declined.

### Taliban and the Northern Alliance (1996–2001)

The Taliban started shelling Kabul in early 1995 but were defeated by forces of the Islamic State government under Ahmad Shah Massoud. Amnesty International, referring to the Taliban offensive, wrote in a 1995 report:
   This is the first time in several months that Kabul civilians have become the targets of rocket attacks and shelling aimed at residential areas in the city.
On September 26, 1996, as the Taliban, with military support by Pakistan and financial support by Saudi Arabia, prepared for another major offensive, Massoud ordered a full retreat from Kabul. The Taliban seized Kabul on September 27, 1996, and established the Islamic Emirate of Afghanistan. They imposed on the parts of Afghanistan under their control their political and judicial interpretation of Islam, issuing edicts forbidding women from working outside the home, attending school or leaving their homes unless accompanied by a male relative. Physicians for Human Rights (PHR) said:
   To PHR's knowledge, no other regime in the world has methodically and violently forced half of its population into virtual house arrest, prohibiting them on pain of physical punishment.
After the fall of Kabul to the Taliban on September 27, 1996, Ahmad Shah Massoud and Abdul Rashid Dostum, two former enemies, created the Northern Alliance (United Front) against the Taliban, who were preparing offensives against the remaining areas under the control of Massoud and Dostum. The Northern Alliance included beside the dominantly Tajik forces of Massoud and the Uzbek forces of Dostum, Hazara factions and Pashtun forces under the leadership of commanders such as Abdul Haq, Haji Abdul Qadir, Qari Baba or diplomat Abdul Rahim Ghafoorzai. From the Taliban conquest in 1996 until November 2001 the Northern Alliance controlled roughly 30% of Afghanistan's population in provinces such as Badakhshan, Kapisa, Takhar and parts of Parwan, Kunar, Nuristan, Laghman, Samangan, Kunduz, Ghōr and Bamyan.
According to a 55-page report by the United Nations, the Taliban, while trying to consolidate control over northern and western Afghanistan, committed systematic massacres against civilians. UN officials stated that there had been "15 massacres" between 1996 and 2001. They also said, that "[t]hese have been highly systematic and they all lead back to the [Taliban] Ministry of Defense or to Mullah Omar himself." The Taliban especially targeted people of Shia religious or Hazara ethnic background. Upon taking Mazar-i-Sharif in 1998, about 4,000 civilians were executed by the Taliban and many more reported torture. Among those killed in Mazari Sharif were several Iranian diplomats. Others were kidnapped by the Taliban, touching off a hostage crisis that nearly escalated to a full-scale war, with 150,000 Iranian soldiers massed on the Afghan border at one time. It was later admitted that the diplomats were killed by the Taliban, and their bodies were returned to Iran.
The documents also reveal the role of Arab and Pakistani support troops in these killings. Osama bin Laden's so-called 055 Brigade was responsible for mass-killings of Afghan civilians. The report by the United Nations quotes eyewitnesses in many villages describing Arab fighters carrying long knives used for slitting throats and skinning people.
Pakistani President Pervez Musharraf – then as Chief of Army Staff – was responsible for sending thousands of Pakistanis to fight alongside the Taliban and Bin Laden against the forces of Massoud. In total there were believed to be 28,000 Pakistani nationals fighting inside Afghanistan. 20,000 were regular Pakistani soldiers either from the Frontier Corps or army and an estimated 8,000 were militants recruited in madrasas filling regular Taliban ranks. The estimated 25,000 Taliban regular force thus comprised more than 8,000 Pakistani nationals. A 1998 document by the U.S. State Department confirms that "20–40 percent of [regular] Taliban soldiers are Pakistani." The document further states that the parents of those Pakistani nationals "know nothing regarding their child's military involvement with the Taliban until their bodies are brought back to Pakistan." A further 3,000 fighter of the regular Taliban army were Arab and Central Asian militants. From 1996 to 2001 the Al-Qaeda of Osama bin Laden and Ayman al-Zawahiri became a state within the Taliban state. Bin Laden sent Arab recruits to join the fight against the Northern Alliance. Of roughly 45,000 Pakistani, Taliban and Al-Qaeda soldiers fighting against the forces of Massoud only 14,000 were Afghan.
According to Human Rights Watch in 1997 Taliban soldiers were summarily executed in and around Mazar-i Sharif by Dostum's Junbish forces. Dostum was defeated by the Taliban in 1998 with the fall of Mazar-i-Sharif. Massoud remained the only leader of the Northern Alliance in Afghanistan.
In the areas under his control Ahmad Shah Massoud set up democratic institutions and signed the Women's Rights Charter. Human Rights Watch cites no human rights crimes for the forces under direct control of Massoud for the period from October 1996 until the assassination of Massoud in September 2001. As a consequence many civilians fled to the area of Ahmad Shah Massoud. National Geographic concluded in its documentary Inside the Taliban:
   The only thing standing in the way of future Taliban massacres is Ahmad Shah Massoud.
The Taliban repeatedly offered Massoud a position of power to make him stop his resistance. Massoud declined for he did not fight to obtain a position of power. He said in one interview:
   The Taliban say: "Come and accept the post of prime minister and be with us", and they would keep the highest office in the country, the presidentship. But for what price?! The difference between us concerns mainly our way of thinking about the very principles of the society and the state. We can not accept their conditions of compromise, or else we would have to give up the principles of modern democracy. We are fundamentally against the system called "the Emirate of Afghanistan".
and
   There should be an Afghanistan where every Afghan finds himself or herself happy. And I think that can only be assured by democracy based on consensus.
Massoud wanted to convince the Taliban to join a political process leading towards democratic elections in a foreseeable future. Massoud stated that:
   The Taliban are not a force to be considered invincible. They are distanced from the people now. They are weaker than in the past. There is only the assistance given by Pakistan, Osama bin Laden and other extremist groups that keep the Taliban on their feet. With a halt to that assistance, it is extremely difficult to survive.
In early 2001 Massoud employed a new strategy of local military pressure and global political appeals. Resentment was increasingly gathering against Taliban rule from the bottom of Afghan society including the Pashtun areas. Massoud publicized their cause "popular consensus, general elections and democracy" worldwide. At the same time he was very wary not to revive the failed Kabul government of the early 1990s. Already in 1999 he started the training of police forces which he trained specifically to keep order and protect the civilian population in case the Northern Alliance would be successful.
In early 2001 Massoud addressed the European Parliament in Brussels asking the international community to provide humanitarian help to the people of Afghanistan. He stated that the Taliban and Al-Qaeda had introduced "a very wrong perception of Islam" and that without the support of Pakistan the Taliban would not be able to sustain their military campaign for up to a year.

### NATO's presence, the Emergency Loya Jirga, the Taliban's takeover and the Panjshir uprising

On 9 September 2001, Ahmad Shah Massoud was assassinated by two Arab suicide attackers inside Afghanistan. Two days later about 3,000 people became victims of the September 11 attacks in the United States, when Afghan-based Al-Qaeda suicide bombers hijacked planes and flew them into four targets in the Northeastern United States. Then US President George W. Bush accused Osama bin Laden and Khalid Sheikh Mohammed as the faces behind the attacks. When the Taliban refused to hand over bin Laden to US authorities and to disband al-Qaeda bases in Afghanistan, Operation Enduring Freedom was launched in which teams of American and British special forces worked with commanders of the Northern Alliance against the Taliban. At the same time the US-led forces were bombing Taliban and al-Qaeda targets everywhere inside Afghanistan with cruise missiles. These actions led to the fall of Mazar-i-Sharif in the north followed by all the other cities, as the Taliban and al-Qaeda crossed over the porous Durand Line border into Pakistan. In December 2001, after the Taliban government was toppled and the new Afghan government under Hamid Karzai was formed, the International Security Assistance Force (ISAF) was established by the UN Security Council to help assist the Karzai administration and provide basic security to the Afghan people. The majority of Afghans supported the American invasion of their country.
While the Taliban began regrouping inside Pakistan, the rebuilding of war-torn Afghanistan kicked off in 2002 (see also War in Afghanistan (2001–2021)). The Afghan nation was able to build democratic structures over the years by the creation of an emergency loya jirga to set up the modern Afghan government, and some progress was made in key areas such as governance, economy, health, education, transport, and agriculture. NATO had been training the Afghan armed forces as well its national police. ISAF and Afghan troops led many offensives against the Taliban but failed to fully defeat them. By 2009, a Taliban-led shadow government began to form in many parts of the country complete with their own version of mediation court. After U.S. President Barack Obama announced the deployment of another 30,000 soldiers in 2010 for a period of two years, Der Spiegel published images of the US soldiers who killed unarmed Afghan civilians.
In 2009, the United States resettled 328 refugees from Afghanistan. Over five million Afghan refugees were repatriated in the last decade, including many who were forcefully deported from NATO countries. This large return of Afghans may have helped the nation's economy but the country still remains one of the poorest in the world due to the decades of war, lack of foreign investment, ongoing government corruption and the Pakistani-backed Taliban insurgency. The United States also accuses neighboring Iran of providing small level of support to the Taliban insurgents. According to a report by the United Nations, the Taliban and other militants were responsible for 76% of civilian casualties in 2009, 75% in 2010 and 80% in 2011. A report titled Body Count concluded that 106,000–170,000 civilians had been killed as a result of the fighting in Afghanistan at the hands of all parties to the conflict.
In October 2008 U.S. Defense Secretary Gates had asserted that a political settlement with the Taliban was the endgame for the Afghanistan war. "There has to be ultimately – and I'll underscore ultimately – reconciliation as part of a political outcome to this," Gates stated. By 2010 peace efforts began. In early January, Taliban commanders held secret exploratory talks with a United Nations special envoy to discuss peace terms. Regional commanders on the Taliban's leadership council, the Quetta Shura, sought a meeting with the UN special representative in Afghanistan, Kai Eide, and it took place in Dubai on January 8. It was the first such meeting between the UN and senior members of the Taliban. On 26 January 2010, at a major conference in London which brought together some 70 countries and organizations, Afghan President Hamid Karzai said he intends to reach out to the Taliban leadership (including Mullah Omar, Sirajuddin Haqqani and Gulbuddin Hekmatyar). Supported by NATO, Karzai called on the group's leadership to take part in a loya jirga meeting to initiate peace talks. These steps have resulted in an intensification of bombings, assassinations and ambushes. Some Afghan groups (including the former intelligence chief Amrullah Saleh and opposition leader Dr. Abdullah Abdullah) believe that Karzai plans to appease the insurgents' senior leadership at the cost of the democratic constitution, the democratic process and progress in the field of human rights especially women's rights. Dr. Abdullah stated:
   I should say that Taliban are not fighting in order to be accommodated. They are fighting in order to bring the state down. So it's a futile exercise, and it's just misleading. ... There are groups that will fight to the death. Whether we like to talk to them or we don't like to talk to them, they will continue to fight. So, for them, I don't think that we have a way forward with talks or negotiations or contacts or anything as such. Then we have to be prepared to tackle and deal with them militarily. In terms of the Taliban on the ground, there are lots of possibilities and opportunities that with the help of the people in different parts of the country, we can attract them to the peace process; provided, we create a favorable environment on this side of the line. At the moment, the people are leaving support for the government because of corruption. So that expectation is also not realistic at this stage.
Afghan President Hamid Karzai told world leaders during the London conference that he intends to reach out to the top echelons of the Taliban within a few weeks with a peace initiative. Karzai set the framework for dialogue with Taliban leaders when he called on the group's leadership to take part in a "loya jirga" – or large assembly of elders – to initiate peace talks. Karzai also asked for creation of a new peacemaking organization, to be called the National Council for Peace, Reconciliation and Reintegration. Karzai's top adviser on the reconciliation process with the insurgents said that the country must learn to forgive the Taliban. In March 2010, the Karzai government held preliminary talks with Hezb-i-Islami, who presented a plan which included the withdrawal of all foreign troops by the end of 2010. The Taliban declined to participate, saying "The Islamic Emirate has a clear position. We have said this many, many times. There will be no talks when there are foreign troops on Afghanistan's soil killing innocent Afghans on daily basis." In June 2010 the Afghan Peace Jirga 2010 took place. In September 2010 General David Petraeus commented on the progress of peace talks to date, stating, "The prospect for reconciliation with senior Taliban leaders certainly looms out there...and there have been approaches at (a) very senior level that hold some promise."
After the May 2011 death of Osama bin Laden in Pakistan, many prominent Afghan figures began being assassinated, including Mohammed Daud Daud, Ahmed Wali Karzai, Jan Mohammad Khan, Ghulam Haider Hamidi, Burhanuddin Rabbani and others. Also in the same year, the Pakistani-Afghan border skirmishes intensified and many large scale attacks by the Pakistani-based Haqqani network took place across Afghanistan. This led to the United States warning Pakistan of a possible military action against the Haqqanis in the Federally Administered Tribal Areas. The U.S. blamed Pakistan's government, mainly Pakistani Army and its ISI spy network as the masterminds behind all of this.
   In choosing to use violent extremism as an instrument of policy, the government of Pakistan, and most especially the Pakistani army and ISI, jeopardizes not only the prospect of our strategic partnership but Pakistan's opportunity to be a respected nation with legitimate regional influence. They may believe that by using these proxies, they are hedging their bets or redressing what they feel is an imbalance in regional power. But in reality, they have already lost that bet.
The U.S. ambassador to Pakistan, Cameron Munter, told Radio Pakistan that "The attack that took place in Kabul a few days ago, that was the work of the Haqqani network. There is evidence linking the Haqqani Network to the Pakistan government. This is something that must stop." Other top U.S. officials such as Hillary Clinton and Leon Panetta made similar statements. On October 16, 2011, "Operation Knife Edge" was launched by NATO and Afghan forces against the Haqqani network in south-eastern Afghanistan. Afghan Defense Minister, Abdul Rahim Wardak, explained that the operation will "help eliminate the insurgents before they struck in areas along the troubled frontier". In November 2011, NATO forces attacked Pakistani soldiers in the Pakistan border region. In 2014, Ashraf Ghani was elected to be the president of Afghanistan.
In 2021, the United States forces and allies withdrew from Afghanistan, which allowed the Taliban to intensify their insurgency. On 15 August 2021, as the Taliban entered Kabul, President Ghani fled to Tajikistan, and the U.S.-backed Afghan government collapsed. Anti-Taliban forces formed the National Resistance Front of Afghanistan and launched an uprising from the Panjshir Valley.
On 7 September 2021 Taliban announced an interim government headed by Mohammad Hassan Akhund, although the government remained unrecognized internationally.
Western countries have suspended most humanitarian aid to Afghanistan following the Taliban's takeover of the country in August 2021. The United States has frozen about $9 billion in assets belonging to the Afghan central bank, blocking the Taliban from accessing billions of dollars held in U.S. bank accounts. In October 2021, more than half of Afghanistan's 39 million people faced an acute food shortage. On 11 November 2021, the Human Rights Watch reported that Afghanistan is facing widespread famine due to collapsed economy and broken banking system. The UN World Food Program has also issued multiple warnings of worsening food insecurity.
In October 2023, the Pakistani government ordered the expulsion of Afghans from Pakistan. Iran also decided to deport Afghan refugees back to Afghanistan. Taliban authorities condemned the deportations of Afghans as an "inhuman act." In December 2023, speaking about the situation in Afghanistan, WHO Director-General Tedros Adhanom Ghebreyesus said that 30% of the Afghan population was facing acute food insecurity, adding that "Close to 1 million children are severely malnourished and 2.3 million are suffering from moderate acute malnutrition."