Out of the Samanid Dynasty came the first great Islamic empire in Afghanistan, the
Ghaznavid, whose warriors, raiding deep into the Indian subcontinent,
assured the domination of Sunni Islam in what is now Afghanistan,
Pakistan, and parts of India. The most renowned of the dynasty's rulers
was Mahmud, who consolidated control over the areas south of the Amu
Darya then carried out devastating raids into India--looting Hindu
temples and seeking converts to Islam. With his booty from India, he
built a great capital at Ghazni, founded universities, and patronized
scholars. Mahmud was recognized by the caliph in Baghdad as the temporal
heir of the Samanids. By the time of his death, Mahmud ruled the entire
Hindu Kush region as far east as the Punjab as well as territories far
north of the Amu Darya. However, as occurred so often in this region,
the demise in 1130 of this military genius who had expanded the empire
to its farthest reaches was the death knell of the dynasty itself. The
rulers of the Kingdom of Ghor, southeast of Herat, captured and burned
Ghazni, just as the Ghaznavids had once conquered Ghor. Not until 1186,
however, was the last representative of the Ghaznavids uprooted by the
Ghorids from his holdout in the Punjab.
The Ghorids controlled most of
what is now Afghanistan, eastern Iran, and Pakistan, while parts of
central and western Iran were ruled by the Seljuk Turks. Around 1200,
most Ghorid lands came into the hands of the Khwarazm Turks who had
invaded from Central Asia across the Amu Darya.
Mongol Rule, 1220-1506
In 1220, the
Islamic lands of Central Asia were overrun by the armies of the Mongol
invader Genghis Khan (ca. 1155-1227), who laid waste to many
civilizations and created an empire that stretched from China to the
Caspian Sea. But he failed to destroy the strength of Islam in Central
Asia. In fact, by the end of the thirteenth century, Genghis Khan's
descendants had themselves become Muslims. From the death of Genghis
Khan in 1227 until the rise of Timur (Tamerlane) in the 1380s, Central
Asia went through a period of fragmentation.
A product of both Turkish
and Mongol descent, Timur claimed Genghis Khan as an ancestor. From his
capital of Samarkand, Timur created an empire that, by the late
fourteenth century, extended from India to Turkey. The turn of the
sixteenth century brought an end to Timurid Empire when another
Mongol-Turkish ruler overwhelmed the weak Timurid ruler in Herat.
Muhammad Shaybani (also a descendant of Genghis Khan) and his successors
ruled the area around the Amu Darya for about a century, while to the
south and west of what is now Afghanistan two powerful dynasties began
to compete for influence.
Mughal-Safavid Rivalry, ca. 1500-1747
Early in the sixteenth century, Babur, who was descended from Timur on
his father's side and from Genghis Khan on his mother's, was driven out
of his father's kingdom in the Ferghana Valley (which straddles
contemporary Uzbekistan, Tajikistan and Kyrgyzstan) by the Shaybani
Uzbeks, who had wrested Samarkand from the Timurids. After several
unsuccessful attempts to regain Ferghana and Samarkand, Babur crossed
the Amu Darya and captured Kabul from the last of its Mongol rulers in
1504. In his invasion of India in 1526, Babur's army of 12,000 defeated
a less mobile force of 100,000 at the First Battle of Panipat, about
forty-five kilometers northwest of Delhi. Although the seat of the great
Mughal Empire he founded was in India, Babur's memoirs stressed his love
for Kabul--both as a commercial strategic center as well as a beautiful
highland city with an "extremely delightful" climate.
Although Indian
Mughal rule technically lasted until the nineteenth century, its days of
power extended from 1526 until the death of Babur's
great-great-great-grandson, Aurangzeb in 1707. The Mughals originally
had come from Central Asia, but once they had taken India, the area that
is now Afghanistan was relegated to a mere outpost of the empire.
Indeed, during the sixteenth and seventeenth centuries, most of the
Hindu Kush area was hotly contested between the Mughals of India and the
powerful Safavids of Iran. Just as Kabul dominates the high road from
Central Asia into India, Qandahar commands the only approach to India
that skirts the Hindu Kush. The strategically important Kabul-Qandahar
axis was the primary forces of competition between the Mughals and the
Safavids, and Qandahar itself changed hands several times during the
sixteenth and seventeenth centuries. The Safavids and the Mughals were
not the only contenders, however. Less powerful but closer at hand were
the Uzbeks of Central Asia, who fought for control of Herat in western
Afghanistan and for the northern regions as well where neither the
Mughals nor the Safavids were in strength.
The Mughals sought not only to block the historical western invasion
routes into India but also to control the fiercely independent tribes
who accepted only nominal control from Delhi in their mountain
strongholds between the Kabul-Qandahar axis and the Indus
River--especially in the Pashtun area of the Suleiman mountain range. As
the area around Qandahar changed hands back and forth between the two
great empires on either side, the local Pashtun tribes exploited the
situation to their advantage by extracting concessions from both sides.
By the middle of the seventeenth century, the Mughals had abandoned the
Hindu Kush north of Kabul to the Uzbeks, and in 1748 they lost Qandahar
to the Safavids for the third and final time.
Toward the end of the seventeenth century, as the power of both the
Safavids and the Mughals waned, new groups began to assert themselves in
the Hindu Kush area. Early in the eighteenth century, one of the Pashtun
tribes, the Hotaki, seized Qandahar from the Safavids, and a group of
Ghilzai Pashtuns subsequently made greater inroads into Safavid
territory. The Ghilzai Pashtuns even managed briefly to hold the Safavid
capital of Isfahan, and two members of this tribe ascended the throne
before the Ghilzai were evicted from Iran by a warrior, Nadir Shah, who
became known as the "Persian Napoleon."
Nadir Shah conquered Qandahar and Kabul in 1738 along with defeating
a great Mughal army in India, plundering Delhi, and massacring thousands
of its people. He returned home with vast treasures, including the
Peacock Throne, which thereafter served as a symbol of Iranian imperial
might.
AHMAD SHAH AND THE DURRANI EMPIRE
From Nadir Shah's death
in 1747 until the communist coup of April 1978, Afghanistan
was governed--at least nominally--by Pashtun rulers from the
Abdali group of clans. Indeed, it was under the leadership of the first
Pashtun ruler, Ahmad Shah, that the nation of Afghanistan began to take
shape following centuries of fragmentation and exploitation. Even before
the death of Nadir Shah, tribes in the Hindu Kush had been growing
stronger and were beginning to take advantage of the waning power of
their distant rulers. Two lineage groups within the Abdali ruled
Afghanistan from 1747 until the downfall of the monarchy in the
1970s--the Sadozai of the Popalzai tribe, and the Muhammadzai of the
Barakzai tribe.
In 1747 Ahmad Shah and his Abdali horsemen joined the
chiefs of the Abdali tribes and clans near Qandahar to choose a leader.
Despite being younger than other claimants, Ahmad had several overriding
factors in his favor. He was a direct descendant of Sado, eponym of the
Sadozai; he was unquestionably a charismatic leader and seasoned warrior
who had at his disposal a trained, mobile force of several thousand
cavalrymen; and he possessed part of Nadir Shah's treasury.
One of Ahmad Shah's first acts as chief was to adopt the title "Durr-i-Durrani"
("pearl of pearls" or "pearl of the age"), which may have come from a
dream or from the pearl earrings worn by the royal guard of Nadir Shah.
The Abdali Pashtuns were known thereafter as the Durrani.
Ahmad Shah began by capturing Ghazni from the Ghilzai Pashtuns, and
then wresting Kabul from the local ruler. In 1749 the Mughal ruler ceded
sovereignty over Sindh Province and the areas of northern India west of
the Indus to Ahmad Shah in order to save his capital from Afghan attack.
Ahmad Shah then set out westward to take possession of Herat, which was
ruled by Nadir Shah's grandson, Shah Rukh. Herat fell to Ahmad after
almost a year of siege and bloody conflict, as did Mashhad (in
present-day Iran). Ahmad next sent an army to subdue the areas north of
the Hindu Kush. In short order, the powerful army brought under its
control the Turkmen, Uzbek, Tajik, and Hazara tribes of northern
Afghanistan (see Ethnic Groups, ch. 2). Ahmad invaded India a third,
then a fourth, time, taking control of the Punjab, Kashmir, and the city
of Lahore. Early in 1757, he sacked Delhi, but permitted the Mughal
Dynasty to remain in nominal control as long as the ruler acknowledged
Ahmad's suzerainty over the Punjab, Sindh, and Kashmir. Leaving his
second son Timur in charge, Ahmad left India to return to Afghanistan.
The collapse of Mughal control in India, however, also facilitated
the rise of rulers other than Ahmad Shah. In the Punjab, the Sikhs were
becoming a potent force. From their capital at Pune, the Marathas,
Hindus who controlled much of western and central India, were beginning
to look northward to the decaying Mughal empire, which Ahmad Shah now
claimed by conquest. Upon his return to Qandahar in 1757, Ahmad faced
Maratha attacks which succeeded in ousting Timur and his court in India.
Ahmad Shah declared an Islamic holy war against the Marathas, and
warriors from various Pashtun tribes, as well as other tribes such as
the Baloch, answered his call. Early skirmishes ended in victory for the
Afghans, and by 1759 Ahmad and his army had reached Lahore. By 1760 the
Maratha groups had coalesced into a great army. Once again Panipat was
the scene of a confrontation between two warring contenders for control
of northern India. The Battle of Panipat in 1761 between Muslim and
Hindu armies who numbered as many as 100,000 troops each was fought
along a twelve-kilometer front. Despite decisively defeating the
Marathas, what might have been Ahmad Shah's peaceful control of his
domains was disrupted by other challenges.
The victory at Panipat was the high point of Ahmad Shah's--and
Afghan--power. Afterward, even prior to his death, the empire began to
unravel. By the end of 1761, the Sikhs had gained power and taken
control of much of the Punjab. In 1762 Ahmad Shah crossed the passes
from Afghanistan for the sixth time to subdue the Sikhs. He assaulted
Lahore and, after taking their holy city of Amritsar, massacred
thousands of Sikh inhabitants, destroying their temples and desecrating
their holy places with cow's blood. Within two years the Sikhs rebelled
again. Ahmad Shah tried several more times to subjugate the Sikhs
permanently, but failed. By the time of his death, he had lost all but
nominal control of the Punjab to the Sikhs, who remained in charge of
the area until the British defeat in 1849.
Ahmad Shah also faced other rebellions in the north, and eventually
he and the amir of Bukhara agreed that the Amu Darya would mark the
division of their lands. In 1772 Ahmad Shah retired to his home in the
mountains east of Qandahar, where he died. Ahmad Shah had succeeded to a
remarkable degree in balancing tribal alliances and hostilities and in
directing tribal energies away from rebellion. He earned recognition as
Ahmad Shah Baba, or "Father" of Afghanistan (fig. _, Ahmad Shah
Durrani's Empire, 1762).
By the time of Ahmad Shah's ascendancy, the Pashtuns included many
groups whose origins were obscure; most were believed to have descended
from ancient Aryan tribes, but some, such as the Ghilzai, may have once
been Turks (see Ethnic Groups, ch. 2). They had in common, however,
their Pashtu language. To the east, the Waziris and their close
relatives, the Mahsuds, had lived in the hills of the central Suleiman
Range since the fourteenth century. By the end of the sixteenth century
and the final Turkish-Mongol invasions, tribes such as the Shinwaris,
Yusufzais, and Mohmands had moved from the upper Kabul River Valley into
the valleys and plains west, north, and northeast of Peshawar. The
Afridis had long been established in the hills and mountain ranges south
of the Khyber Pass. By the end of the eighteenth century, the Durranis
had blanketed the area west and north of Qandahar.
Ahmad Shah's successors governed so ineptly during a period of
profound unrest that within fifty years of his death, Afghanistan was
embroiled in a civil war. Many of the territories conquered with the
help of Ahmad Shah's military skill fell to others in this half century.
By 1818 the Sadozai rulers who succeeded Ahmad Shah controlled little
more than Kabul and the surrounding territory within a 160-kilometer
radius. They not only lost the outlying territories but also alienated
other tribes and lineages among the Durrani Pashtuns.
After the death of Ahmad Shah's successor, Timur, the three strongest
contenders for the position of shah were Timur's sons, the governors of
Qandahar, Herat, and Kabul. Muhammad Zeman, governor of Kabul, was in
the most commanding position and became shah at the age of twenty-three.
His half-brothers accepted this only by force majeure--upon being
imprisoned on their arrival in the capital for the purpose, ironically,
of electing a new shah. The quarrels among Timur's descendants that
threw Afghanistan into turmoil also provided the pretext for the
intervention of outside forces.
The efforts of the Sadozai heirs of Timur to impose a true monarchy
on the truculent Pashtun tribes and to rule absolutely and without the
advice of the other, larger Pashtun tribes' leaders were ultimately
unsuccessful. The Sikhs too, were particularly troublesome, and after
several unsuccessful efforts to subdue them, Zeman made the mistake of
appointing a forceful young Sikh chief, Ranjit Singh, as his governor in
the Punjab. The "one-eyed" warrior would later become an implacable
enemy of Pashtun rulers in Afghanistan.
Zeman's downfall was triggered by his attempts to consolidate power.
Although it had been through the support of the Muhammadzai chief,
Painda Khan, that he had come to the throne, Zeman soon began to remove
prominent Muhammadzai leaders from positions of power and replacing them
with men of his own lineage, the Sadozai. This upset the delicate
balance of Durrani tribal politics that Ahmad Shah had established and
may have prompted Painda Khan and other Durrani chiefs to plot against
the shah. Painda Khan and the chiefs of the Nurzai and the Alizai
Durrani clans were executed, as was the chief of the Qizilbash clan.
Painda Khan's son fled to Iran and pledged the substantial support of
his Muhammadzai followers to a rival claimant to the throne, Zeman's
older brother, Mahmud. The clans of the chiefs Zeman had executed joined
forces with the rebels, and they took Qandahar without bloodshed.
Zeman's overthrow in 1800 was not the end of civil strife in
Afghanistan but the beginning of even greater violence. Shah Mahmud
reigned for a mere three years before being replaced by yet another of
Timur Shah's sons, Shuja, who ruled for only six years, from 1803 to
1809. On June 7, 1809, Shuja signed a Treaty of Friendship with the
British which included a clause stating that he would oppose the passage
of foreign troops through his territories. This agreement, the first
Afghan pact with a European power, stipulated joint action in case of
Franco-Persian aggression against Afghan or British dominions. Only a
few weeks after signing the agreement, Shuja was deposed by his
predecessor, Mahmud, whose second reign lasted nine years, until 1818.
Mahmud alienated the Muhammadzai, especially Fateh Khan, the son of
Painda Khan, who was eventually seized and blinded. Revenge would later
be sought and obtained by Fateh Khan's youngest brother, Dost Mohammad.
From 1818 until Dost Mohammad's ascendancy in 1826, chaos reigned in
the domains of Ahmad Shah Durrani's empire as various sons of Painda
Khan struggled for supremacy. Afghanistan ceased to exist as a single
nation, disintegrating for a brief time into a fragmented collection of
small units, each ruled by a different Durrani leader.