The first Muslim dynasties
Islamic armies defeated the Sāsānids in 642 at the Battle of Nahāvand (near modern Hamadān, Iran) and advanced into the Afghan area, but they were unable to hold the territory; cities submitted, only to rise in revolt, and the hastily converted returned to their old beliefs once the armies had passed. The 9th and 10th centuries witnessed the rise of numerous local Islamic dynasties. One of the earliest was the Ṭāhirids of Khorāsān, whose kingdom included Balkh and Herāt; they established virtual independence from the ʿAbbāsid Caliphate in 820. The Ṭāhirids were succeeded in 867–869 by a native dynasty from Sīstān, the Ṣaffārids. Local princes in the north soon became feudatories of the powerful Sāmānids, who ruled from Bukhara. From 872 to 999 Bukhara, Samarkand, and Balkh enjoyed a golden age under Sāmānid rule.
Louis Dupree Nancy Hatch DupreeIn the middle of the 10th century a former Turkish slave named Alptigin seized Ghazna. He was succeeded by another former slave, Subüktigin, who extended the conquests to Kabul and the Indus. His son was the great Maḥmūd of Ghazna, who came to the throne in 998. Maḥmūd conquered the Punjab and Multan and carried his raids into the heart of India. The hitherto obscure town of Ghazna became a splendid city, as did the second capital at Bust (Lashkar Gāh).
Maḥmūd’s descendants continued to rule over a gradually diminishing empire until 1150, when ʿAlāʾ al-Dīn Ḥusayn of Ghūr, a mountain-locked region in central Afghanistan, sacked Ghazna and drove the last Ghaznavid into India. ʿAlāʾ al-Dīn’s nephew, Muʿizz al-Dīn Muḥammad, known as Muḥammad of Ghūr, first invaded India in 1175. After his death in 1206, his general, Quṭb al-Dīn Aybak, became the sultan of Delhi.
Shortly after Muḥammad of Ghūr’s death, the Ghurīd empire fell apart, and Afghanistan was occupied by Sultan ʿAlāʾ al-Dīn Muḥammad, the Khwārezm-Shah. The territories of the Khwārezm-Shah dynasty extended from Chinese Turkistan in the east to the borders of Iraq in the west.
Frank Raymond AllchinThe Mongol invasion
Genghis Khan invaded the eastern part of ʿAlāʾ al-Dīn’s empire in 1219. Avoiding a battle, ʿAlāʾ al-Dīn retreated to a small island in the Caspian Sea, where he died in 1220. Soon after ʿAlāʾ al-Dīn’s death, his energetic son Jalāl al-Dīn Mingburnu rallied the Afghan highlanders at Parwan (modern Jabal os Sarāj), near Kabul, and inflicted a crushing defeat on the Mongols under Kutikonian. Genghis Khan, who was then at Herāt, hastened to avenge the defeat and laid siege to Bamiyan. There Ṃutugen, the khan’s grandson, was killed, an event so infuriating to Genghis Khan that when he captured the citadel he ordered that no living being be spared. Bamiyan was utterly destroyed. Advancing on Ghazna, Genghis won a great victory over Jalāl al-Dīn, who then fell back toward the Indus (1221), where he made a final but unsuccessful stand.
Later dynasties
After Genghis Khan’s death in 1227, his vast empire fell to pieces. In Afghanistan some local chiefs succeeded in establishing independent principalities, and others acknowledged Mongol princes as suzerains. This state of affairs continued until the end of the 14th century, when Timur (Tamerlane) conquered a large part of the country.
Timur’s successors, the Timurids (1405–1507), were great patrons of learning and the arts who enriched their capital city of Herāt with fine buildings. Under their rule Afghanistan enjoyed peace and prosperity.
Early in the 16th century the Turkic Uzbeks rose to power in Central Asia under Muḥammad Shaybānī, who took Herāt in 1507. In late 1510 the Ṣafavid shah Ismāʿīl I besieged Shaybānī in Merv and killed him. Bābur, a descendant of Genghis Khan and Timur, had made Kabul the capital of an independent principality in 1504. He captured Kandahār in 1522, and in 1526 he marched on Delhi. He defeated Ibrāhīm, the last of the Lodī Afghan kings of India, and established the Mughal Empire, which lasted until the middle of the 19th century and included all of eastern Afghanistan south of the Hindu Kush. The capital was at Agra. Nine years after his death in 1530, the body of Bābur was taken to Kabul for burial.
During the next 200 years Afghanistan was parceled between the Mughals of India and the Ṣafavids of Persia—the former holding Kabul north to the southern foothills of the Hindu Kush and the latter, Herāt and Farāh. Kandahār was in dispute for many years.
Last Afghan empire
Overthrow of foreign rule
Periodic attempts were made to gain independence. In 1709 Mīr Vays Khan, a leader of the Hotaki Ghilzay tribe, led a successful rising against Gorgīn Khan, the Persian governor of Kandahār.
The Hotakis
Mīr Vays Khan governed Kandahār until his death in 1715. In 1716 the Abdālīs (Durrānī) of Herāt, encouraged by his example, took up arms against the Persians and under their leader, Asad Allāh Khan, succeeded in liberating their province. Maḥmūd, Mīr Vays’s young son and successor, was not content with holding Kandahār, and in 1722 he led some 20,000 men against Eṣfahān; the Ṣafavid government surrendered after a six-month siege.
Maḥmūd died in 1725 and was succeeded by Ashraf, who had to contend with Russian pressure from the north and Ottoman Turk advances from the west. Shah Ashraf halted both the Russian and Turkish onslaughts, but a brigand chief, Nādr Qolī Beg, defeated the Afghans at Dāmghān in October 1729 and drove them from Persia. During the retreat Ashraf was murdered, probably on orders from his cousin, who was then holding Kandahār.
Nādir Shah
Nādr Qolī Beg took Herāt in 1732 after a desperate siege. Nādr was impressed by the courage of the Herātis and recruited many of them to serve in his army. He had himself elected shah of Persia, with the name Nādir Shah, in 1736.
In 1738, after a year’s siege, the city of Kandahār fell to Nādir Shah’s army of 80,000 men. Nādir Shah seized Ghazna and Kabul and occupied the Mughal capital at Delhi in 1739. His booty included the Koh-i-noor diamond and the Peacock Throne. He was assassinated at Fatḥābād, Iran, in 1747, which led to the disintegration of his empire and the rise of the last great Afghan empire.
The Durrānī dynasty
The commander of Nādir Shah’s 4,000-man Afghan bodyguard was Aḥmad Khan Abdālī, who returned to Kandahār and was elected shah by a tribal council. He adopted the title Durr-i Durrān (“Pearl of Pearls”). Supported by most tribal leaders, Aḥmad Shah Durrānī extended Afghan control from Meshed to Kashmir and Delhi, from the Amu Darya to the Arabian Sea. The Durrānī was the second greatest Muslim empire in the second half of the 18th century, surpassed in size only by the Ottoman.
Aḥmad Shah died in 1772 and was succeeded by his son, Tīmūr Shah, who received but nominal homage from the tribal chieftains. Much of his reign was spent in quelling their rebellions. Because of this opposition, Tīmūr shifted his capital from Kandahār to Kabul in 1776.
Zamān Shah (1793–1800)
After the death of Tīmūr in 1793, his fifth son, Zamān, seized the throne with the help of Sardār Pāyenda Khan, a chief of the Bārakzay. Zamān then turned to India with the object of repeating the exploits of Aḥmad Shah. This alarmed the British, who induced Fatḥ ʿAlī Shah of Persia to bring pressure on the Afghan king and divert his attention from India. The shah went a step further by helping Maḥmūd, governor of Herāt and a brother of Zamān, with men and money and encouraging him to advance on Kandahār. Maḥmūd, assisted by his vizier, Fatḥ Khan Bārakzay, eldest son of Sardār Pāyenda Khan, and by Fatḥ ʿAlī Shah, took Kandahār and advanced on Kabul. Zamān, in India, hurried back to Afghanistan. There he was handed over to Maḥmūd, blinded, and imprisoned (1800). The Durrānī empire had begun to disintegrate after 1798, when Zamān Shah appointed a Sikh, Ranjit Singh, as governor of Lahore.
Shah Maḥmūd (1800–03; 1809–18)
Shah Maḥmūd left affairs of state to Fatḥ Khan. Some of the chiefs who had grievances against the king or his ministers joined forces and invited Zamān’s brother Shah Shojāʿ (1803–09; 1839–42) to Kabul. The intrigue was successful. Shah Shojāʿ occupied the capital, and Maḥmūd sued for peace.
The new king, Shah Shojāʿ, ascended the throne in 1803. The chiefs had become powerful and unruly, and the outlying provinces were asserting their independence. The Sikhs of the Punjab were encroaching on Afghan territories from the east, while the Persians were threatening from the west.
Napoleon I, then at the zenith of his power in Europe, proposed to Alexander I of Russia a combined invasion of India. A British mission, headed by Mountstuart Elphinstone, met Shah Shojāʿ at Peshawar to discuss mutual defense against this threat, which never developed. In a treaty of friendship concluded June 7, 1809, the shah promised to oppose the passage of foreign troops through his dominions. Shortly after the mission left Peshawar, news was received that Kabul had been occupied by the forces of Maḥmūd and Fatḥ Khan. The troops of Shah Shojāʿ were routed, and the shah withdrew from Afghanistan and found asylum with the British at Ludhiāna, India, in 1815.
The rise of the Bārakzay
The Bārakzay were now dominant. This situation incited the jealousy of Kāmrān, Maḥmūd’s eldest son, who seized and blinded Fatḥ Khan. Later Shah Maḥmūd had him cut to pieces.