Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Muslim conquests of Afghanistan
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|7th to 19th-century Muslim conquests in present-day Afghanistan}} {{History of Afghanistan}} {{Islam}} {{Campaignbox Early Muslim Expansions}} [[File:Minaret of jam 2009 ghor.jpg|thumb|250px|[[Minaret of Jam]] built by the [[Ghurid dynasty]]]] The '''Muslim conquests of Afghanistan''' began during the [[Muslim conquest of Persia]] as the [[Arab Muslims]] expanded eastwards to [[Greater Khorasan|Khorasan]], [[Sistan]] and [[Transoxiana]]. Fifteen years after the [[battle of Nahāvand]] in 642 AD, they controlled all [[Sassanid Empire|Sasanian]] domains except in Afghanistan.<ref name=Hind/> Fuller [[Islamization]] was not achieved until the period between 10th and 12th centuries under [[Ghaznavid]] and [[Ghurid dynasty|Ghurid]] dynasties who patronized Muslim religious institutions.<ref>{{cite book|url=https://books.google.com/books?id=g6swDwAAQBAJ&pg=PA39|title=Afghanistan's Islam: From Conversion to the Taliban|author=Nile Green|pages=39|publisher=[[Cambridge University Press]]|isbn=9780520294134|year=2017}}</ref> [[Greater Khorasan|Khorasan]] and [[Sistan]], where [[Zoroastrianism]] was well-established, were conquered.<ref name=Green>{{cite book|url=https://books.google.com/books?id=g6swDwAAQBAJ&pg=PA46|title=Afghanistan's Islam: From Conversion to the Taliban|author=Nile Green|pages= 44, 46–47|publisher=[[Cambridge University Press]]|isbn=9780520294134|year=2017}}</ref> The Arabs had begun to move towards the lands east of [[Persia]] in the 7th century.<ref name="Bosworth153">''Historic Cities of the Islamic World'', ed. C.E. Bosworth, (Brill, 2007), 153.</ref> The Muslim frontier in modern Afghanistan had become stabilized after the first century of the [[Lunar Hijri calendar]] as the relative importance of the Afghan areas diminished.<ref name=André/> From historical evidence, it appears [[Tokharistan]] (Bactria) was the only area conquered by Arabs where [[Buddhism]] heavily flourished.<ref name=Musk/> [[Balkh]]'s final conquest was undertaken by [[Qutayba ibn Muslim]] in 705.<ref name=Gibb32/> The eastern regions of [[Afghanistan]] were at times considered [[Greater India|politically as parts of India]].<ref name="Lal1979">{{cite book |last1=Mehta |first1=Jaswant Lal |title=Advanced Study in the History of Medieval India |url=https://archive.org/details/dli.bengal.10689.12598 |date=1979 |publisher=Sterling Publishers |isbn=9788120706170 |page=[https://archive.org/details/dli.bengal.10689.12598/page/n55 31] |language=en |quote=Modern Afghanistan was part of ancient India; the Afghans belonged to the pale of Indo-Aryan civilisation. In the eighty century, the country was known by two regional names—Kabul land Zabul. The northern part, called Kabul (or Kabulistan) was governed by a Buddhist dynasty. Its capital and the river on the banks of which it was situated, also bore the same name. Lalliya, a Brahmin minister of the last Buddhist ruler Lagaturman, deposed his master and laid the foundation of the Hindushahi dynasty in c. 865.}}</ref><ref name="Chandra2006">{{cite book |last1=Chandra |first1=Satish |title=Medieval India: From Sultanat to the Mughals |date=2006 |publisher=Har-Anand Publications |isbn=9788124110669 |page=41 |language=en |quote=Although Afghanistan was considered an integral part of India in antiquity, and was often called "Little India" even in medieval times, politically it had not been a part of India after the downfall of the Kushan empire, followed by the defeat of the Hindu Shahis by Mahmud Ghazni.}}</ref> [[Buddhism and Hinduism]] held sway over the region until the Muslim conquest.<ref name=Unwin>{{cite book|title=The History and Culture of the Indian People: The Age of Imperial Unity|author=Ramesh Chandra Majumdar|publisher=G. Allen & Unwin|year=1951|page=635|author-link=Ramesh Chandra Majumdar}}</ref> [[Kabul]] and [[Zabulistan]] which housed Buddhism and other [[Indian religions]], offered stiff resistance to the early Muslim advance.<ref name=Green/> Nevertheless, the Arab [[Umayyad Caliphate|Umayyads]] regularly claimed nominal overlordship over the Zunbils and Kabul Shahis. <ref name="JLL167">{{cite journal |last1=Lee |first1=Jonathan L. |last2=Sims Williams |first2=Nicholas |title=Bactrian Inscription from Yakawlang sheds new light on history of Buddhism in Afghanistan |journal=Silk Road Art and Archaeology |date=2003 |volume=9 |url=https://www.academia.edu/4091971 |language=en|page=167}}</ref> The expeditions of Caliph [[Al-Ma'mun]] (r. 813–833 AD) were the last by the Arabs on Kabul and Zabul.<ref name=Majumdar1/> The king of Kabul was captured by him and converted to Islam.<ref name=ba1>{{cite book|url=https://books.google.com/books?id=883OZBe2sMYC&pg=PA470|title=History of Civilizations of Central Asia: The crossroads of civilizations, A.D. 250 to 750|author=Ahmad Hasan Dani, B.A. Litvinsky|publisher=UNESCO|page=470|isbn=9789231032110|date=January 1996}}</ref> The last Zunbil was killed by [[Ya'qub ibn al-Layth al-Saffar|Ya'qub bin al-Layth]] along with his former overlord Salih b. al-Nadr in 865.<ref name=Bayne/> Meanwhile, the Hindu Shahi of Kabul were defeated under [[Mahmud of Ghazni]].<ref name="Afghanistan Page 15"/> Indian soldiers were a part of the Ghaznavid army<ref name=Fadl/> and the 14th-century Muslim scholar [[Ibn Battuta]] described the [[Hindu Kush]] as meaning "slayer of Indians", because large numbers of slaves brought from [[Indian subcontinent|India]] died from its treacherous weather.<ref name=Ransom/> The geographer [[Ya'qubi]] states that the rulers of [[Bamiyan]], called the ''Sher'', converted in the late 8th century. Ya'qub is recorded as having plundered its pagan idols in 870 while a much later historian [[Shabankara'i]] claims that [[Alp-Tegin]] obtained conversion of its ruler in 962.<ref name=monasteries/> No permanent Arab control was established in [[Ghur]]<ref name=Variorum/> and it became Islamised after Ghaznavid [[Razzia (military)|raids]].<ref name= "Satish2"/> By the time of [[Bahram-Shah of Ghazna|Bahram-Shah]], Ghur was converted and politically united.<ref name=Habib/> The [[Pashtuns|Pashtun]] habitat during their conquest by Mahmud was located in the [[Sulaiman Mountains]] in the south of Afghanistan.<ref name=Ninhar/> Prior to Pashtun settlement in the Kabul River valley, [[Tajiks]] formed the dominant population of [[Kabul]], [[Nangarhar]], [[Logar province|Logar Valley]] and [[Laghman Province|Laghman]] in east Afghanistan.<ref>Harlan 1939:127</ref> The Pashtuns later began settling westward from Sulaiman Mountains in the south, and displaced or subjugated the indigenous populations such as Tajiks, [[Hazaras]], the [[Farsiwan]]is, [[Nuristanis]] and [[Pashayi people]] before or during 16th and 17th centuries.<ref name=DostMuhammad/> Before their conversion, the Nuristanis or ''Kafir'' people of [[Kafiristan]] practiced a form of [[ancient Hinduism]] infused with locally developed accretions.<ref name="nuristan.info"/> The region from [[Nuristan]] to [[Kashmir]] was host to a vast number of "Kafir" cultures.<ref name=academia/> They remained politically independent until being conquered and converted under Afghan Amir [[Abdul Rahman Khan]] in 1895–1896.<ref name=Pellat/> ==Arab conquests and rule== {{see also|Rashidun Caliphate|Umayyad Caliphate|Abbasid Caliphate|Muslim conquest of Persia}} [[File:Ancient Khorasan highlighted.jpg|thumb|left|Names of territories during the [[Caliphate]]]] During the [[Muslim conquest of Persia]], the [[Arab people|Arabs]] were drawn eastwards from the Iraqi plains to central and eastern Persia, then to [[Media (region)|Media]], into [[Greater Khorasan|Khorasan]], [[Sistan]] and [[Transoxiana]]. 15 years after the [[Battle of Nahāvand]], the Arabs controlled all Sasanian domains except some parts of Afghanistan, Tabaristan and [[Makran]].<ref name=Hind>{{cite book|url=https://books.google.com/books?id=g2m7_R5P2oAC|title=Al- Hind: The slave kings and the Islamic conquest. 2|author=André Wink|page=120|publisher=[[Brill Publishers]]|isbn=0391041738|year=2002}}</ref> [[Nancy Dupree]] states that advancing Arabs carrying the religion of Islam easily took over Herat and Sistan, but the other areas often revolted and converted back to their old faiths whenever the Arab armies withdrew. The harshness of the Arab rule caused the native dynasties to revolt after the Arab power weakened like the Saffarids founded by the zealous [[Ya'qub ibn al-Layth al-Saffar|Yaqub]] who conquered many cities of the region.<ref name="Dupree">[[Nancy Dupree|Dupree, Nancy]] (1971) "Sites in Perspective (Chapter 3)" ''An Historical Guide To Afghanistan'' Afghan Tourist Organization, Kabul, [http://worldcat.org/oclc/241390 OCLC 241390]</ref> Historian Cameron A. Petrie states that while the Arab expansion had both social and religious motives, it was their extraction of taxes from the subjugated people that invited the numerous local rebellions.<ref>{{cite book|url=https://books.google.com/books?id=Y7QWEAAAQBAJ&pg=PA68|title=Resistance at the Edge of Empires: The Archaeology and History of the Bannu basin from 1000 BC to AD 1200|page=68|publisher=Cambridge University Press|author=Cameron A. Petrie|isbn=9781785703065|date=2020-12-28}}</ref> Medieval Islamic scholars divided modern-day Afghanistan into two regions – the provinces of Khorasan and Sistan. Khorasan was the eastern [[satrapy]] of the [[Sasanian Empire]], containing Balkh and Herat. Sistan included a number of Afghan cities and regions including [[Ghazni]], [[Zarang]], [[Lashkargah|Bost]], [[Qandahar]] (also called [[Arachosia|al-Rukhkhaj]] or [[Zamindawar]]), [[Kabul]], [[Kabulistan]] and [[Zabulistan]].<ref>{{cite book|url=https://books.google.com/books?id=g6swDwAAQBAJ&pg=PA43|title=Afghanistan's Islam: From Conversion to the Taliban|author=Nile Green|pages=43, 44|publisher=[[Cambridge University Press]]|isbn=9780520294134|year=2017}}</ref> Before Muslim rule, the regions of [[Balkh]] ([[Bactria]] or ''[[Tokharistan]]''), [[Herat]] and Sistan were under Sasanian rule. Further south in Balkh region, in [[Bamiyan]], indication of Sasanian authority diminishes, with a local dynasty apparently ruling from the [[late antiquity]], probably [[Hepthalite]]s subject to the [[Yabgu]] of [[Western Turkic Khaganate|Western Turks]]. While Herat was controlled by Sasanians, its hinterlands were controlled by northern Hepthalites who continued to rule the [[Ghur]]id mountains and river valleys. The Arab [[Umayyad Caliphate|Umayyads]] regularly claimed nominal overlordship over the Zunbils and Kabul Shahis, and in 711 [[Qutayba ibn Muslim]] managed to force them to pay tribute.<ref name="JLL167"/> They would also be conquered by the [[Saffarids]] and [[Ghaznavids]].<ref name=Green/> In Afghanistan, the frontier of the Islamic conquest had become more or less stationary by the end of the first century of Hijri calendar. One reason was that the relative importance of Sistan and [[Baluchistan]] had begun to diminish by the time of [[Mu'awiya I]], when the conquests of Bactria and Transoxiana were undertaken. In addition, the conquest in the eastern direction was extended to [[Makran]] and [[Sind]], with Muslim colonies becoming established there in 711–12.<ref name=André>{{cite book|url=https://books.google.com/books?id=bCVyhH5VDjAC&pg=PA121|title=Al- Hind: The slave kings and the Islamic conquest. 2|author=André Wink|page=120|publisher=[[Brill Publishers]]|isbn=9004095098|date=June 1991}}</ref> ===Sistan=== {{main|Muslim conquest of Sistan}} [[Image:Sakastan Sasanian era.png|thumb|300px|right|Map of [[Sakastan]] under the [[Sasanian Empire]].]] The earlier Arabs called Sistan as ''Sijistan'', from the [[Middle Persian|Persian]] word ''Sagestan''. It is a lowland region, lying round and eastwards from the [[Godzareh Depression|Zarah lake]], which includes deltas of [[Helmand River|Helmand]] and other rivers which drain into it.<ref>{{cite book|url=https://books.google.com/books?id=UJqxGH_QuXcC&pg=PA334|title=The Lands of the Eastern Caliphate|author=Guy Le Strange|publisher=[[Cambridge University Press]]|page=334|author-link=Guy Le Strange|isbn=9781107600140|date=2011-06-16}}</ref> The Muslim conquest of Sistan began in 23 [[Hijri year|AH]] (643-644 AD) when [[Asim ibn 'Amr al-Tamimi|Asim bin Amr]] and [[Abdallah ibn Amir]] invaded the region and besieged Zaranj. The Sistanis concluded a treaty with Muslims, mandating them to pay the [[kharaj]].<ref>{{cite journal|journal=Proceedings of the Indian History Congress|volume= 59|title=Sistan's transition to Islam in historical perspective|page=914|publisher=[[Indian History Congress]]|first=Hamiddulah|last=Marazi}}</ref> The cash-strapped [[Sasanian Empire|Sasanian]] king [[Yazdegerd III]] who had a large retinue, had fled to [[Carmania (region)|Kerman]] in 650. He had to flee from Kerman to Sistan after his arrogance angered the [[marzban]] of the place, eluding an Arab force from [[Basra]] which defeated and killed the marzban. Yazdegerd lost the support of governor of Sistan after demanding taxes from him and had to leave for [[Merv]].<ref name=Daryaee/> It is not known whether this governor was a Sasanian prince or a local ruler at that time. The Arabs had campaigned in Sistan a few years earlier and Abdallah b. Amir had now gone in pursuit of Yazdegerd. He arrived in Kirman in 651 and sent a force under [[Rabi ibn Ziyad al-Harithi]] to Sistan.<ref name=Frye>{{cite book|url=https://books.google.com/books?id=hvx9jq_2L3EC&pg=PA24|title=The Cambridge History of Iran, Volume 4|author=Richard N. Frye|page=24|publisher=[[Cambridge University Press]]|author-link=Richard N. Frye|isbn=9780521200936|date=1975-06-26}}</ref> Rabi crossed the desert between Kirman and Sistan, reaching the fortress of Zilaq which was within five [[Parasang|farsangs]] of the Sistan frontier. The fort was surrendered by its [[dihqan]].<ref name=Frye/> The fortress of Karkuya, whose [[fire temple]] is mentioned in the anonymously authored ''[[Tarikh-i Sistan|Tarikh-e-Sistan]]'', along with Haysun and Nashrudh, surrendered to Rabi.<ref name=Daryaee>{{cite book|url=https://books.google.com/books?id=Jxd2Zr9Ilw8C&pg=PA214|title=The Oxford Handbook of Iranian History|author=Touraj Daryaee|page=214|publisher=[[Oxford University Press]]|author-link=Touraj Daryaee|isbn=9780199732159|date=2012-02-16}}</ref><ref name=Frye/> Rabi then encamped in Zaliq and projected the seizure of Zarang, which though had earlier submitted to Arabs, needed to be subdued again. Although its marzban [[Aparviz of Sakastan|Aparviz]] put up a strong resistance, he was forced to surrender.<ref name=Frye/> The Zaranj forces had received heavy casualties during the battle with Arab forces and were driven back to the city.<ref name=Daryaee/> According to sources, when Aparviz appeared before Rabi to discuss the terms, he found the Arab general was sitting on a chair made out of two dead soldiers and his entourage had been instructed to make seats and bolsters in the same fashion. Aparviz was terrified into submission and wished to spare his people of this fate. A peace treaty was concluded with payment of heavy dues.<ref name=Frye/> The treaty mandated one million [[dirhams]] as annual tribute, in addition to 1,000 slave boys bearing 1,000 gold vessels. The city was also garrisoned by Rabi.<ref name=Daryaee/> Rabi thus succeeded in gaining Zarang with considerable difficulty and remained at the place for several years. Two years later, the people of Zarang rebelled and expelled Rabi's lieutenant and garrison. Abdallah b. Amir sent 'Abd ar-Rahman b. Samura to take back the city, who also added [[Lashkar Gah|Bust]] and [[Zabul]] to Arab gains.<ref name=Frye/> 'Abd ar-Rahman besieged Zaranj and after the marzban surrendered, the tribute was doubled.<ref name=Doryajee1>{{cite book|url=https://books.google.com/books?id=Jxd2Zr9Ilw8C&pg=PA216|title=The Oxford Handbook of Iranian History|author=Touraj Daryaee|pages=216|publisher=[[Oxford University Press]]|author-link=Touraj Daryaee|isbn=9780199732159|date=2012-02-16}}</ref> The tribute imposed on Zarang was 2 million dirhams and 2,000 slaves.<ref name=Shaban28>{{cite book|url=https://books.google.com/books?id=1_03AAAAIAAJ&pg=PA28|title=The Abbasid Revolution|author=M.A. Shaban|pages=28|publisher=[[Cambridge University Press]]|isbn=9780521295345|date=1979-03-08}}</ref> During the period of the [[First Fitna|first civil war]] in the Arab caliphate (656–661), rebels in Zarang imprisoned their governor while Arab bandits started raiding remote towns in Sistan to enslave people.<ref name=Doryajee1/> They gave in to the new governor Rib'i, who took control of the city and restored law and order.<ref>{{cite book|title=Central Asia|publisher=Area Study Centre (Central Asia), [[University of Peshawar]]|page=87|year=1979}}</ref> 'Abdallah b. Amir was made the governor of Basra and its eastern dependencies again from 661 to 664. Samura was sent back to Sistan in 661.<ref>{{cite book|url=https://books.google.com/books?id=K-poAgAAQBAJ&pg=PA217|title=The Oxford Handbook of Iranian History|author=Touraj Daryaee|page=217|publisher=[[Oxford University Press]]|author-link=Touraj Daryaee|isbn=9780199875757|date=2011-09-05}}</ref> An expedition to Khorasan was sent under him that included reputed leaders like [[Umar ibn Ubayd Allah ibn Ma'mar|Umar b. 'Ubaydillah b. Ma'mar]], 'Abdullah b. Khazim, [[Qatari ibn al-Fuja'a|Qatariyy b. al-Fuja'a]] and [[Al-Muhallab ibn Abi Sufra]].<ref name=Shaban28/> Samura reconquered Zarang, while also conquering the region between Zarang and Kisht, [[Arachosia]], [[Zamindawar]], Bust and Zabul.<ref>{{cite book|url=https://books.google.com/books?id=xeK9w9P0sBQC&pg=PA139|title=World Religions and Islam: A Critical Study, Part 1|author=Hamid Naseem Rafiabadi|page=139|publisher=Sarup & Sons|isbn=9788176254144|year=2003}}</ref> [[Ziyad ibn Abihi]] was appointed governor of Basra in 664 and was also made governor of Kufa and its dependencies in 670, making him the viceroy of the entire eastern half of the Islamic empire. He sent his kinsman Ubaydallah b. Abi Bakra to destroy the Zoroastrian [[fire temples]] in [[Fars province|Fars]] and Sistan, confiscate their property and kill their priests. While the fire temple of [[Karyan, Fars|Kariyan]] was destroyed, the one at Karkuya survived along with its [[herbad]].<ref name=Daryee217>{{cite book|url=https://books.google.com/books?id=K-poAgAAQBAJ&pg=PA217|title=The Oxford Handbook of Iranian History|author=Touraj Daryaee|pages=217|publisher=[[Oxford University Press]]|author-link=Touraj Daryaee|isbn=9780199875757|date=2011-09-05}}</ref> Ziyad's son [[Abbad ibn Ziyad|Abbad]] was appointed governor of Sijistan by [[Mu'awiya I]] in 673 and served until 681.<ref name="Zetterstéen5">{{EI2|article=ʿAbbād b. Ziyād|last=Zetterstéen|first=K. V.|volume=1|page=5}}</ref> During the course of his governorship, the province apparently remained stable and Abbad led an eastward expedition which brought [[Kandahar]] to the caliphate.<ref name="Zetterstéen5"/> Caliph [[Yazid I]] replaced Abbad with his brother [[Salm ibn Ziyad|Salm]], who was already governor of Khurasan.<ref name="Zetterstéen5"/> ===Khorasan=== {{main|Muslim conquest of Khorasan}} [[File:Transoxiana 8th century.svg|thumb|300px|[[Greater Khorasan|Khorasan]], [[Transoxiana]] and [[Tokharistan]] in the 8th century]] There is general agreement among Arabic sources that Khorasan's conquest began in the reign of [[Uthman]] under Abdallah b. Amir, who had been appointed the governor of Basra (r. 649–655). [[Sayf ibn Umar|Sayf]]'s tradition however disagrees with this, dating it to 639 under the reign of [[Umar]] with [[Ahnaf ibn Qais]] leading the expedition. [[Al-Tabari]] meanwhile relates that Ahnaf's conquests occurred in 643. This could be because of confusion of Ahnaf's later activities under Ibn Amir and an attempt to magnify his role in Khorasan's conquest.<ref>{{cite book|url=https://books.google.com/books?id=1_03AAAAIAAJ&pg=PA16|title=The 'Abbāsid Revolution|page=16|publisher=Cambridge University Press|author=M. A. Shaban|isbn=9780521295345|date=1979-03-08}}</ref> The conquest of southern Persia was completed by 23 AH with Khorasan remaining the only region remaining unconquered. Since the Muslims did not want any Persian land to remain under Persian rule, Umar ordered Ahnaf b. Qais to march upon it. After capturing the towns of [[Tabas]] and [[Ferdows|Tun]], he attacked the region's easternmost city [[Herat]]. The Persians put up stiff resistance but were defeated and surrendered. A garrison was deployed in the city, while a column was detached which subjugated [[Nishapur]] and [[Tus, Iran|Tus]].<ref name=AIAkram>{{cite book|title=The Muslim Conquest of Persia|publisher=Maktabah Booksellers and Distributors|author=Agha Ibrahim Akram|pages=280, 281|author-link=Agha Ibrahim Akram}}</ref> Umar had dispatched Ahnaf with 12,000 men from Kufa and Basra after Yazdegerd who had fled to Merv. After the Arabs arrived there, Yazdegerd fled to [[Marw al-Rudh]] from where he sent ambassadors to the [[Khakan]] of the [[Western Turkic Khaganate|Turks]], the ruler of [[Sogdia|Soghd]] and the Chinese emperor, asking for their assistance. Yazdegerd later fled to Balkh, where he was defeated by the Arabs and fled across [[Oxus River]].<ref name=Bombay/> Umar forbade Ahnaf from crossing the river as the land beyond it was unknown to Arabs and was very far for them.<ref name=AIAkram/> Yazdegerd proceeded to Soghd whose ruler supplied him with a large army. The Khaqan of Turks after assembling the troops from [[Ferghana]], crossed the Oxus along with Yazdegerd and marched to Balkh. Ribi' b. Amir meanwhile retired with Kufan troops to Marw al-Rudh where he joined al-Ahnaf.<ref name=Bombay/> The Sasanian king and the Khakan leading an army of 50,000 cavalry composed of men from Soghd, [[Turkestan]], Balkh and [[Tokharistan]], arrived at Marw al-Rudh. Ahnaf had an army of 20,000 men. The two sides fought each other from morning till evening for two months at a place called Deir al-Ahnaf.<ref name=Bombay/> The fighting at Deir al-Ahnaf went on until Ahnaf, after being informed of a Turkic chief inspecting the outposts, went there during a particular night and successively killed three Turkic chiefs during their inspection. After learning of their deaths, the Khakan became afflicted by it and withdrew to Balkh, then he withdrew across the river to Turkestan. Yazdegerd meanwhile left from Marw al-Rudh to Merv, from where he took his empire's wealth and proceeded to Balkh to join the Khakan. He told his officials that he wanted to hand himself to the protection of the Turks, but they advised him against it and asked him to seek protection from the Arabs which he refused. He left for Turkestan while his officials took away his treasures and gave them to Ahnaf, submitting to the Arabs and being allowed to go back to their respective homes.<ref name=Bombay>{{cite book|title=The Journal, Volume 11|pages=213, 214|publisher=[[The Asiatic Society of Mumbai|Asiatic Society of Bombay]]|year=1969}}</ref> Abdullah b. Amir went to Khorasan from Kerman in 650 and set out along with a vanguard of [[Banu Tamim|Tamimi Arabs]] and 1,000 [[asawira]] via Quhistan. The people of [[Tabasayn]] had broken their peace treaty and had allied with the [[Hepthalites]] of [[Herat Province|Herat]]. al-Ahnaf reconquered Quhistan and defeated Herat's Hepthalites at [[Nishapur]]. The [[kanarang]] or marzban of [[Tus, Iran|Tus]] asked the Arabs for assistance against the raiding Hepthalites of Herat and [[Badghis]]. He agreed to a peace agreement for 600,000 dinars.<ref name=Doryajee2>{{cite book|url=https://books.google.com/books?id=Jxd2Zr9Ilw8C&pg=PA215|title=The Oxford Handbook of Iranian History|author=Touraj Daryaee|page=215|publisher=[[Oxford University Press]]|author-link=Touraj Daryaee|isbn=9780199732159|date=2012-02-16}}</ref> The Hepthalite action prompted the Muslims undertaking military operation to secure their positions in Khorasan. After the fall of Tus, Ibn Amir sent out an army against Herat. The ruler (marzaban or ''azim'') of the place agreed to a peace treaty for Herat, Badghis and [[Pushang]] for a tribute of 1 million dirhams.<ref name=Doryajee2/> The ruler who was known as ''azim'' or the "mighty one" in ''[[Futuh al-Buldan]]'', may have been a Hepthalite chief.<ref name=Gibb>{{cite book|url=https://books.google.com/books?id=cJQ3AAAAIAAJ&pg=PA56|title=The Encyclopaedia of Islam, Volume V|author=Hamilton Alexander Rosskeen Gibb|page=56|publisher=[[Brill Publishers|Brill]]|author-link=Hamilton Alexander Rosskeen Gibb|year=1967}}</ref> The [[Rashidun Caliphate|Rashidun Caliphs]] followed the earlier rule of [[Muhammad]] of imposing ''[[jizya]]'' on several bodies jointly and in some cases also imposed the condition that they host Muslims. This rule was followed in most Iranian towns, with the jizya not specified on per capita basis, but being left to the local rulers, though some Muslim commanders stressed the amount on the ability of the ruler to pay. The same wording can be seen in Ibn Amir's treaty.<ref>{{cite book|url=https://books.google.com/books?id=qVYT4Kraym0C&pg=PA199|title=The Spread of Islam Throughout the World|author=Idris El Hareir, Ravane Mbaye|page=199|publisher=[[UNESCO]]|isbn=9789231041532|year=2011}}</ref> In 652, Ibn Amir sent al-Ahnaf to invade [[Tokharistan]] with 4,000 Arabs and 1,000 Iranian Muslims (evidently the Tamimis and asawira), probably because of assistance of its ruler to Yazdegerd's son [[Peroz III|Peroz]]. While Marw al-Rudh's garrison agreed to a peace term for the entire district under 300,000 dirhams, the town itself remained besieged.<ref name=Doryajee2/> It was the last major stronghold of Sasanians and fell to al-Ahnaf after a fierce battle.<ref name=Gibb/> After bloody fighting, its marzaban agreed to a peace treaty for 60,000 or 600,000 dirhams as well as a mutual defence pact. He was also allowed to keep his ancestral lands, for the office of marzaban to be hereditary in his family, and to be exempt from taxes along with his whole family.<ref name=Doryajee2/> Baladhuri quotes [[Abu Ubaidah (scholar)|Abu Ubayda]] as stating that the Turks were supporting the inhabitants of the town. These Turks were Hepthalites, probably from [[Guzgan]], which may explain the reason behind the Arabs next attacking Guzgan, [[Faryab]] and [[Taloqan|Talqan]].<ref name=Shaban22/> [[Al-Mada'ini]] specifically states that Ahnaf while leading the next expedition, did not want to ask for assistance from the non-Muslims of Marw al-Rudh, probably as he did not trust them.<ref name=Shaban22/> The Arabs camped at Qasr al-Ahnaf, a day's march to the north of Marw al-Rudh. The 30,000-strong army comprising troops of Guzgan, Faryab and Talqan, supported by the [[Chaghaniyan|Chaghanian]] troops, advanced to meet them. The battle was inconclusive, but the opposing side dispersed with some remaining at Guzgan while the Arabs withdrew to Marw al-Rudh. Ahnaf sent an expedition, led by al-Aqra' b. Habis and apparently consisting exclusively of Tamimis, to Guzgan. The Arabs defeated Guzgan and entered it by force. Ahnaf meanwhile advanced towards Balkh, making peace treaties with Faryab and Taloqan along the way.<ref name=Shaban22>{{cite book|url=https://books.google.com/books?id=1_03AAAAIAAJ&pg=PA22|title=The 'Abbāsid Revolution|page=22|publisher=Cambridge University Press|author=M. A. Shaban|isbn=9780521295345|date=1979-03-08}}</ref> The permanent pacification of Khorasan was a protracted affair with the local potentates often rebelling and appealing to outside powers like the Hepthalites, [[Western Turks]] or [[Turgesh]], [[Sogdians]] and the imperial Chinese who claimed a degree of suzerainty over Central Asia, for help.<ref name=Gibb/> Within a year after Yazdegerd's death, a local Iranian notable named Qarin started a revolt against the Arabs in Quhistan. He gathered his supporters from Tabasayn, Herat and Badghis, assembling a reported army of 40,000 insurgents against Arabs in Khorasan. The Arabs made a surprise attack however, killing him and many of his people while many others were taken captive.<ref>{{cite book|url=https://books.google.com/books?id=hvx9jq_2L3EC&pg=PA26|title=The Cambridge History of Iran, Volume 4|publisher=Cambridge University Press|page=26|author=Richard Nelson Frye|isbn=9780521200936|date=1975-06-26}}</ref> It was expected that the recently subjugated people would revolt. However, in Khorasan, no all-out effort seems to have been undertaken to the expel the Arabs after Qarin's rebellion. Chinese sources state that there was an attempt to restore Peroz by Tokharistan's army, however this episode is not confirmed by Arab sources.<ref>{{cite book|url=https://books.google.com/books?id=1_03AAAAIAAJ&pg=PA27|title=The Abbasid Revolution|publisher=Cambridge University Press|page=27|author=M.A. Shaban|isbn=9780521295345|date=1979-03-08}}</ref> Peroz had settled among the Turks, took a local wife and had received troops from the king of Tokharistan. In 661, he established himself as king of Po-szu (Persia) with Chinese help in a place the Chinese called Ja-ling (Chi-ling), which is assumed to be Zarang. His campaigns are reflected in Muslim sources, which mention revolts in Zarang, Balkh, Badghis, Herat, [[Bushanj]] and also in Khorasan during the [[First Fitna]] period in reigns of [[Ali]] and [[Mu'awiya I]]. Though they do not mention Peroz, they do state that Ali's newly appointed governor of Khorasan had heard in Nishapur that governors of the Sasanian king had come back from Kabul and Khorasan had rebelled. However, the region was reconquered under Mu'awiya. Piroz went back to the [[Tang Empire]]'s capital and was given a grandiose title as well as permission to build a fire temple in 677.<ref>{{cite book|url=https://books.google.com/books?id=7k0hAwAAQBAJ&pg=PA5|title=The Nativist Prophets of Early Islamic Iran: Rural Revolt and Local Zoroastrianism|publisher=Cambridge University Press|pages=5, 6|author=Patricia Crone|author-link=Patricia Crone|isbn=9781139510769|date=2012-06-28}}</ref> [[Yazid ibn al-Muhallab]] succeeded his father as governor of Khorasan in 702 and campaigned in Central Asia, but achieved little success apart from [[Nezak Tarkhan]]'s submission at Badghis.<ref>{{cite book|url=https://books.google.com/books?id=Jxd2Zr9Ilw8C&pg=PA219|title=The Oxford Handbook of Iranian History|author=Touraj Daryaee|page=219|publisher=[[Oxford University Press]]|author-link=Touraj Daryaee|isbn=9780199732159|date=2012-02-16}}</ref> ===Tokharistan=== [[Tokharistan]], roughly ancient [[Bactria]], is today divided between Afghanistan, [[Tajikistan]] and [[Uzbekistan]]. According to the most general usage of the name, Tokharistan is the wide valley around the upper Oxus river surrounded by mountains on three sides before the river moves into open plains. The major city was [[Balkh]], one of the greatest urban centers of northeastern Iran. It was located upon [[Silk Road|crossroads and conduits of trade]] in many directions, enabling control of these routes if it was conquered. During the governorship of [[Abdallah ibn Tahir al-Khurasani|Abu 'l Abbas 'Abdallah b. Tahir]] (r. 828–845), a list of districts (''kuwar'') of the region exists, including as far as [[Principality of Chaghaniyan|Saghaniyan]] in the north and Kabul in the south. Other places listed are [[Tirmidh]], [[Juzjan]], [[Bamiyan]], Rūb and Samanjan. Some Arab geographers used the name only for the southern part of Oxus valley.<ref name=Musk>{{cite book|url=https://books.google.com/books?id=ZfWXIfbynwYC&pg=PA47|title=Islam and Tibet – Interactions along the Musk Route|publisher=Routlegde|pages=46–48|isbn=9780754669562|year=2011}}</ref> Balkh was also a part of Khorasan along with other areas through varying extensions of time.<ref>{{cite book|url=https://books.google.com/books?id=CvpeCAAAQBAJ&pg=PA67|title=Greater Khorasan: History, Geography, Archaeology and Material Culture|author=Rocco Rante|publisher=Routlegde|page=67|isbn=9783110331707|date=2015-03-10}}</ref> Per al-Tabari, Yazdegerd fled from [[Merv|Marw-al Rudh]] to Balkh during Ahnaf's conquest of Khorasan in 643. He fortified himself but was defeated by the Arabs and fled across the [[Oxus River]].<ref name=Bombay/> Yazdegerd proceeded to Soghd, whose ruler supplied him a large army. The Khaqan of Turks after assembling the troops from [[Ferghana]], crossed the Oxus along with Yazdegerd and marched to Balkh.<ref name=Bombay/> In 652, Ibn Amir sent al-Ahnaf to invade [[Tokharistan]] with 4,000 Arabs and 1,000 [[Iranian Muslims]] (evidently the Tamimis and asawira), probably because of assistance of its ruler to Yazdegerd's son [[Peroz III|Peroz]]. He approached Balkh after conquering Marw al-Rudh and fighting an inconclusive battle with a 30,000-strong force from Guzgan, Faryab and Talqan. After arriving at Balkh, he besieged the city, with its inhabitants offering a tribute of 400,000 or 700,000 dirhams. He deputed his cousin to collect the tribute and advanced to [[Khwarezm]] but returned to Balkh as winter approached.<ref name=Shaban22/> It was in Balkh in fall of 652 when the local people introduced his cousin Asid to gifting gold and silver to their governor during [[Mehregan|Mihrijan]].<ref name=Doryajee1/> [[Ziyad ibn Abih|Ziyad b. Abi Sufyan]] reorganised Basra and Kufa, excluding many from the ''[[divan|diwan]]'' and inspiring him to settle 50,000 families in Khorasan. Both Baladhuri and Mad'aini agree upon the number, though the latter states each half were from Basra and Kufa. Al-'Ali disagrees, stating the Kufans were 10,000. Ghalib had been unsuccessful in his expedition, and Rabi b. Ziyad al-Harithi, who was appointed governor of Khorasan in 671, led the settlement expedition. He advanced to Balkh and made a peace treaty with the locals who had revolted after al-Ahnaf's earlier treaty.<ref>{{cite book|url=https://books.google.com/books?id=1_03AAAAIAAJ&pg=PA32|title=The 'Abbāsid Revolution|pages=31, 32|publisher=Cambridge University Press|author=M. A. Shaban|isbn=9780521295345|date=1979-03-08}}</ref> [[Qutayba ibn Muslim]] led the final conquest of Balkh. He was tasked with subduing the revolt in Lower Tokharistan. His army was assembled in the spring of 705 and marched through Marw al-Rudh and Talqan to Balkh. Per one version in [[Tarikh al-Tabari]], the city was surrendered peacefully. Another version, probably to promote a [[Bahila|Bahilite]] claim on the [[Barmakids]], speaks of a revolt among the residents. The latter may be the correct version as Tabari describes the city as ruined four years later.<ref name=Gibb32>{{cite book|url=https://books.google.com/books?id=6TN8CgAAQBAJ&pg=PT32|title=The Arab Conquests in Central Asia|publisher=Read Books Ltd.|author=H.A.R. Gibb|year=2013|page=32|author-link=H.A.R. Gibb|isbn=9781446545638}}</ref> The wife of Barmak, a physician of Balkh, was taken captive during the war and given to 'Abdullah, Qutayba's brother. She was later restored to her lawful husband after spending a period in 'Abdullah's [[harem]]. [[Khalid ibn Barmak|Khalid]] was thus born in 706 and Abdallah accepted the implications of paternity without disturbing Barmak's conventional responsibilities or affecting Khalid's upbringing.<ref>{{cite book|title=Harun Al Rashid|publisher=[[D. Appleton & Company|D. Appleton Century Company]]|author=St John Philby|year=1934|page=94|author-link=St John Philby}}</ref> In 708–709, the Ispahbadh, who was a local ruler, received a letter from the Hepthalite rebel Nezak Tarkhan, who was trying to unite the aristocracy of Tokharistan against Qutayba.<ref>{{cite book|url=https://books.google.com/books?id=g6swDwAAQBAJ&pg=PA44HL|title=Afghanistan's Islam: From Conversion to the Taliban|author=Nile Green|publisher=University of California Press|page=44|isbn=9780520294134|year=2017}}</ref> The Arabs built a new military encampment called ''Baruqan'' two farsangs away from the city. In 725, the governor [[Asad ibn Abdallah al-Qasri]] had the city restored after a feud among Arab troops, with Barmak being employed as his agent for the task.<ref>{{cite book |title=Encyclopaedia Iranica Volume 3 Issues 5–8|page=558|publisher=Routlegde & Kegan Paul|year=1988}}</ref> Early Arabs tended to treat Iran as a single cultural unit, however it was a land of many countries with distinct populations and cultures. From historical evidence, it appears that Tokharistan was the only area heavily colonized by Arabs where [[Buddhism]] flourished, and the only area incorporated into the Arab empire where Sanskrit studies were pursued up to the conquest. The grandson of Barmak was the ''[[vizier]]'' of the Arab empire and took personal interest in Sanskrit works and Indian religions.<ref name=Musk/> The eighth-century Korean traveller [[Hyecho|Hui'Chao]] records [[Hinayana|Hinayanists]] in Balkh under Arab rule.<ref name=Hinya>{{cite book|url=https://books.google.com/books?id=y7IHmyKcPtYC&pg=PA958|title=The Cambridge History of Iran: Seleucid Parthian|author=E. Parsater|publisher=Cambridge University Press|year=1993|page=958|isbn=9780521246934}}</ref> He visited the area around 726, mentioning that the true king of Balkh was still alive and in exile. He also describes all the inhabitants of the regions as Buddhists under Arab rule. Other sources indicate however that the Bactrians practiced many different religions.<ref name=MuskHui>{{cite book|url=https://books.google.com/books?id=ZfWXIfbynwYC&pg=PA53|title=Islam and Tibet – Interactions along the Musk Route|publisher=Routlegde|pages=51, 53|isbn=9780754669562|year=2011}}</ref> Among Balkh's Buddhist monasteries, the largest was ''[[Nava Vihara]]'', later Persianized to ''Naw Bahara'' after the Islamic conquest of Balkh.<ref>{{cite book|url=https://books.google.com/books?id=g6swDwAAQBAJ&pg=PA53|title=Afghanistan's Islam: From Conversion to the Taliban|author=Nile Green|publisher=University of California Press|page=44|isbn=9780520294134|year=2017}}</ref> It is not known how long it continued to serve as a place of worship after the conquest. Accounts of early Arabs offer contradictory narratives. Per al-Baladhuri, its stupa-vihara complex was destroyed under Mu'awiya in 650s. Tabari while reporting about the expedition in 650s, does not mention any tension around the temple, stating that Balkh was conquered by Rabi peacefully. He also states that Nizak went to pray at the site during his revolt against Qutayba in 709, implying it may not have been destroyed. Also, the tenth-century geographical treatise ''[[Hudud al-'Alam]]'' describes remaining royal buildings and Naw Bahara's decorations including painted image and wonderful works, probably [[Fresco-secco|secco]] or [[fresco]] [[murals]] and carvings on the temple's walls that survived into the author's time.<ref>{{cite book|url=https://books.google.com/books?id=5rZGAgAAQBAJ&pg=PA85|title=Sacred Landscape in Medieval Afghanistan: Revisiting the Faḍā'il-i Balkh|author=Arezou Azad|publisher=Oxford University Press|page=85|isbn=9780199687053|date=November 2013}}</ref> Sanskrit, Greek, Latin and Chinese sources from the 2nd century BC to the 7th century AD, identify a people called "[[Tushara Kingdom|Tukharas]]", in the country later called Tukharistan. [[Badakhshan]] was earlier the seat of the Tukharas.<ref>{{cite book|url=https://books.google.com/books?id=EtwtSZwyWpgC&pg=PA753|title=Ritual, State, and History in South Asia: Essays in Honour of J.C. Heesterman|editor1=J. C. Heesterman|editor2=Albert W. Van den Hoek|editor3=Dirk H. A. Kolff |editor3-link=Dirk H. A. Kolff |editor4=M. S. Oort|publisher=Brill|page=85|isbn=9004094679|year=1992}}</ref> There is no precise date for the Arab conquest of Badakhshan nor any record of how Islam was introduced there. Al-Tabari too mentions this region only once.<ref name=Pellat1>{{cite book|title=The Encyclopaedia of Islam: New Edition – Volume I|editor=[[Hamilton Alexander Rosskeen Gibb|H. A. R. Gibb]] |editor2=[[Johannes Hendrik Kramers|J. H. Kramers]] |editor3=[[Évariste Lévi-Provençal|E. Lévi-Provençal]] |editor4=[[Joseph Schacht|J. Schact]] |editor5=[[Bernard Lewis]] |editor6=[[Charles Pellat]]|page=852|publisher=[[Brill Publishers|Brill]]|year=1986}}</ref> In 736, [[Asad ibn Abdallah al-Qasri]] sent an expedition into Upper Tokharistan and Badakhshan against the rebel [[Al-Harith ibn Surayj]] who had occupied the fortress of Tabushkhan.<ref>{{cite book|url=https://books.google.com/books?id=pNGq6sU-xbgC&pg=PA180|title=The End of the Jihad State: The Reign of Hisham Ibn 'Abd al-Malik and the Collapse of the Umayyads|author=Khalid Yahya Blankinship|publisher=SUNY Press|page=180|isbn=9780791418284|date=1994-06-28}}</ref> Juday' b. 'Ali al-Kirmani, who was sent on the expedition against al-Harith, captured Tabushkhan.<ref>{{cite book|url=https://books.google.com/books?id=1_03AAAAIAAJ&pg=PA124|title=The 'Abbāsid Revolution|author=M. A. Shaban|publisher=Cambridge University Press|page=124|isbn=9780521295345|date=1979-03-08}}</ref> Juday also had its captive defenders killed while its women and children were enslaved and sold in Balkh despite being of Arab origin.<ref>{{cite book|url=https://books.google.com/books?id=XfeQDQAAQBAJ&pg=PT306|title=The Arab Kingdom and its Fall|author=J. Wellhausen |publisher=Cambridge University Press|isbn=9781315410319|date=2016-11-10}}</ref> al-Harith later allied with the Turgesh and continued his rebellion until being pardoned by Caliph [[Yazid III|Yazid b. Walid]] in 744.<ref>{{cite book|url=https://books.google.com/books?id=cTLMgO9dU4cC&pg=PA33|title=Revolt: The Social and Military Aspects of the 'Abbāsid Revolution|author=Moshe Sharon|publisher=[[Jerusalem Studies in Arabic and Islam]]|page=33|author-link=Moshe Sharon|isbn=9789652233882|year=1990}}</ref> Taking advantage of the factional fighting among the Arabs, Transoxiana started rebelling and Asad b. 'Abdallah in response attacked [[Principality of Khuttal|Khuttal]] in 737. Armed forces of Soghd, [[Tashkent|Chach]] and many Turks, led by the Turkish Khagan [[Suluk (Turgesh khagan)|Sulu]], arrived to assist them. Asad [[Battle of the Baggage|fled leaving behind the baggage of plunder]] from Khuttal.<ref>{{cite book|url=https://books.google.com/books?id=FcKtIPVQ6REC&pg=PA461|title=History of Civilizations of Central Asia: The crossroads of civilizations: A.D. 250 to 750|author=Ahmed Hassan Dani|publisher=[[Motilal Banarsidass]]|page=461|author-link=Ahmed Hassan Dani|isbn=9788120815407|year=1999}}</ref> When he returned with the main body of his troops, the Turks retired to Tokharistan and he returned to Balkh. In December 737, the Turgesh attacked [[Khulm]] but were repelled by the Arabs. Bypassing Balkh, they captured Guzgan's capital and sent out raiding parties. Asad mounted a [[Battle of Kharistan|surprise attack on the Turks at Kharistan]], who only had 4,000 troops. The Turgesh suffered a devastating defeat and lost almost whole of their army. Sulu and al-Harith fled to the territory of Tokharistan's Yabghu, with Sulu returning to his territory in winter of 737–738.<ref>{{cite book|url=https://books.google.com/books?id=7G61UifCEZMC&pg=PA118|title=The Tibetan Empire in Central Asia: A History of the Struggle for Great Power Among Tibetans, Turks, Arabs, and Chinese During the Early Middle Ages|author=Christopher I. Beckwith|publisher=[[Princeton University Press]]|pages=117–118|author-link=Christopher I. Beckwith|isbn=0691024693|date=1993-03-28}}</ref> ===The Zunbils=== [[File:Arabsumf1.png|thumb|325px|right|The Zunbils were affected by [[Muslim conquests in the Indian subcontinent]]. {{legend|#FFF200|Desert areas ([[Registan Desert]] and [[Thar Desert]])}} {{legend|#FFC90E|Zunbils}} {{legend|#FFC891|[[Turk Shahis]]}} {{legend|#A349A4|[[Karkota dynasty|Kingdom of Kashmir]]}} {{legend|#CD9F87|[[Brahman dynasty of Sindh|Kingdom of Sindh]] (c. 632– 711 CE)<br>then, [[Caliphal province of Sind]] (712-854 CE)}} {{legend striped|#CEEDF4|#E7F7FA|[[Kingdom of Valabhi]] (c.475–c.776 CE)}} ]] The [[Zunbils]] in the pre-[[Saffarid]] period ruled in [[Zabulistan]] and [[Zamindawar]], stretching between [[Ghazni]] and Bost, and had acted as a barrier against Muslim expansion for a long time. Zamindawar is known to have a shrine dedicated to the god Zun. It has been linked with the [[Hindu god]] [[Surya|Aditya]] at [[Multan]], [[Bon|pre-Buddhist religious]] and [[Imperial cult|kingship practices]] of [[Tibet]], as well as [[Shaivism]]. The followers of the Zunbils were called Turks by the Arabic sources, however they applied the name to all their enemies in eastern fringes of Iran.<ref name=Wink/><ref>{{cite book|title=The Medieval History of Iran, Afghanistan, and Central Asia|pages= 344, 357|publisher=Variorum Reprints|year=1977|author=Clifford Edmund Bosworth|author-link= Clifford Edmund Bosworth}}</ref> They are described as having Turkish troops in their service by sources like Tabari and ''Tarikh-e-Sistan''.<ref>{{cite book|title=Islam in Asia: South Asia|page= 15|publisher=Magnes Press|year=1984|author=[[Raphael Israeli]], Anthony Hearle Johns}}</ref> The first time the title of Zunbil appears in Arabic sources, it does so along with that of the Kabul Shah and according to Tabari was the title of the brother of Kabul's king (either [[Barha Tegin]] or [[Tegin Shah]]). The Zunbil apparently broke away from the overlordship of Kabul around 680 AD and established his own kingdom in Zabulistan and al-Rukhkhaj.<ref name=":0">{{cite book|url=https://books.google.com/books?id=Y7QWEAAAQBAJ&pg=PA69|title=Resistance at the Edge of Empires: The Archaeology and History of the Bannu basin from 1000 BC to AD 1200|page=69|publisher=Cambridge University Press|author=Cameron A. Petrie|isbn=9781785703065|date=2020-12-28}}</ref><ref>{{cite book|url=https://books.google.com/books?id=DhiWDwAAQBAJ&pg=RA1-PA200|title=The History of Central Asia: The Age of the Steppe Warriors|pages=200, 202|publisher=Bloomsbury Publishing|author=Cameron A. Petrie|isbn=9781785703065|date=2020-12-28}}</ref> The kingdom of Zabulistan (ar-Rukhkhaj) with its capital at Ghazni, where the king Zunbil or Rutbil resided, is mentioned by Chinese sources under the suzerainty of [[Yabgu|Jabghu]] of [[Turkestan]].<ref>{{cite book|url=https://books.google.com/books?id=1_03AAAAIAAJ&pg=PA13|title=The 'Abbāsid Revolution|page=13|publisher=Cambridge University Press|author=M. A. Shaban|isbn=9780521295345|date=1979-03-08}}</ref> The significance for Arabs of the realm of Zun and its rulers was them preventing their early campaigns from invading the [[Indus Valley]] through eastern and southern Afghanistan. It was only under the early [[Saffarids]] that mass-Islamization took place unlike the plunder-raids or tribute levies of Arab rule.<ref name=Wink>{{cite book|url=https://books.google.com/books?id=bCVyhH5VDjAC&pg=PA119|title=Al- Hind: The slave kings and the Islamic conquest – Volume I|publisher=Brill|pages=119, 124|isbn=9004095098|date=June 1991}}</ref> The expeditions under Caliph [[al-Ma'mun]] against Kabul and Zabul were the last ones and the long conflict ended with the dissolution of the Arab empire following soon thereafter.<ref name=Majumdar1/> [[Sajawand|Sakawand]] in Zabulistan was a major centre of Hindu pilgrimage.<ref name="Mishra1972">{{cite book |last=Mishra |first=Yogendra |title=The Hindu Sahis of Afghanistan and the Punjab, A.D. 865-1026: a phase of Islamic advance into India |year=1972 |publisher=Vaishali Bhavan |pages=42–43 |quote=When Fardaghan arrived in Zabulistan, he led his army against Sakawand, a large Hindu place of worship in that country with a temple and many idols. He took the temple, broke the idols into pieces, and overthrew the idolaters. He informed Amr ibn Lais of the conquest and asked for reinforcements. When the news of the fall of Sakawand reached Kamalu, who was Rai of Hindustan, he collected an innumerable army and marched towards Zabulistan to take revenge.}}</ref><ref name="Elliot1953">{{cite book |last=Elliot |first=Sir Henry Miers |title=The History of India |year=1953 |page=20 |quote=There was a large place of worship in that country, which was called Sakawand, and people used to come on pilgrimage from the most remote parts of Hindustan to the idols of that place. When Fardaghan arrived in Zabulistan he led his army against it, took the temple, broke the idols in pieces, and overthrew the idolaters. Some of the plunder he distributed among the troops, the rest he sent to Amru Lais, informing him of the conquest, and asking for reinforcements. |publisher=Trübner and Co.}}</ref> ====7th century==== After appearing at Zarang, [[Abd al-Rahman ibn Samura]] and his force of 6,000 Arabs penetrated to the shrine of Zun in 653–654. He broke off a hand from the idol of Zun and plucked out the rubies used as its eyes to demonstrate to the marzban of Sistan that the idol could neither hurt nor benefit anyone.<ref>{{cite book|title=Sīstān Under the Arabs: From the Islamic Conquest to the Rise of the Ṣaffārids (30-250/651-864)|publisher=Indiana University|author=Clifford Edmund Bosworth|page=35|author-link=Clifford Edmund Bosworth}}</ref> He also took [[Zabul]] by treaty by 656.<ref name=Doryajee2/> In the shrine of Zoon in [[Zamindawar]], it is reported that Samura "broke off a hand of the idol and plucked out the rubies which were its eyes in order to persuade the [[marzbān]] of Sīstān of the god's worthlessness."<ref name="TD216"/><ref>André Wink, "Al-Hind: The Making of the Indo-Islamic World", Brill 1990. p 120</ref> Samura explained to the marzbān: "my intention was to show you that this idol can do neither any harm nor good."<ref>{{Cite web |url=http://www.alamahabibi.com/English%20Articles/Amir_Kror_and_His_Ancestry.htm |title=Amir Kror and His Ancestry |work=Abdul Hai Habibi |publisher=alamahabibi.com |access-date=August 14, 2012}}</ref> [[Lashkargah|Bost]] and [[Zabul]] submitted to the Arab invader by treaty in 656 CE.<ref name="TD216">{{cite book |last1=Daryaee |first1=Touraj |last2=Daryāyī |first2=Tūraǧ |title=The Oxford Handbook of Iranian History |date=16 February 2012 |publisher=Oxford University Press, USA |isbn=978-0-19-973215-9 |page=216 |url=https://books.google.com/books?id=Jxd2Zr9Ilw8C&pg=PA216 |language=en}}</ref> The Muslims soon lost these territories during the [[First Fitna|First Civil War]] (656–661).<ref name="TD216"/> In 665 CE, after being reappointed to Sistan under Mu'awiya, Samura defeated Zabulistan whose people had broken the earlier agreement.<ref name=Majumdar/> Samura was replaced as governor by Rabi b. Ziyad and died in 50 AH (670 AD), while the king of [[Zabul]] rebelled along with the [[Turk Shahis|Kabul Shah]] and the two together reconquered Zabulistan and Rukhkhaj according to al-Baladhuri. Ar-Rabi, the Arab governor, however attacked the Zunbil at Bust and made him flee. He then pursued him to Rukhkhaj, where he attacked him and then subdued the city of ad-Dawar.<ref name=":1"/><ref name=Majumdar>{{cite book|title=Readings in political history of India, ancient, mediaeval, and modern|author=R.C. Majumdar|publisher=B.R. Publishing Corporation|year=1993|page=220|author-link=R.C. Majumdar}}</ref> Ziyad b. Abi Sufyan was appointed governor of Basra in 665, with Khorasan and Sistan coming under his mandate as well. He had first appointed Rabi to Sistan but replaced him later with 'Ubaydallah b. Abi Bakra. During this period, Zunbil's fierce resistance continued until he finally agreed to pay one million dirhams per Baladhuri and ''Tarikh-e-Sistan''.<ref name=Shaban41>{{cite book|url=https://books.google.com/books?id=1_03AAAAIAAJ&pg=PA41|title=The 'Abbāsid Revolution|pages=40–41|publisher=Cambridge University Press|author=M. A. Shaban|isbn=9780521295345|date=1979-03-08}}</ref> The Zunbil also negotiated for a peace treaty for both Zabul and Kabul.<ref name=":1"/> Al-Baladhuri records that under Mu'awiya, Sistan's governor [[Abbad ibn Ziyad|'Abbad b. Ziyad b. Abihi]] raided and captured the city of [[Qandahar]] after bitter fighting. He also mentions the characteristic high caps of the people of the city. Though his text is somewhat ambiguous, it seems that 'Abbad had renamed the town as '''Abbadiya'' after himself. The Muslim rule was probably toppled and the name is never heard after his governorship ended in 680–1, by 698 there was no Muslim-controlled region east of Bost.<ref name=Cities>{{cite book|url=https://books.google.com/books?id=CgawCQAAQBAJ&pg=PA269|title=Historic Cities of the Islamic World|page=269|publisher=Brill|year=2007|author=Clifford Edmund Bosworth|author-link=Clifford Edmund Bosworth|isbn=9789047423836}}</ref> The city was ruled by Arab Muslims and Zunbils, and then later Saffarids and Ghaznavids. It is infrequently mentioned in the early Islamic sources.<ref>{{cite book|url=https://books.google.com/books?id=bYtmAgAAQBAJ&q=kandahar+zunbils&pg=PA522|title=Encyclopaedia of Islam|page=522|publisher=Routledge|year=2013|editor=Ian Richard Netton|isbn=9781135179601}}</ref> In 681, [[Salm ibn Ziyad|Salm b. Ziyad]] was appointed the governor of Khorasan and Sistan by [[Yazid I]]. He appointed his brother [[Yazid ibn Ziyad|Yazid b. Ziyad]], apparently to lead a military expedition against the Zunbil of Zabulistan. The expedition however was disastrous, with Yazid being killed, his brother Abu-'Ubayda captured, while Arabs received heavy casualties. Salm sent an expedition by Talha b. 'Abdillah al-Khuzai to rescue his brother and pacify the region. The Arab captives were ransomed for half million dirhams and the region was pacified more through diplomacy than force.<ref name=Shaban41/><ref name=Daryaee218>{{cite book|url=https://books.google.com/books?id=Jxd2Zr9Ilw8C&pg=PA218|title=The Oxford Handbook of Iranian History|author=Touraj Daryaee|page=218|publisher=[[Oxford University Press]]|author-link=Touraj Daryaee|isbn=9780199732159|date=2012-02-16}}</ref> After Talha's death in 683–684, a virtual anarchy was unleashed amongst Sistan's Arabs. His army refused allegiance to Yazid or [[Mu'awiya II]] and his son 'Abadallah had to abandon Zarang, which was left without any in charge. Many Arabs took over various quarters of Zarang and areas of Sistan. This prompted the Zunbil and his allies, who had already inflicted a humiliating defeat on the Arabs earlier, to intervene in the Arab affairs at Sistan and Bust.<ref name=Bosworth50>{{cite book|title=Sīstān Under the Arabs: From the Islamic Conquest to the Rise of the Ṣaffārids (30-250/651-864)|author=Clifford Edmund Bosworth|publisher= Indiana University|page=50|year=1968}}</ref> Baladhuri says of this period: {{Quote box |quote=He [ Talha ] appointed as his successor as his man from the [[Banu Bakr#Tribe tree / classic relations|Banu Yashkur]] [ [[Banu Bakr|scions of Bakr]] ], but the Mudari group expelled him; factional strife (''[[Asabiyyah|'assabiya]]'') broke out, each group seizing a town for itself, so that the Zunbil became tempted to intervene there. |source=[[Futuh al-Buldan]]<ref name=Bosworth50/> |align=center |qalign = center |salign=right }} During the [[Second Fitna]] period, the Zunbil attacked Sistan in 685 but was defeated and killed by the Arabs.<ref name=Daryaee218/> [[Abd al-Malik ibn Marwan|Abdalmalik]] appointed [[Umayya ibn Abdallah ibn Khalid ibn Asid]] as governor of Khorasan in 74 AH (693-4 AD), with Sistan included under his governorship. Umayya sent his son Abdullah as head of the expedition in Sistan. Though initially successful, the new Zunbil was able to defeat them. Per some accounts, Abdullah himself was killed. Umayya was dismissed and Sistan was added to the governorship of [[al-Hajjaj ibn Yusuf]].<ref>{{cite book|url=https://books.google.com/books?id=1_03AAAAIAAJ&pg=PA50|title=The 'Abbāsid Revolution|page=50|publisher=Cambridge University Press|author=M. A. Shaban|isbn=9780521295345|date=1979-03-08}}</ref> ====Under Al-Hajjaj==== Al-Hajjaj, who had become governor of Iraq and the East in 78 AH (697–98 AD), had appointed Ubaidallah, who was a ''[[mawla]],'' as his deputy in Sistan. The Zunbils, who had been left unchecked, had completely stopped paying the tribute. This provided a pretext to terminate the peace treaty between the two sides. Ubaidallah was appointed for an expedition against them in 698 and was ordered by Al-Hajjaj to "attack until he laid waste to Zunbil's territories, destroyed his strongholds, killed all his fighting men and enslaved his progeny". The ensuing campaign was called the "Army of Destruction" (''Jaish al-Fana'''). However, it ended disastrously for the Arabs.<ref>{{cite book|url=https://books.google.com/books?id=g2m7_R5P2oAC&pg=PA122|title=Al-Hind, the Making of the Indo-Islamic World: Early Medieval India and the Expansion of Islam 7th-11th Centuries|publisher=Brill|page=122|isbn=0391041738|year=2002}}</ref> Al-Baladhuri's account on the authority of Al-Mada'ini in ''Futuh al-Buldan'' and ''[[Genealogies of the Nobles|Ansab al-Ashraf]]'', is the fullest documentation of the campaign. Tabari's account runs parallel but is based on [[Abu Mikhnaf]] and does not include the poem of [[A'sha Hamdan]] included in ''Ansab al-Ashraf''. [[Ibn Qutaybah]]'s ''Kitab al-Ma'arif'' only makes a bare mention. ''[[History of the Caliphs|Ta'rikh al-khulafa']]'' has a more detailed account and epitomises accounts of Tabari and Baladhuri. ''Tarikh-e-Sistan'' confuses the campaign with another one against the [[Khwarij]] of Zarang. The army consisted of Iraqis from Basra and Kufa, though Baladhuri mentions presence of some Syrians. Ubaidallah himself led the Basrans while the [[Tabi' al-Tabi‘in|Tabi]] Shuraih b. Hani' al-Harithi ad-Dabbi led the Kufans.<ref name=Fanaa>{{cite book|title=The Medieval History of Iran, Afghanistan, and Central Asia|pages= 362–366|publisher=Variorum Reprints|year=1977|author=Clifford Edmund Bosworth|author-link= Clifford Edmund Bosworth}}</ref> They marched to [[Zamindawar]] or al-Rukhkhaj (the classical [[Arachosia]]) but found it barren and foodless. Their advance probably happened in summer of 698, as A'sha Hamdan's poem refers to the scorching heat they had to endure. In [[Zabulistan]]'s regions of Ghazni and [[Gardiz]], they plundered a significant amount of cattle and other animals, in addition to destroying various strongholds. The Zunbils, who were [[scorched earth|devastating the countryside whilst retreating]], were luring the Arabs into a trap to an inhospitable and foodless terrain. ''Futuh al-Buldan'' states that the Muslims almost penetrated Kabul. Tabari meanwhile says that they came within 18 farsakhs of the summer capital of Zunbils in the [[Kandahar Province|Qandahar region]].<ref name=Fanaa/> The plan of the Zunbils worked and they trapped the Arabs into a valley. Ubaidallah realizing the gravity of the situation, offered 500,000 or 700,000 dirhams as well as his three sons along with some Arab leaders as hostages while promising not to raid again during his tenure as Sistan's governor. Shuraih, who had earlier advised retreat, felt a withdrawal would be dishonorable. He was joined by a group of people into the battle, and all but a handful of them were killed. The remnant of the Arab army withdrew back to Bust and Sistan, suffering from starvation and thirst. Many died in the "Desert of Bust", presumably the [[Registan Desert]], with only 5,000 making it back to Bust. Many of those who survived died by gorging themselves on the food sent to them according to Tabari. Ubaidallah had arranged food for them after seeing their suffering and himself died, either from grief or an ear affliction.<ref name=Fanaa/> Al-Hajjaj prepared another expedition in 699, reportedly of 40,000 troops from Kufa and Basra under [[Abd al-Rahman ibn Muhammad ibn al-Ash'ath|Abdurrahman b. Muhammad b. al-Ash'ath]]. Though disguised as a military expedition, it was actually a forced migration of the elements from the two Iraqi cities troublesome to Hajjaj. It was equipped to the best standards and was called the "Army of Peacocks" because of the men included in its ranks. It included the proudest and most distinguished leaders of Iraq led by Ibn al-Ash'ath, grandson of [[Al-Ash'ath ibn Qays]]. It also included distinguished elders who served in the first armies of conquest as well as those who fought at [[Battle of Siffin]]. This Arab army arrived in Sistan in the spring of 699.<ref name=Peacocks>{{cite book|url=https://books.google.com/books?id=TEFMYRxteB4C&pg=PA110|title=Islamic History: Volume 1, AD 600-750 (AH 132): A New Interpretation|pages= 110–111|publisher=Cambridge University Press|year=1971|author=M.A. Shabam|isbn=9780521291316}}</ref> The Arabs advanced east into Zabulistan and won several victories. However the troops did not want to fight in this inhospitable region and started becoming restive. Al-Hajjaj instructed them to continue the advance into Zabulistan's heart no matter what it took, making it clear to them he wanted them to return to their homes.<ref name=Peacocks/> Ibn al-Ash'ath also made an agreement with the Zunbils, that no tribute would be demanded if he won and in case he lost, he would be sheltered to protect him from Al-Hajjaj.<ref name=Bosworth60>{{cite book|title=Sīstān Under the Arabs: From the Islamic Conquest to the Rise of the Ṣaffārids (30-250/651-864)|author=Clifford Edmund Bosworth|publisher= Indiana University|page=60|year=1968}}</ref> The troops mutinied against Hajjaj's enforced emigration and returned to Iraq but were crushed by the Syrian troops. They fled back to the east while Ibn al-Ash'ath fled to Sistan where he died in 704 AD.<ref name=Peacocks/> When Ibn al-Ash'ath returned to Sistan in 702-703 AD, he wasn't allowed into Zarang and fled to Bust where he was abducted by Iyad b. Himyan al-Bakri as-Sadusi, whom he had appointed as the deputy over Bust, so Iyad could resecure favor of al-Hajjaj. The Zunbil however attacked the town and threatened to slaughter or enslave everyone there unless Ibn al-Ash'ath was handed over to him. Iyad set him free and he went to the Zunbil's territory along with his army.<ref>{{cite book|title=Sīstān Under the Arabs: From the Islamic Conquest to the Rise of the Ṣaffārids (30-250/651-864)|pages= 60–61|publisher=Indiana University|year=1968|author=Clifford Edmund Bosworth|author-link= Clifford Edmund Bosworth}}</ref> The Zunbil was however persuaded by Al-Hajjaj's representative to surrender him. His fate is however unclear. Per some accounts, he committed suicide, while according to others he was killed by the Zunbil, who sent his head to the Umayyads in Sistan.<ref>{{cite book|url=https://books.google.com/books?id=tNiAAgAAQBAJ&pg=PA69|title=The First Dynasty of Islam: The Umayyad Caliphate AD 661-750|page=69|publisher=Routledge|year=2002|author=G. R. Hawting|author-link=G. R. Hawting|isbn=9781134550593}}</ref> Following this, a truce was declared between Al-Hajjaj and the Zunbil, in return for the latter paying tribute [[in kind]] and in return, Al-Hajjaj promised not to attack him.<ref name=Shaban69>{{cite book|url=https://books.google.com/books?id=1_03AAAAIAAJ&pg=PA69|title=The 'Abbāsid Revolution|page=69|publisher=Cambridge University Press|author=M. A. Shaban|isbn=9780521295345|date=1979-03-08}}</ref> ====From 8th century==== Qutayba b. Muslim, the conqueror of Transoxiana, called Sijistan an "ill-omened front",<ref>{{cite book|url=https://books.google.com/books?id=pNGq6sU-xbgC&pg=PA129|title=The End of the Jihad State: The Reign of Hisham Ibn 'Abd al-Malik and the Collapse of the Umayyads|author=Khalid Yahya Blankinship|year=1994|publisher=SUNY Press|page=129|isbn=9780791418284}}</ref> and forced the Zunbils to pay tribute.<ref name="JLL167"/> [[Khalid al-Qasri]] in Iraq appointed Yazid b. al Ghurayf al-Hamdani as Sistan's governor, a Syrian from [[Jund al-Urdunn]], in 725. Yazid resumed the campaign by sending an army under the command of Balal b. Abi Kabsha. They however did not obtain anything from the Zunbils.<ref>{{cite book|url=https://books.google.com/books?id=zjP0i6FSfLwC&pg=PA130|title=The End of the Jihad State: The Reign of Hisham Ibn 'Abd al-Malik and the Collapse of the Umayyads|publisher=[[SUNY Press]]|page=130|author=Khalid Yahya Blankinship|date=28 June 1994 |isbn=9780791496831}}</ref> The new governor of Sistan, al-Asfah b. 'Abd Allah al-Kalbi, a [[Syrian]], embarked on an ambitious policy of campaigning against the Zunbils. The first one was carried out in 726. During the second one in late 727–728, he was warned by the Sijistanis who were with him to not campaign in winter, especially in the mountain defiles. Per [[Ya'qubi]], his army was completely annihilated by the Zunbils. Per ''Tarikh al-Sistani'', al-Asfah managed to get back to Sistan where he died. The next two governors did not undertake any campaigns. The Zunbil was unable to take advantage of the annihilation of al-Asfah's army, but the defeat was a heavy one. It would become one in a series of blows for the caliphate.<ref>{{cite book|url=https://books.google.com/books?id=zjP0i6FSfLwC&pg=PA147|title=The End of the Jihad State: The Reign of Hisham Ibn 'Abd al-Malik and the Collapse of the Umayyads|publisher=[[SUNY Press]]|page=147|author=Khalid Yahya Blankinship|date=28 June 1994 |isbn=9780791496831}}</ref> The Sistan front remained quiet in the latter part of Abd al-Malik's reign except perhaps the Kharjite activity, with long tenures and blank records of 'Abd Allah b. Abi Baruda and Ibrahim b. 'Asim al-'Uqayli suggesting that the instability in the region had been controlled to an extent. It appears this was only possible because no more campaigns were undertaken against the Zunbils.<ref>{{cite book|url=https://books.google.com/books?id=zjP0i6FSfLwC&pg=PA186|title=The End of the Jihad State: The Reign of Hisham Ibn 'Abd al-Malik and the Collapse of the Umayyads|publisher=[[SUNY Press]]|pages=185–186|author=Khalid Yahya Blankinship|date=January 1994 |isbn=9780791496831}}</ref> [[Al-Mansur]] sent Ma'n b. Zaida ash-Shabani to Sistan in response to the disturbances there. Ma'n along with his nephew Yazid b. Ziyad undertook an expedition against the Zunbil for making him obedient and restoring the tribute not paid since the time of al-Hajjaj. It is especially well-documented by al-Baladhuri. He ordered the Zunbil to pay the tribute and was offered camels, Turkish tents and slaves, but this did not placate him.<ref name=Bosworth82>{{cite book|title=Sīstān Under the Arabs: From the Islamic Conquest to the Rise of the Ṣaffārids (30-250/651-864)|publisher=Indiana University|author=Clifford Edmund Bosworth|pages=82–83|author-link=Clifford Edmund Bosworth}}</ref> Per al-Baldahuri, under the reign of al-Mansur, Hisham b. 'Amr al-Taghlibi after conquering Kandahar, destroyed its idol-temple and built a mosque in its place.<ref>{{cite journal|journal=Israel Oriental Studies|volume=2|title= A note on early Muslim attitudes to idolatry|publisher=Faculty of Humanities, [[Tel Aviv University]]|author=Yohanan Friedmann|page=177|year=1972|author-link=Yohanan Friedmann}}</ref> Ma'n and Yazid advanced into Zamindawar but the Zunbil had fled to Zabulistan. They nonetheless pursued and defeated him, taking 30,000 as captives, including Faraj al-Rukhkhaji, who would later become a secretary of the department of private estates of the Caliph under [[al-Ma'mun]]. Zunbil's deputy Mawand (who is recorded as his son-in-law Mawld in ''Tarikh-e-Sistan'') offered submission, which was requested, and was sent with 5,000 of their soldiers to [[Baghdad]], where he was treated kindly and given pensions along with his chieftains per Baladhuri.<ref name=Majumdar1>{{cite book|title=Readings in Political History of India, Ancient, Mediaeval, and Modern|publisher=B.R. Publishing Corporation|author=Ramesh Chandra Majumdar|page=223|author-link=Ramesh Chandra Majumdar}}</ref><ref name=Bosworth82/> The tribute was paid by the Zunbils to ''amils'' of caliphs [[al-Mahdi]] and [[Harun al-Rashid|ar-Rashid]], though rather irregularly.<ref>{{cite journal|journal=Proceedings of the Indian History Congress|volume=59|title=Sistan's transition to Islam in historical perspective|page=917|publisher=[[Indian History Congress]]|first=Hamiddulah|last=Marazi}}</ref> When the Caliph [[Al-Ma'mun]] (r. 813–833 AD) visited Khorasan, he was paid double the tribute by Rutbil, but was evidently left unmolested and the Arabs later subdued Kabul.<ref name=Majumdar1/> ===Kabulistan=== [[File:Turk Shahi 700ad.jpg|thumb|The [[Turk Shahi]] kingdom of Kabul in 700 AD]] The area of Kabul was initially ruled by the [[Nezak Huns]]. Sometime after the defeat of their last king [[Ghar-ilchi]] at the hands of Samura, the Turkic [[Barha Tegin]] rebelled and assaulted Kabul. Ghar-ilchi was killed and Barha Tegin proceeded to proclaim himself as the king of Kabul, before taking Zabulistan in the south. The "[[Turk Shahi]]" dynasty established by him however split into two around 680 AD.<ref name=":0"/><ref name=":1"/> The dynasty was [[Buddhist]] and were followed by a [[Hindu]] dynasty shortly before the Saffarid conquest in 870 AD.<ref>{{cite book|url=https://books.google.com/books?id=g2m7_R5P2oAC&pg=PA125|title=Al-Hind, the Making of the Indo-Islamic World – Volume I: Early Medieval India and the Expansion of Islam 7th-11th Centuries|author=André Wink|publisher=Brill|page=125|isbn=0391041738|year=2002}}</ref> [[Al-Ma'mun]]'s expeditions were the last Arab conflict against Kabul and Zabul and the long-drawn conflict ended with the dissolution of the empire.<ref name=Majumdar1/> Muslim missionaries converted many people to Islam; however, the entire population did not convert, with repetitive revolts from the mountain tribes in the Afghan area taking place. The [[Hindu Shahi]] dynasty was defeated by [[Mahmud of Ghazni]] (r. 998–1030), who expelled them from [[Gandhara]] and also encouraged mass-conversions in Afghanistan and India.<ref name="Afghanistan Page 15">{{cite book |author=Martin Ewans |author-link=Martin Ewans |url=https://books.google.com/books?id=TQC4AAAAQBAJ&pg=PA15 |title=Afghanistan – A New History |publisher=Routledge |year=2013 |isbn=978-0-415-29826-1 |page=15}}</ref> During the caliphate of Uthman, new popular uprisings had broken out in Persia and continued for five years from 644 to 649. The revolts were suppressed and Abdullah b. Amir, who was appointed governor of Basra, had captured many cities including Balkh, Herat and Kabul.<ref>{{cite book|url=https://books.google.com/books?id=pu5eCwAAQBAJ&pg=PA148|title=Iraq: From Sumer to Saddam|author=Geoff Simmons|publisher=Springer|page=148|isbn=9781349247639|date=2016-01-13}}</ref> After Mu'awiya became the Caliph, he prepared an expedition under 'Abd ar-Rahman b. Samura to Khorasan. Per Baladhuri, after recapturing Zarang as well as conquering other cities, the Arabs besieged Kabul for a few months and finally entered it.<ref name=Shaban28/> Samura concluded a treaty and proceeded to attack Bost, al-Rukhkhaj and Zabulistan. The people of Kabul however rebelled and Samura was forced to recapture the city. The account of ''Tarjuma-i Futuhat'' however differs and states that Samura besieged the city for a year. After capturing it, he had all the soldiers massacred and their wives and children taken as captives. He also ordered the captured king Ghar-ilchi to be beheaded, but spared him when he converted. Around the same time according to al-Baladhuri, [[Al-Muhallab ibn Abi Sufra]] launched an attack on the Indian frontier, reaching up to [[Bannu]] and "al-Ahwaz" (Waihind).<ref>{{cite book|url=https://books.google.com/books?id=Y7QWEAAAQBAJ&pg=PA67|title=Resistance at the Edge of Empires: The Archaeology and History of the Bannu basin from 1000 BC to AD 1200|page=67|publisher=Cambridge University Press|author=Cameron A. Petrie|isbn=9781785703065|date=2020-12-28}}</ref><ref>{{cite book|title=The Last Two Dynasties of the Śahis: An Analysis of Their History, Archaeology, Coinage and Palaeography|author=Abdur Rehman|publisher=Centre for the Study of the Civilizations of Central Asia, Quaid-i-Azam University|pages=58–59|year=1979}}</ref> The historian [[Firishta]] states that while capturing Kabul in 664 AD, Samura had made converts of some 12,000 people.<ref>{{cite book|title=Proceedings – Punjab History Conference, Volume 3|publisher=[[Punjabi University]]|page=59}}</ref> The new king of Kabul [[Barha Tegin]] and the Zunbil campaigned against the Arabs after Samura's departure, recapturing Kabul, Zabulistan and al-Rukhkhaj. Rabi b. Ziyad attacked the Zunbil after becoming governor in 671 AD. His successor Ubayd Allah b. Abi Bakra continued the campaign in 673 AD, with the Zunbil negotiating for both Zabul and Kabul soon afterwards.<ref name=":1"/> About the time of death of Yazid I however, "the people of Kabul treacherously broke the compact". The Arab army sent to reimpose it was routed.<ref>{{cite book|url=https://books.google.com/books?id=i3LDBAAAQBAJ&pg=PA122|title=In God's Path: The Arab Conquests and the Creation of an Islamic Empire|author=Robert G. Hoyland|publisher=[[Oxford University Press]]|page=122|author-link=Robert G. Hoyland|isbn=9780199916368|year=2015}}</ref> In about 680–683, the kingdom split into two with the Zunbil fleeing from his brother, the king of Kabul, and approaching Salm b. Ziyad at Amul in Khorasan. In return for him agreeing to acknowledge Salm as his overlord, the Zunbil was allowed to settle down in Amul. Soon he drove his brother out and established himself in Amul. The location of Amul mentioned by Tabari is not certain, [[Josef Markwart]] identified it with Zabul. Tabari however claims the Kabul Shah fled instead from the Zunbil and established himself as an independent king during the reign of Mu'awiya.<ref name=":1">{{cite book|title=The Last Two Dynasties of the Śahis: An Analysis of Their History, Archaeology, Coinage and Palaeography|author=Abdur Rehman|publisher=Centre for the Study of the Civilizations of Central Asia, Quaid-i-Azam University|page=66|year=1979}}</ref><ref>{{cite book|url=https://books.google.com/books?id=fRjsrA5tfLIC&pg=PA76|title=The History of al-Tabari Vol. 14: The Conquest of Iran A.D. 641-643/A.H. 21-23|translator=G. Rex Smith |publisher=[[SUNY Press]]|isbn=9781438420394|page=76|year=2015}}</ref> Abdur Rehman, who studied the descriptions of Tabari however stated that these events should be seen as having happened in Yazid's time since Salm was governor under his reign.<ref>{{cite book|title=Annals of the Institute for Research in Humanities, Kyoto University Issue=34|page=63|publisher=Zinbun-Kagaku-Kenkyusyo|year=2000}}</ref> In 152 AH (769 AD), [[Humayd ibn Qahtaba]], the governor of Khorasan, raided Kabul.<ref>{{cite book|url=https://books.google.com/books?id=lZnDCwAAQBAJ&pg=PA187|title=The Early Abbasid Caliphate: A Political History|page=187|publisher=Routledge|year=2016|isbn=9781317358077}}</ref> According to [[Ibn al-Athir]], al-'Abbas b. Ja'far led an expedition against Kabul sent by his father Ja'far b. Muhamamad in 787–78, which Bosworth claims is the one attributed to Ibrahim b. Jibril by Al-Ya'qubi.<ref name=Jibril>{{cite book|url=https://books.google.com/books?id=qjE9DwAAQBAJ&pg=PA125|title=The 'Abbasid and Carolingian Empires: Comparative Studies in Civilizational Formation|pages=125–129|publisher=Brill|year=2017|isbn=9789004353046}}</ref> The only record of an event in early Abbasid period obviously related to the area south of the Hindu Kush, is the expedition against Kabul in 792-793 ordered by [[Al-Fadl ibn Yahya]] and led by Ibrahim b. Jibril. It is mentioned by al-Tabari's chronicle, the tenth century ''Kitāb al-Wuzarā'wa al-Kuttāb'' of al-Jahshiyari and by al-Ya'qubi. Per al-Jahshiyari, he conquered Kabul and acquired a lot of wealth. Al-Ya'qubi states that rulers and landlords of Tukharistan, including Bamiyan's king, joined this army, implying it crossed the Hindu Kush from the north. It also mentions the subjugation of "Ghurwand" (present-day [[Ghorband]]). He also mentions the "Pass of Ghurwand", which judging by the itinerary of the expedition from Tukharistan to Bamiyan to [[Ghorband River|Ghorband]] valley, is identical to [[Shibar Pass]]. They then marched to Shah Bahar where an idol venerated by the locals was destroyed. The inhabitants of various towns then concluded peace treaties with Fadl, one of which was identified by [[Josef Markwart]] as [[Ancient Kapisa|Kapisa]].<ref name=Jibril/> Al-Ma'mun (r. 813–833 AD) while visiting Khorasan, launched an attack on Kabul, whose ruler submitted to taxation.<ref name=Majumdar1/> The king of Kabul was captured and he then converted to Islam.<ref name="ba1"/> Per sources, when the Shah submitted to al-Ma'mun, he sent his crown and bejeweled throne, later seen by the Meccan historian [[al-Azraqi]], to the Caliph who praised Fadl for "curbing polytheists, breaking idols, killing the refractory" and refers to his successes against Kabul's king and ''ispahabad''. Other near-contemporary sources however refer to the artifacts as a golden jewel-encrusted idol sitting on a silver throne by the [[Hindu Shahi]] ruler or by an unnamed ruler of "Tibet" as a sign of his conversion to Islam.<ref>{{cite book|url=https://books.google.com/books?id=OLNE_li8C10C&pg=PA30|title=Objects of Translation: Material Culture and Medieval "Hindu-Muslim" Encounter|publisher= Princeton University Press|author=Finbarr B. Flood|page=30|isbn=978-0691125947|date=2009-05-03}}</ref> ===Qutayba's campaigns=== [[Qutayba b. Muslim]] was appointed the governor of Khorasan in 705 by al-Hajjaj b. Yusuf, the governor of Iraq and the East. He began his rule with the reconquest of western Tokharistan in the same year.<ref name=Beckwith>{{cite book|url=https://books.google.com/books?id=7G61UifCEZMC&pg=PA70|title=The Tibetan Empire in Central Asia: A History of the Struggle for Great Power Among Tibetans, Turks, Arabs, and Chinese During the Early Middle Ages|publisher=Princeton University Press|page=70|author=Christopher I. Beckwith|isbn=0691024693|date=1993-03-28}}</ref> Qutayba, who was tasked with subduing the revolt in Lower Tokharistan, led the final conquest of Balkh. His army was assembled in spring of 705 and marched to Balkh. Per one version of al-Tabari, the city was surrendered peacefully. Another version, speaks of a revolt among the residents.<ref name=Gibb32/> In 706, he received the submission of Nizak, the leader of Badghis.<ref name=Beckwith/> In 707, he marched on [[Bukhara oasis]] along with Nizak in his army but the campaign did not achieve any major objective.<ref>{{cite book|title=The great Arab conquests: how the spread of Islam changed the world we live in|publisher=Hachette UK|page=260|author=Hugh N. Kennedy|author-link=Hugh N. Kennedy}}</ref> According to Baldhuri, when Qutayba became the governor of Khorasan and Sistan, he appointed his brother 'Amr to Sistan. 'Amr asked the Zunbil to pay tribute in cash but he refused, prompting Qutayba to march against him. The campaign was also partially encouraged by his desire to eliminate the support of the southern Hepthalites, the Zabulites, for their northern brethren to revolt. Zunbil, who was surprised by this unexpected move and scared of Qutayba's reputation, quickly capitulated. Qutayba, realizing the real strength of the Zunbils, accepted it and returned to [[Merv]], leaving only an Arab representative in Sistan.<ref name=Shaban69/> Per Al-Mada'ini, Qutayba returned to Merv after conquering Bukhara in 709. The rebellion of the Hepthalite principalities from the region of Guzgan, including Taloqan and Faryab, led Qutayba to dispatch 12,000 men from Merv to Balkh in winter of 709. The rebellion was led and organized by Nezak Tarkhan and was supported by Balkh and Marw al-Rudh's dihqan Bādām. Nizak had realised that independence would not be possible if Arab rule was strengthened in Khorasan, and perhaps was also encouraged by Qutayba's attempts to achieve his objectives through diplomacy. The success of Zunbils may also have encouraged him.<ref name=Shaban66>{{cite book|url=https://books.google.com/books?id=1_03AAAAIAAJ&pg=PA66|title=The 'Abbāsid Revolution|page=66|publisher=Cambridge University Press|author=M. A. Shaban|isbn=9780521295345|date=1979-03-08}}</ref> Nizak wrote to the Zunblis asking for help. In addition, he also forced the weak Jābghū of Tokharistan to join his cause to persuade all princes of the Principalities of Tukharistan to do the same. His plan to stage the revolt in spring of 710 was however spoilt by Qutayba. Bādām fled when Qutayba advanced on Marw al-Rudh<ref name=Shaban66/> but his two sons were caught and crucified by him. Qutayba next marched to Taloqan,<ref name=Kennedy>{{cite book|title=The great Arab conquests: how the spread of Islam changed the world we live in|publisher=Hachette UK|page=264|author=Hugh N. Kennedy|author-link=Hugh N. Kennedy}}</ref> which was the only place in his campaign where the inhabitants were not given a complete amnesty, concerning which [[H.A.R. Gibb]] states the "traditions are hopelessly confused". Per one account, he executed and crucified a band of bandits there, though it is possible it was selected for this severity as it was the only place where there was an open revolt.<ref>{{cite book|url=https://books.google.com/books?id=6TN8CgAAQBAJ&q=qutayba+robbers&pg=PT36|title=The Arab Conquests in Central Asia|publisher=Read Books Ltd.|author=H.A.R. Gibb|year=2013|page=36|author-link=H.A.R. Gibb|isbn=9781446545638}}</ref> Faryab and Guzgan both submitted and their inhabitants were not harmed. From there, Qutayba went on to receive the submission of people of Balkh. Almost all of Nizak's princely allies had reconciled themselves with Qutayba and there were Arab governors in all towns of Tokharistan, spoiling his plans. He fled south to the [[Hindu Kush]], hoping to reach Kabul<ref name=Kennedy/> and entrenched himself in an inaccessible mountain pass guarded by a fortress. The Arabs succeeded in gaining the fort with help of Ru'b Khan, ruler of Ru'b and Siminjan.<ref>{{cite book|title=Regions of the World|publisher=Luzac|author=Vladimir Minorsky|page=338|year=1937|author-link=Vladimir Minorsky}}</ref> Nizak fled along the modern road that leads from the Oxus valley to [[Salang Pass]] and holed up in an unidentified mountain refuge in a site of [[Baghlan Province]]. Qutayba caught up with him and besieged him for two months.<ref name=Kennedy/> Sulaym al-Nasih (the counsellor), a ''[[mawla]]'' of Khorasan, helped in obtaining Nizak's surrender to Qutayba who promised a pardon. Nonetheless, he was executed along with 700 of his followers after orders from al-Hajjaj. The Jabghu of Tokharistan was sent as a valuable hostage to [[Damascus]].<ref>{{cite book|url=https://books.google.com/books?id=1_03AAAAIAAJ&pg=PA67|title=The 'Abbāsid Revolution|page=67|publisher=Cambridge University Press|author=M. A. Shaban|isbn=9780521295345|date=1979-03-08}}</ref> Qutayba then went in pursuit of Juzjan's king, who requested amnesty and called for exchange of hostages as a precautionary measure. This was agreed upon and Habib b. 'Abd Allah, a Bahilite, was sent as prisoner by Qutayba while the king sent some of his family members in return. The peace treaty was agreed but the king died in Taloqan on his return journey. His subjects accused the Muslims of poisoning him and killed Habib, with Qutayba retaliating by executing Juzjan's hostages.<ref>{{cite journal|journal=Islamic Culture|publisher=Islamic Culture Board|volume=45|title=A Survey of the expansion of Islam into Central Asia during the Umayyad Caliphate|author=Dr. S. A. Hasan|editor1=Marmaduke William Pickthall|editor2=Muhammad Asad|page=103}}</ref> ===Other regions=== ====Ghur==== Tabari records that in 667 AD, [[Ziyad ibn Abih|Ziyad b. Abihi]] had sent Hakam b. 'Amr al-Ghafri to Khorasan as [[Amir]]. Hakam raided [[Ghur]] and Farawanda, bringing them to submission through force of arms and conquered them. He obtained captives and a large amount of plunder from them. A larger expedition was undertaken under [[Asad ibn Abdallah al-Qasri]], the governor of Khorasan, who raided Gharchistan in 725, receiving its submission as well as the conversion of its king to Islam. He next attacked Ghur whose residents hid their valuables in an inaccessible cave, but he was able to plunder the wealth by lowering his men in crates.<ref name=Variorum>{{cite book|title=The Medieval History of Iran, Afghanistan, and Central Asia|pages= 143–144|publisher=Variorum Reprints|year=1977|author=Clifford Edmund Bosworth|author-link= Clifford Edmund Bosworth}}</ref> Asad's success prompted him to undertake a second expedition in 108-109 AH against Ghur. The poet Thabit Qutna's eulogical poem of Asad recorded by Tabari called it a campaign against the Turks saying, "Groups of the Turks who live between Kabul and Ghur came to you, since there was no place in which they might find refuge from you." Bosworth states that this campaign may have actually taken place in Guzgan or [[Bamiyan]] rather than the purely-[[Persian people|Iranian]] Ghur. He also states that no doubt further sporadic raids continued throughout the Umayyad rule, though not noted by historians. It is known that [[Nasr ibn Sayyar]]'s commander Sulaiman b. Sul had raided Gharchistan and Ghur some time before 739 AD.<ref name=Variorum/> The early history of Ghor is unclear. [[Minhaj-i-Siraj]] in [[Tabaqat-i-Nasiri]] states that Shansab, who established the [[Ghurid dynasty]], was converted by the Arab Caliph Ali which [[Mohammad Habib]] and [[K. A. Nizami]] dismissed as unlikely. He further adds that the Ghurid Amir Faulad assisted [[Abu Muslim]] in overthrowing the Umayyads during the [[Abbasid Revolution]].<ref name="Faulad">{{Cite book|url=https://books.google.com/books?id=iRJuAAAAMAAJ&q=amir+faulad+abu+muslim|title=A Comprehensive History of India: The Delhi Sultanat, A.D. 1206-1526, edited by Mohammad Habib and Khaliq Ahmad Nizami|date=1970|publisher=People's Publishing House|pages=145–46}}</ref> He also recounts a legend about a dispute between two prominent families of the area. They sought the intercession of the Abbasids and the ancestor of the Shansabi family, Amir Banji, was subsequently confirmed as the ruler by [[Harun al-Rashid]].<ref>{{Cite book|last=Wink|first=André|url=https://books.google.com/books?id=bCVyhH5VDjAC&dq=banji+harun+al+rashid&pg=PA95|title=Al- Hind: The slave kings and the Islamic conquest. 2|date=1991|publisher=BRILL|isbn=978-90-04-09509-0|pages=95|language=en}}</ref><ref name=Nab/> No permanent control was ever established on Ghur. According to Bosworth, its value was only for its slaves which could best be obtained in occasional temporary raids.<ref name=Variorum/> Arab and Persian geographers never considered it important.<ref>{{cite book|title=The Medieval History of Iran, Afghanistan, and Central Asia|pages= 139–138|publisher=Variorum Reprints|year=1977|author=Clifford Edmund Bosworth|author-link= Clifford Edmund Bosworth}}</ref> In all sources it is cited as supplying slaves to slave markets in Khorasan, indicating it had a mostly "infidel" population. [[Istakhari]] called it a land of infidels (''dar al-kufr'') annexed to Islamic domain because of its Muslim minority. However ''[[Hudud al-'Alam]]'' stated it had a mostly-Muslim population.<ref>{{cite book|url=https://books.google.com/books?id=ZifdBLwZisQC&pg=PA84|title=Studies in Arabic and Islam: Proceedings of the 19th Congress : Halle 1998|page= 143|publisher=[[Peeters Publishers]]|year=1977|author=Stefan Leder|isbn=9789042911208}}</ref> ====Ghazni==== The pre-Ghaznavid royal dynasty of [[Ghazni]] were the [[Lawiks]]. Afghan historian [[Abdul Hai Habibi|'Abd al-Hayy Habibi Qandahari]], who in 1957 examined a manuscript containing tales about miracles (''[[karamat]]'') of ''[[Sheikh (Sufism)|Shaikh]]'' Sakhi Surur of [[Multan]], who lived in the 12th century, concluded it dated to 1500. He recorded one of its anecdotes which records the history of Ghazni by the Indian traditionalist and lexicographer Radi ad-Din Hasan b. Muhammad al-Saghani (died 1252) from Abu Hamid az-Zawuli. According to it, a great mosque at Ghazni was earlier a great idol-temple built in honor of the Rutbils and Kabul-Shahs by Wujwir Lawik. His son Khanan converted to Islam and was sent a poem by the Kabul-Shah saying, "Alas! The idol of Lawik has been interred beneath the earth of Ghazni, and the Lawiyan family have given away [the embodiment of] their kingly power. I am going to send my own army; do not yourself follow the same way of the Arabs [ie., Islam]."<ref>{{cite book|title=The Medieval History of Iran, Afghanistan, and Central Asia|pages= 301–302|publisher=Variorum Reprints|year=1977|author=Clifford Edmund Bosworth|author-link= Clifford Edmund Bosworth}}</ref> Habibi continues stating that Khanan later reconverted to the faith of the Hindu-Shahis. His grandson Aflah however upon assuming power demolished the idol-temple and built a mosque in its place. When the saint Surur arrived at the mosque, he is said to have found the idol of Lawik and destroyed it.<ref>{{cite book|title=The Medieval History of Iran, Afghanistan, and Central Asia|pages= 302–303|publisher=Variorum Reprints|year=1977|author=Clifford Edmund Bosworth|author-link= Clifford Edmund Bosworth}}</ref> The ''[[Siyasatnama]]'' of [[Nizam al-Mulk]], the ''[[Tabaqat-i Nasiri]]'' of [[Minhaj-i-Siraj|Juzjani]] and the ''Majma' al-ansāb fī't-tawārīkh'' of Muhammad Shabankara'i (14th century) mention Lawik. Juzjani gives the Lawik who was defeated by Alp-tegin the Islamic ''[[Kunya (Arabic)|kunya]]'' of ''Abu Bakr'', though Shabankara'i claims he was a pagan. A variant of his name appears as Anuk in ''Tabaqat-i Nasiri''.<ref>{{cite book|title=The Medieval History of Iran, Afghanistan, and Central Asia|pages= 298|publisher=Variorum Reprints|year=1977|author=Clifford Edmund Bosworth|author-link= Clifford Edmund Bosworth}}</ref> The Buddhist monastery of [[Tepe Sardar]] existed near Ghazni during the time Arabs were threatening the Ghazni region, and was destroyed by a fire possibly due to the first Muslim invasion of the region in 671–672 CE. It may have been the "Šāh Bahār" (temple of the king) mentioned as having been destroyed by Muslims in 795 CE in the ''[[Kitab al-Buldan (Ya'qubi book)|Kitab al-Buldan]]''.<ref>{{cite web|url=https://ghazni.bdus.cloud/buddhist/the-buddhist-site-of-tapa-sardar|title=The Buddhist site of Tapa Sardar|work=Italian Archaeological Mission in Afghanistan|archive-url=https://web.archive.org/web/20211019030419/https://ghazni.bdus.cloud/buddhist/the-buddhist-site-of-tapa-sardar|archive-date=19 October 2021|url-status=live|access-date=19 June 2024}}</ref> ====Bamyan==== [[Ya'qubi]] states that the lord of [[Bamyan]] called the ''Shēr'', was converted to Islam under Caliph [[Al-Mansur]] (d.775) by Muzahim b. Bistam, who married his son Abu Harb Muhammad to his daughter. However, in his history he changes it to the rule of [[Al-Mahdi]] (r. 775–785). Ya'qubi also states that [[Al-Fadl ibn Yahya]] made Hasn, Abu Harb Muhammad's son, as the new ''Shēr'' after his successful campaign in [[Ghorband]].<ref name=Scarcia>{{cite journal|journal=East and West|volume=14|jstor=29754702 |title=A Preliminary Report on a Persian Legal Document of 470-1078 found at Bāmiyān|author=Gianroberto Scarcia|issue=1/2|publisher=[[Istituto Italiano per l'Africa e l'Oriente]]|page=74|author-link=:it:Gianroberto Scarcia|year=1963}}</ref> Ya'qubi states that the ruler of Bamiyan had accompanied an expedition dispatched by [[Al-Fadl ibn Yahya]] in 792–793 against the Kabul Shahi.<ref name=Jibril/> Later Shers remained Muslim and were influential at the Abbasid court. However, Muslim sources describe the Saffarid ruler [[Ya'qub ibn al-Layth al-Saffar]] looting Bamiyan's pagan idols. A much later historian Shabankara'i claims that Alp-Tegin obtained conversion of the Sher to Islam in 962. It seems there were lapses to Buddhism among some of the rulers as the Muslim influence grew weak. However, there is no evidence about the role of Buddhism during these periods or whether Buddhist monasteries remained the center of religious life and teaching.<ref name=monasteries>{{cite journal|journal=Islam in Asia|volume=1|author=Clifford Edmund Bosworth|title=The Coming of Islam in Afghanistan|editor1=Yohanan Friedmann|editor1-link=Yohanan Friedmann|editor2=Raphael Israeli|editor2-link=Raphael Israeli|editor3=Anthony Hearle Johns|publisher=Magnes Press|page=13|author-link=Clifford Edmund Bosworth}}</ref> ==Post-Arab rule== {{See also|Anarchy at Samarra}} [[File:Map of the Samanid amirate at the death of Nasr II, 943.svg|thumb|300px|Area controlled by the Samanids in 943 under [[Nasr II]]]] ===Tahirids=== Khurasan was the base for early recruitment of Abbasid armies, especially the Abbasid takeover received support from Arab settlers aiming to undermine the important sections of non-Muslim aristocracy. The Abbasids succeeded in integrating Khorasan and the East into the central Islamic lands. The state was gradually [[Persianized]] through political influence and financial support of the ''[[dihqan]]s''. Al-Ma'mun emerged as the victor in the Fourth Fitna with the help of Khorasani forces and appointed [[Tahir ibn Husayn]] as the governor. Later, he appointed [[Talha ibn Tahir|Talha]] as the governor in 822 and Abdallah in 828.{{sfn|Bosworth|1969|p=103}}{{sfn|Kennedy|2016|p=139}}{{sfn|Esposito|2000|p=38}} But after the [[Anarchy at Samarra|Abbasid decline]], Khorasan ended up turning into a virtually independent state under a Persian ''mawla'' who rose to favour under Al-Ma'mun.<ref>{{cite book|url=https://books.google.com/books?id=g2m7_R5P2oAC&pg=PA112|title=Al-Hind, the Making of the Indo-Islamic World: Early Medieval India and the Expansion of Islam 7th-11th Centuries|publisher=Brill|page=112|isbn=0391041738|year=2002}}</ref> According to [[Ibn Khordadbeh]], the Shah of Kabul had to send 2,000 [[Oghuz Turks|Oghuz]] slaves worth 600,000 dirhams as annual tribute to the governor of Khorasan [[Abdallah ibn Tahir]] (r. 828–845).<ref>{{cite book|url=https://books.google.com/books?id=8c3QAgAAQBAJ&pg=PA174|title=Nomadism in Iran: From Antiquity to the Modern Era|publisher=Oxford University Press|page=174|isbn=9780199330799|year=2014}}</ref> In addition to the Oghuz slaves, he also had to pay an annual tribute of 1.5 million dirhams.<ref>{{cite book|url=https://books.google.com/books?id=CgawCQAAQBAJ&pg=PA257|title=Historic Cities of the Islamic World|publisher=Brill|page=257|isbn=9789047423836|date=2007-12-26}}</ref> Mid-9th century, one of their tributaries Abu Da'udid or the [[Banijurids|Banijurid]] Amir Da'ud b. Abu Da'ud Abbas, undertook an obscure campaign into eastern Afghanistan and Zabulistan that was profitable. It is recorded that in 864 [[Muhammad ibn Tahir]] sent two elephants captured at Kabul, idols and aromatic substances to the caliph.<ref>{{cite book|url=https://books.google.com/books?id=hvx9jq_2L3EC&pg=PA99|title=The Cambridge History of Iran, Volume 4|author=William Bayne Fisher|page=99|publisher=[[Cambridge University Press]]|isbn=9780521200936|date=1975-06-26}}</ref> ===Saffarids=== [[File:Saffarid dynasty 861-1003.png|thumb|400px|Saffarid rule at its greatest extent under Ya'qub b. al-Layth al-Saffar]] ====Ya'qub b. al-Layth==== The Tahirid rule was overthrown by [[Ya'qub ibn al-Layth al-Saffar]] of Sistan, the first independent Iranian ruler in the post-Islamic era. He also fought against the Abbasid Caliphate.<ref>{{cite book|url=https://books.google.com/books?id=qwd5AgAAQBAJ&pg=PA153|title=Continuity in Iranian Identity: Resilience of a Cultural Heritage|author=Fereshteh Davaran|publisher=Routledge|page=153|isbn=9781134018314|date=2010-02-26}}</ref> He joined the [[Ayyār|'ayyar]] band of Salih b. al-Nadr/Nasr, who was recognised as Bust's amir in 852. al-Nasr aimed at taking over whole of Sistan and drove out the Tahirid governor in 854, with Sistan ceasing to be under the direct control of the Caliphate. al-Nasr himself was overthrown by Dirham b. Nasr who was overthrown by Ya'qub in 861.<ref name=Bayne>{{cite book|url=https://books.google.com/books?id=hvx9jq_2L3EC&pg=PA109|title=The Cambridge History of Iran, Volume 4|author=William Bayne Fisher|page=109|publisher=[[Cambridge University Press]]|isbn=9780521200936|date=1975-06-26}}</ref> Ya'qub and his brother [[Amr ibn al-Layth|Amr]] advanced as far as [[Baghdad]] and to Kabul itself in eastern Afghanistan with their dynamism, advancing along the historic route taken by the modern [[Highway 1 (Afghanistan)|Lashkargah-Qandahar-Ghazni-Kabul road]]. Their eastern campaigns are documented by Arabic sources of [[Al-Masudi]]'s ''[[The Meadows of Gold|Murūj adh-dhahab]]'', [[Ibn al-Athir]]'s ''[[The Complete History|al-Kāmil fi't-tā'rīkh]]'' and ''[[Tarikh-i Sistan|Tarikh-e-Sistan]]''. The Persian historian [[Gardizi]]'s ''Zain al-akhbār'' also mentions the [[Saffarid]] campaigns.<ref name="Clifford Edmund Bosworth 300">{{cite book|title=The Medieval History of Iran, Afghanistan, and Central Asia|author=Clifford Edmund Bosworth|page=300|publisher=Variorum Reprints|author-link=Clifford Edmund Bosworth}}</ref> Salih fled to ar-Rukhkhaj or Arachosia, where he received the help of the Zunbil. Both Salih and the Zunbil were killed by Ya'qub in 865.<ref name=Bayne/> [[Abu Sa'id Gardezi]] mentions that Ya'qub advanced from Sistan to Bust and occupied the city. From here he advanced to [[Panjwayi|Panjway]] and Tiginabad (two of the chief towns of Arachosia), defeating and killing the Zunbil, though the date is not given. This account matches with that of ''Tarikh-e-Sistan''.<ref name=IsMEO/> [[Satish Chandra]] states that, "We are told that it was only in 870 AD that Zabulistan was finally conquered by one Yakub who was the virtual ruler of the neighbouring Iranian province of Siestan. The king was killed and his subjects were made Muslims."<ref name= "Satish1">{{cite book|url= https://books.google.com/books?id=L5eFzeyjBTQC&pg=PA17|title= Medieval India: From Sultanat to the Mughals-Delhi Sultanat (1206–1526) – Part One|publisher=Har-Anand Publishers|author=Satish Chandra|page=17|author-link= Satish Chandra|isbn= 9788124110645|year= 2004}}</ref> [[Muhammad Aufi]]'s ''[[Jawami ul-Hikayat]]'' meanwhile states that during his invasion of Zabul, Yaqub employed a ruse to surrender after being allowed to pay homage to the ruler along with his troops, lest they disperse and become dangerous to both sides. Yaqub's troops "carried their lances concealed behind their horses and were wearing coats of mail under their garments. The Almighty made the army of Rusal (probably Rutbil), blind, so that they did not see the lances. When Yaqub drew near Rusal, he bowed his head as if to do homage, but raised a lance and thrust it in the back of Rusal so that he died on the spot. His people also fell like lightning upon the enemy, cutting them down with their swords and staining the earth with the blood of the enemies of the religion. The infidels when they saw the head of Rusal upon the point of a spear took to flight and great bloodshed ensued. This victory, which he achieved, was the result of treachery and deception, such as no one had ever committed."<ref name=Ashirbadi>{{cite book|title=The Sultanate of Delhi, 711–1526 A.D.: Including the Arab Invasion of Sindh, Hindu Rule in Afghanistan and Causes of the Defeat of the Hindus in Early Medieval Age|author=Ashirbadi Lal Srivastava|page=33|publisher=Shiva Lal Agarwala|author-link=Ashirbadi Lal Srivastava}}</ref> [[Ashirbadi Lal Srivastava]] states that after this victory by Yaqub over Zabul, the position of Lallya alias Kallar, the Brahmin minister who had overthrown the last Kshatriya king of Kabul Lagaturman, seems to have become untenable. He shifted his capital to [[Attock Khurd|Udhaband]] in 870 AD. Lallya, credited as an able and strong ruler by [[Kalhana]] in ''[[Rajatarangini]]'', was driven out by Ya'qub from Kabul within a year of his usurpation according to Srivastava.<ref name=Ashirbadi/> Gardezi states that after defeating the Zunbil, Yaqub then advanced into Zabulistan and then Ghazni, whose citadel he destroyed and forced Abu Mansur Aflah b. Muhammad b. Khaqan, the local ruler of nearby [[Gardez]], to tributary status. ''Tarikh-e-Sistan'' however in contrast states that he returned to Zarang after killing Salih. This campaign may be related to Gardizi's account of a later expedition in 870 where he advanced as far as Bamiyan and Kabul.<ref name=IsMEO>{{cite book|title=Sīstān Under the Arabs: From the Islamic Conquest to the Rise of the Ṣaffārids (30-250/651-864)|author=Clifford Edmund Bosworth|page=120|publisher=IsMEO|author-link=Clifford Edmund Bosworth}}</ref> Salih b. al-Hujr, described as a cousin of the Zunbil, was appointed as the Saffarid governor of ar-Rukhkhaj, but rebelled two years after Zunbil's death and committed suicide to avoid capture.<ref name=IsMEO/> Ya'qub had captured several relatives of the Zunbil's family after defeating Salih b. al-Nasr. Zunbil's son escaped from captivity in 869 and quickly raised an army in al-Rukhkhaj, later seeking refuge with the Kabul-Shah.<ref name=Bayne2>{{cite book|url=https://books.google.com/books?id=hvx9jq_2L3EC&pg=PA111|title=The Cambridge History of Iran, Volume 4|author=William Bayne Fisher|page=111|publisher=[[Cambridge University Press]]|isbn=9780521200936|date=1975-06-26}}</ref> Per Gardizi, Ya'qub undertook another expedition in 870 which advanced as far as Kabul and Bamiyan.<ref name=IsMEO/> According to ''Tarikh-e-Sistan'', Bamiyan was captured in 871<ref name=Bayne2/> and its idol-temple was plundered.<ref name="Clifford Edmund Bosworth 300"/> Ya'qub defeated Kabul in 870 and again had to march there in 872 when the Zunbil's son took possession of Zabulistan. Ya'qub captured him from the fortress of Nay-Laman where he had fled.<ref>{{cite book|title=The Medieval History of Iran, Afghanistan, and Central Asia|author=Clifford Edmund Bosworth|page=121|publisher=Variorum Reprints|author-link=Clifford Edmund Bosworth}}</ref> In 871, Ya'qub sent 50 gold and silver idols he gained by campaigning from Kabul to Caliph [[Al-Mu'tamid]], who sent them to Mecca.<ref>{{cite book|url=https://books.google.com/books?id=hvx9jq_2L3EC&pg=PA112|title=The Cambridge History of Iran, Volume 4|author=William Bayne Fisher|page=112|publisher=[[Cambridge University Press]]|isbn=9780521200936|date=1975-06-26}}</ref> According to Tabaqat-i-Nasiri, Ghor, which was ruled by [[Amir Suri]] in the 9th century, entered into a war against Ya'qub, but escaped conquest due to its difficult and mountainous terrain.<ref name="Nab"/> ====Amr b. al-Layth==== After Ya'qub's death in 879, Al-Mu'tamid recognised his brother and successor 'Amr b. al-Layth (r. 879–902), as governor of Khorasan, [[Isfahan province|Isfahan]], [[Fars province|Fars]], Sistan and Sindh.<ref name=Bayne1>{{cite book|url=https://books.google.com/books?id=R63ACQAAQBAJ&pg=PA816|title=The Cambridge History of Iran, Volume 4|author=William Bayne Fisher|page=112|publisher=[[Cambridge University Press]]|isbn=9781317451587|date=June 2015}}</ref> The caliph however announced divesting him of all his governorships in 885 and reappointed Muhammad b. Tahir as the governor of Khorasan.<ref>{{cite book|title=Persian historiography to the end of the Twelfth century|author=Julie Scott Meisami|page=121|publisher=[[Edinburgh University Press]]|year=1999}}</ref> He was reappointed governor of Khorasan in 892 by [[Al-Mu'tadid]].<ref>{{cite book|url=https://books.google.com/books?id=ca4ABAAAQBAJ&pg=PT127|title=A History of Afghanistan: Volumes 1 and 2|author=Percy Sykes|page=127|publisher=Routledge|year=2014|isbn=9781317845867}}</ref> Amr led an expedition as far as Sakawand in the [[Logar River|Logar Valley]], between Ghazni and Kabul, described as a Hindu pilgrimage-centre. In 896, he sent idols captured from Zamindawar and the Indian frontier, including a female copper idol with four arms and two girdles of silver set with jewels and pulled on a trolley by camels, to Baghdad.<ref name=Bayne1/> [[Abu'l-Fadl Bayhaqi|Al-Baihaki]] mentions Sakawand as a pass from Kabul to India. It was situated at or near [[Jalalabad]].<ref name=culture/> The idol taken from somewhere in eastern Afghanistan by Amr was displayed for three days in Basra and then for three days in Baghdad. [[Jamal J. Elias]] states that it may have been of [[Lakshmi]] or Sukhavati at Sakawand. Al-Masudi emphasises the attention it received as a spectacle, with crowds gathering to gawk at it.<ref>{{cite book|url=https://archive.org/details/aishascushionrel0000elia|url-access=registration|title=Aisha's Cushion: Religious Art, Perception, and Practice in Islam|author=Jamal J. Elias|page=[https://archive.org/details/aishascushionrel0000elia/page/116 116]|publisher=Harvard University Press|year=2012|author-link=Jamal J. Elias|isbn=9780674067394}}</ref> Aufi states that Amr had sent Fardaghan as the prefect over Ghazni and he launched the raid on Sakawand, which was a part of the territory of Kabul Shahi and had a temple frequented by Hindus. The Shah of Kabul at this time was Kamaluka, called "Kamalu" in Persian literature. Fardaghan entered it and succeeded in surprising Sakawand.<ref>{{cite book|title=Sraddhānjali, Studies in Ancient Indian History: D.C. Sircar Commemoration Volume|author1=Dineshchandra Sircar|author1-link=Dineshchandra Sircar|author2=Kalyan Kumar Dasgupta|author3=Pranab Kumar Bhattacharya|author4=Rabin Dev Choudhury|page=162|publisher=Sundeep Prakashan |year=1988}}</ref> Sakawand was plundered,<ref name=culture>{{cite book|title=The History and Culture of the Indian People: The age of imperial Kanauj|author=R.C. Majumdar|page=113|publisher=Bharatiya Vidya Bhavan |year=1964|author-link=R.C. Majumdar}}</ref> and its temple destroyed.<ref name=Kamalu>{{cite book|title=Central Asia|page=142|publisher=Area Study Centre (Central Asia), University of Peshawar |year=1982}}</ref> Kamalu counter-attacked Fardaghan, who realising his forces were no match for his, resorted to spreading a false rumour that he knew his intentions and had organised a formidable army against him with 'Amr on the way to join him. The rumour had the desired effect and the opposing army slowed its advance, knowing that they could be ambushed and slaughtered if they advanced impetuously into the narrow defiles. Meanwhile, Fardaghan received reinforcements from Khorasan according to Aufi.<ref name=Quaid>{{cite journal|journal=Journal of Central Asia|volume= 1|issue= 1|pages=97–98|publisher=Centre for the Study of the Civilizations of Central Asia, [[Quaid-i-Azam University]]|year=1978|title=Kamalu's invasion of Ghazna|author=Abdur Rahman}}</ref> According to Aufi, he cleverly averted the danger.<ref name=Kamalu/> ''Tarikh-e-Sistan'' does not mention any attack by Fardaghan on Sakawand however, instead beginning with the attack by Kamalu. Per it, when Amr was in [[Gurgan]], he heard that ''Nasad Hindi'' and ''Alaman Hindi'' had allied and invaded Ghazni. The Saffarid governor 'Fard 'Ali was defeated and fled.<ref name=Quaid/> ===Samanids=== [[File:Iran circa 1000AD.png|thumb|400px|Transoxian, [[Greater Khorasan|Khorasan]] and Iran at the beginning of 11th century]] The [[Samanids]] came to rule over areas including Khorasan, Sistan, Tokharistan and [[Kabulistan]] after [[Isma'il ibn Ahmad|Ismail]] (r. 892–907) in 900 AD had defeated the Saffarids, who had taken over Zabulistan and the Kabul region.<ref>{{cite book|title=Journal of Asian Civilisations, Volumes 21–22|page= 200|publisher=Taxila Institute of Asian Civilisations, [[Quaid-i-Azam University]]|year=1998}}</ref> The Turks were highly noted for their martial prowess by the Muslim sources and were in high demand as slave-soldiers (''[[Ghilman|ghulam]]'', ''[[mamluk]]'') by the Caliphate in Baghdad and the provincial emirs. The slaves were acquired either in military campaigns or through trade. The Samanids were heavily involved in this trade of Turkish slaves from lands to the north and east of their state. As the enslavement was limited to non-Muslims and with the Turks increasingly adopting Islam beyond Samanid borders, they also entered [[Transoxiana]] as free men due to various causes.<ref>{{cite book|url=https://books.google.com/books?id=ML2bBQAAQBAJ&pg=PA1|title=The Age of the Seljuqs|author=Edmund Herzig|page= 1|publisher=I.B. Tauris|year=2014|author-link=Edmund Herzig|isbn=9781780769479}}</ref> The [[Ghaznavids]] arose indirectly from the atmosphere of disintegration, palace revolutions and succession putsches of the Samanid Empire.<ref name=Bayne165>{{cite book|url=https://books.google.com/books?id=hvx9jq_2L3EC&pg=PA165|title=The Cambridge History of Iran, Volume 4|author=William Bayne Fisher|page=165|publisher=[[Cambridge University Press]]|isbn=9780521200936|date=1975-06-26}}</ref> [[Sabuktigin|Abu-Mansur Sabuktigin]] was one of the Samanid slave guards who rose from the ranks to come under the patronage of the Chief ''[[Hajib]]'' [[Alp-Tegin]].<ref name=Volume5/> After the death of the Samanid Amir [[Abd al-Malik I (Samanid emir)|'Abd al-Malik b. Nuh]], the commander of forces in Khorasan Alp-Tegin along with the ''[[vizier]]'' [[Muhammad Bal'ami]] attempted to place a ruler of their choice on the throne. The attempt failed however and Alp-Tegin decided to withdraw to the eastern fringes of the empire. Per the sources, he wanted to flee to India to avoid his enemies and earn divine merit by raiding the Hindus. He did not intend to capture Ghazni, but was forced to take it when he was denied transit by its ruler.<ref name=BosworthGhaznavid>{{cite book|title=The Ghaznavids: Their empire in Afghanistan and eastern Iran, 994 – 1040|author=C.E. Bosworth|page=1963|publisher=[[Edinburgh University Press]]|author-link=C.E. Bosworth}}</ref> Alp-Tegin proceeded with his small force of ''ghulams'' and ''[[ghazis]]'' (200 ghulams and 800 ghazis according to ''[[Siyasatnama]]'', while ''Majma al-ansab'' of Muhammad b. Ali al-Shabankara'i (d. 1358) states 700 ghulams and 2,500 [[Tajiks]]). En route, he subdued the Iranian ''Sher'' of Bamiyan and the Hindu-Shahi king of Kabul. He then came to Ghazni, whose citadel he besieged for four months and wrested the town from its ruler, Abu 'Ali or [[Abu Bakr Lawik]] or Anuk. The origin of this chief was Turkic, though it is not known if he was a Samanid vassal or an independent ruler. [[Josef Markwart]] suggests he was a late representative of the Zunbils.<ref name=BosworthGhaznavid/> The Lawik dynasty of Ghazni was linked to the Hindu Shahi dynasty through marriage.<ref name=Bayne165/> Alp-Tegin was accompanied by Sabuktigin during the conquest of Ghazni.<ref name=Volume5>{{cite book|url=https://books.google.com/books?id=16yHq5v3QZAC&pg=PA6|title=The Cambridge History of Iran, Volume 5|author=John Andrew Boyle|page=165|publisher=[[Cambridge University Press]]|author-link=John Andrew Boyle|isbn=9780521069366|year=1968}}</ref> [[Minhaj al-Siraj Juzjani]] states that Alp-Tegin had his position regularised by Amir [[Mansur I|Mansur b. Nuh]] through an investiture, however ''Siyasatnama'' mentions an expedition against Alp-Tegin from Bukhara which was defeated outside Ghazni. His ambiguous, semi-rebel status seems to be reflected in his coins, with two of his coins minted at [[Parwan]] mentioning his authority from the Samanids to mint coins only in an indirect way.<ref name=BosworthGhaznavid/> He was succeeded by his son [[Abu Ishaq Ibrahim of Ghazna|Abu Ishaq Ibrahim]], who lost Ghazni to [[Abu Ali Lawik]], the son of its expelled ruler. He recovered it however with Samanid help in 964–65.<ref name=Comprehensive>{{cite book|title=A Comprehensive History of India – Page 345|author=Ram Sharan Sharma|page=345|publisher=[[Orient Blackswan|Orient Longmans]]|author-link=Ram Sharan Sharma}}</ref> Alp-Tegin's ghulams were reconciled with the Samanids in 965 but maintained their autonomy.<ref>{{cite book|url=https://books.google.com/books?id=ST6TRNuWmHsC&pg=PA359|title=The Cambridge History of Early Inner Asia, Volume 1|author=Denis Sinor|page=359|publisher=[[Cambridge University Press]]|author-link=Denis Sinor|isbn=9780521243049|date=March 1990}}</ref> After Ibrahim's death in 966, Bilge-Tigin was made the successor and he acknowledged the Samanids as his overlords. He died in 364 AH (974–975 AD) while besieging Gardez and was succeeded by [[Böritigin of Ghazni|Böritigin]] or Piri.<ref name=":2">{{cite book|url=https://books.google.com/books?id=Y7QWEAAAQBAJ&pg=PA83|title=Resistance at the Edge of Empires: The Archaeology and History of the Bannu basin from 1000 BC to AD 1200|author=Cameron A. Petrie|page=83|publisher=[[Oxbow Books]]|author-link=Denis Sinor|isbn=9781785703065|date=28 December 2020}}</ref> Piri's misrule led to resentment among the people who invited Abu Ali to take back the throne. The Kabul Shahis allied with him and the king, most likely [[Jayapala]], sent his son to assist Lawik in the invasion. According to the ''Majba al-Ansab'', Sabuktigin managed to convince the Muslim Turks living in Ghazni, Gardez and Bamyan to participate in a jihad against the Hindus. When the allied forces reached near [[Charkh District|Charkh]] on [[Logar River]], they were attacked by Sabuktigin who killed and captured many of them, while also capturing ten elephants. Lawik as well his ally were both killed in the battle. Piri was expelled and Sabuktigin became governor in 977 AD. The accession was endorsed by the Samanid ruler [[Nuh II]].<ref name=Strugglemajumdar>{{cite book|title=The History and Culture of the Indian People: The struggle for empire|author=Ramesh Chandra Majumdar|page=3|publisher=Bharatiya Vidya Bhavan|year=1966|author-link=Ramesh Chandra Majumdar}}</ref><ref name=":2"/> Hudud al-'Alam states that Ghor was under the overlordship of [[Farighunids]].<ref name="Faulad"/> Both Gardezi and [[Abu'l-Fadl Bayhaqi|Baihaqi]] state that in 379 AH (979–980 AD), the Samanid Amir [[Nuh II|Nuh b. Mansur]] dispatched an expedition under Abu Ja'far Zubaidi to conquer Ghur, but he had to return after capturing several forts. As the Samanid governor of Zabulistan and Ghazni, Sabuktigin attacked it several times.<ref>{{cite book|title=The Medieval History of Iran, Afghanistan, and Central Asia|pages= 147|publisher=Variorum Reprints|year=1977|author=Clifford Edmund Bosworth|author-link= Clifford Edmund Bosworth}}</ref> He was able to conquer eastern Ghur after initial set-backs and was acknowledged as a sovereign by [[Muhammad ibn Suri]].<ref name=Nab/> ===Ghaznavids=== [[File:Ghaznavid Empire 975 - 1187 (AD).PNG|400px|thumb|centre|Maximum extent of [[Ghaznavids|Ghzanavid Empire]] in 1030 AD]] ====Sabuktigin==== =====First war against Jayapala===== The Ghaznavid campaigns from the time of Sabuktigin are recorded as ''[[jihad]]'' against the people of ''al-Hind'' to destroy idolatry and replace it by expanding Islam. The Kabul Shahis only retained [[Lamghan]] in the Kabul-Gandhara area by the time of Alp-Tegin. According to [[Firishta]], Sabuktigin had already begun raiding Multan and Lamghan under Alp-Tegin for slaves. This precipitated an alliance between the Shahi ruler [[Jayapala]], Bhatiya and Sheikh [[Hamid Khan Lodi]].<ref>{{cite book|url=https://books.google.com/books?id=g2m7_R5P2oAC&pg=PA126|title=Al-Hind, the Making of the Indo-Islamic World: Early Medieval India and the Expansion of Islam 7th-11th Centuries|publisher=Brill|pages=126, 328|isbn=0391041738|year=2002}}</ref><ref>{{Cite book|title = The Hindu Sahis of Afghanistan and the Punjab, A.D. 865-1026: A Phase of Islamic Advance Into India|author=Yogendra Mishra|publisher=Vaishali Bhavan|year=1972|pages=100–101}}</ref> He crossed the [[Khyber Pass]] many times and raided the territory of Jaipala.<ref name=Sastri>{{cite book|title=History of India, Volume 2|author=K. A. Nilakanta Sastri|publisher=Viswanathan|page=10|author-link=K. A. Nilakanta Sastri}}</ref> Jayapala appointed Sheikh Hamid Khan Lodi as ruler over Multan and Lamghan, but Sabuktigin broke up this alliance after his accession through diplomatic means, convincing Lodi to acknowledge him as an overlord. Although Ferishta had identified Lodi and his family as [[Afghan (ethnonym)|Afghans]], historian Yogendra Mishra pointed out that this was an error, since they were descended from the Qurayshite Usama ibn Lawi ibn Ghalib.<ref>{{Cite book|title = The Hindu Sahis of Afghanistan and the Punjab, A.D. 865-1026: A Phase of Islamic Advance Into India|author=Yogendra Mishra|publisher=Vaishali Bhavan|year=1972|pages=100–103}}</ref> Sabuktigin plundered the forts in the outlying provinces of the Kabul Shahi and captured many cities, acquiring huge booty.<ref name=Strugglemajumdar/> He also established Islam at many places. Jaipal in retaliation marched with a large force into the valley of Lamghan ([[Jalalabad]]) where he clashed with Sabuktigin and his son. The battle stretched on several days until a snow storm affected Jaipala's strategies, forcing him to plead for peace.<ref name=Sastri/> Sabuktigin was inclined to grant peace to Jayapala but his son [[Mahmud of Ghazni|Mahmud]] wanted total victory.<ref name=EralySabuk/> Jaypala upon hearing Mahmud's plans warned Sabuktigin, "You have seen the impetuosity of the Hindus and their indifference to death... If therefore, you refuse to grant peace in the hope of obtaining plunder, tribute, elephants and prisoners, then there is no alternative for us but to mount the horse of stern determination, destroy our property, take out the eyes of our elephants, cast our children into fire, and rush out on each other with sword and spear, so that all that will be left to you to conquer and seize is stones and dirt, dead bodies, and scattered bones." Knowing Jaipala could carry out his threat, Sabuktigin granted him peace in return for his promise of paying tribute and ceding some of his territory.<ref name=EralySabuk>{{cite book|url=https://books.google.com/books?id=vyEoAwAAQBAJ&pg=PT54|title=The Age of Wrath: A History of the Delhi Sultanate|author=Abraham Eraly|publisher=Penguin UK|page=54|author-link=Abraham Eraly|isbn=9789351186588|date=April 2015}}</ref> =====Second war against Jayapala===== After making peace with Sabuktigin, Jayapala returned to Waihind but broke the treaty and mistreated the amirs sent to collect the tribute. Sabuktigin launched another invasion in retaliation. While the mamluks remained the core of his army, he also hired the ''[[Afghan (ethnonym)|Afghans]]'', especially the [[Ghilji]] tribe, in his dominion.<ref>{{cite book|url=https://books.google.com/books?id=xx7ICQAAQBAJ&pg=PA87|title=Warfare in Pre-British India – 1500BCE to 1740CE|author=Kaushik Roy|publisher=Routledge|page=87|isbn=9781317586920|date=2015-06-03}}</ref> According to al-Utbi, Sabuktigin attacked Lamghan, conquering it and burning the residences of the "infidels", while also demolishing its idol-temples and establishing Islam.<ref>{{cite book|title=Essays on Islam and Indian History|author=Richard Maxwell Eaton|publisher=Oxford University Press|page=98}}</ref> He proceeded to slaughter the non-Muslims, destroyed their temples and plundered their shrines. It is said that his forces even risked frostbite on their hands while counting the large booty.<ref>{{cite book|url=https://books.google.com/books?id=0IquM4BrJ4YC&pg=PT212|title=India: A History. Revised and Updated|author=John Keay|publisher=Grove/Atlantic Inc.|page=212|isbn=9780802195500|date=2011-04-12}}</ref> To avenge the savage attack of Sabuktigin, Jayapala, who had earlier taken his envoys as hostage, decided to go to war again in revenge. According to al-Utbi, he assembled an army of 100,000 against Sabuktigin. The much later account of Ferishta states that it included troops from [[Kanauj]], [[Ajmer]], [[Delhi]] and [[Kalinjar]]. The two sides fought on an open battlefield in Laghman. Sabuktigin divided his army into packs of 500 who attacked the Indians in succession. After sensing that they were weakened, his forces mounted a concerted attack. The forces of Kabul Shahi were routed and those still alive were killed in the forest or drowned in the river.<ref>{{cite book|url=https://books.google.com/books?id=0IquM4BrJ4YC&pg=PT212|title=India: A History. Revised and Updated|author=John Keay|publisher=Grove/Atlantic Inc.|pages=212–213|isbn=9780802195500|date=2011-04-12}}</ref> The second battle that took place between Sabuktigin and Jayapala in 988 AD, resulted in the former capturing territory between Lamghan and [[Peshawar]]. Al-Utbi also states that the Afghans and [[Ghaljis|Khaljis]], living there as nomads, took the oath of allegiance to him and were recruited into his army.<ref name=Raza>{{cite journal|journal=Proceedings of the Indian History Congress|title=The Afghans and their relations with the Ghaznavids and the Ghurids|author=Syed Jabir Raza|publisher=Indian History Congress|page=786|author-link=Jabir Raza}}</ref> He helped [[Nuh II]] in expelling the rebel and heretic [[Simjurids|Abu Ali Simjur]] from Khorasan, resulting in its governorship being given to Sabuktigin who appointed Mahmud as his deputy there. He also appointed [[Ismail of Ghazni|Ismail]] as the successor to his kingdom and died in 997. A succession war erupted between Ismail and Mahmud, with the latter gaining the throne in 998.<ref>{{cite book|url=https://books.google.com/books?id=AXAABAAAQBAJ&pg=PA187|title=A History of Afghanistan: Volumes 1 and 2|author=Percy Sykes|publisher=Routledge|page=187|author-link=Percy Sykes|isbn=9781317845874|date=2014-07-10}}</ref> ====Mahmud==== [[File:Mahmud in robe from the caliph.jpg|thumb|400px|centre|Mahmud receives a robe from Caliph [[Al-Qadir]]; painting by [[Rashid-al-Din Hamadani]]]] The Samanid amir [[Mansur II]] appointed Bektuzun as Khorasan's governor after Sabuktigin's death. Mahmud however wished to reacquire the governorship after defeating his brother Ismail and his allies. Bektuzun and Fa'iq, the ''de facto'' power behind the Samanid throne, toppled Mansur II as they did not trust him, and replaced him with [[Abd al-Malik II (Samanid emir)|Abu'l Fawaris 'Abd al-Malik]]. Their forces were however defeated in 999 by Mahmud, who acquired all the lands south of Oxus, with even those to the north of the river submitting to him. The Samanid dynasty was later ended by the [[Karakhanids]].<ref>{{cite book|url=https://books.google.com/books?id=hvx9jq_2L3EC&pg=PA159|title=The Cambridge History of Iran, Volume 4|author=Richard N. Frye|pages=158–159|publisher=[[Cambridge University Press]]|author-link=Richard N. Frye|isbn=9780521200936|date=1975-06-26}}</ref> In 1002, Mahmud also defeated the Saffarid Amir [[Khalaf ibn Ahmad]] and annexed Sistan.<ref>{{cite book|url=https://books.google.com/books?id=16yHq5v3QZAC&pg=PA50|title=The Cambridge History of Iran, Volume 5|editor=[[John Andrew Boyle]]|page=50|publisher=[[Cambridge University Press]]|isbn=9780521069366|year=1968}}</ref> =====Wars against Kabul Shahi===== Mahmud systemized plunder raids into India as a long-term policy of the Ghaznavids. The first raid was undertaken in September 1000, but was meant for reconnaissance and identifying the possible terrain and roads that could be used for future raids. He reached Peshawar by September 1001 and was attacked by Jayapala. The two sides [[Battle of Peshawar (1001)|clashed]] on 27–28 November 1001 and Jayapala was captured.<ref>{{cite book|url= https://books.google.com/books?id=xx7ICQAAQBAJ&pg=PA88|title= Warfare in Pre-British India – 1500BCE to 1740CE|publisher=Routledge|author=Kaushik Roy|page=88|isbn= 9781317586920|date= 2015-06-03}}</ref> [[Anandapala]] who was at Waihind, had to pay a heavy ransom to have his father and others released. Jayapala later self-immolated out of shame and Anandpala succeeded him.<ref>{{cite book|url= https://books.google.com/books?id=iUk5k5AN54sC&pg=PA51|title= Advanced Study in the History of Medieval India, Volume 1|publisher=Sterling Publishers|author=Jaswant Lal Mehta|page=51|isbn= 9788120706170|year= 1979}}</ref> Mahmud attacked Anandpala later over his refusal to allow him passage during his attack on [[Multan]], which was controlled by [[Fateh Daud]].<ref>{{cite book|title=The History and Culture of the Indian People: The struggle for empire|author=Ramesh Chandra Majumdar|page=8|publisher=Bharatiya Vidya Bhavan|year=1966|author-link=Ramesh Chandra Majumdar}}</ref> The two sides clashed in 1009 in the eastern side of [[Indus]] at Chhachh, with Mahmud defeating Anandapala and capturing the fort of Bhimnagar.<ref name=SatishChandra>{{cite book|url= https://books.google.com/books?id=L5eFzeyjBTQC&pg=PA18|title= Medieval India: From Sultanat to the Mughals-Delhi Sultanat (1206–1526) – Part One|publisher=Har-Anand Publishers|author=Satish Chandra|page=18|author-link= Satish Chandra|isbn= 9788124110645|year= 2004}}</ref> He was allowed to rule as a feudatory in [[Punjab (region)|Punjab]] for some time.<ref name=SatishChandra/> An alliance between Anandpala's son, Trilochanpala, and Kashmiri troops was later defeated.<ref>{{cite book|url= https://books.google.com/books?id=1eMfzTBcXcYC&pg=PA152|title= Culture and Political History of Kashmir, Volume 1|publisher=M.D. Publications Pvt. Ltd.|author=Prithivi Nath Kaul Bamzai|page=152|author-link= Prithivi Nath Kaul Bamzai|isbn= 9788185880310|year= 1994}}</ref> During the warfare from 990–91 to 1015, Afghanistan, and later Punjab and Multan were lost to the Ghaznavids.<ref name=SatishChandra/> Trilochanpala's rule was limited to eastern Punjab and he gained respite from the Muslim invasions with retreat to [[Sirhind]]. He allied with the [[Chandellas]] and in 1020-21 was defeated at a river called Rahib by Al-Utbi, while Firishta and [[Nizamuddin Ahmad]] identify it as [[Yamuna]].<ref>{{cite book|title=The History and Culture of the Indian People: The struggle for empire|author=Ramesh Chandra Majumdar|page=16|publisher=Bharatiya Vidya Bhavan|year=1966|author-link=Ramesh Chandra Majumdar}}</ref> He was killed in 1021 AD by his mutinous troops and succeeded by Bhimapala,<ref>{{cite journal|journal=Central Asia|issue= 23|title= Janjuas: The Sahis of Udabhanda (Hund)|author=Husain Khan |publisher=Area Study Centre (Central Asia), University of Peshawar|page=78|year=1988}}</ref> who became the last ruler of the Kabul Shahi and was killed fighting the Ghaznavids in 1026 AD. The remnants of the royal family sought refuge with the [[Lohara dynasty]] of Kashmir and Punjab passed under the control of Muslim conquerors.<ref>{{cite book|url= https://books.google.com/books?id=rOVpOG6MPMcC&pg=PA500|title= History of Ancient India|publisher=Motilal Banarsidass|author=Rama Shankar Tripathi|page=500|isbn= 9788120800182|year= 1967}}</ref> Mahmud used his plundered wealth to finance his armies which included mercenaries. The Indian soldiers, presumably Hindus, who were one of the components of the army, with their commander called ''[[sipahsalar]]-i-Hinduwan'', lived in their quarter of Ghazni while practicing their own religion. Indian soldiers under their commander Suvendhray remained loyal to Mahmud. They were also used against a Turkic rebel, with the command given to a Hindu named Tilak according to [[Abu'l-Fadl Bayhaqi|Baihaki]].<ref name=Fadl>{{cite book|url= https://books.google.com/books?id=PnBMFaGMabYC&pg=PA40|title= Somanatha: The Many Voices of a History|publisher=Verso|author=Romila Thapar|page=40|author-link= Romila Thapar|isbn= 9781844670208|year= 2005}}</ref> The renowned 14th-century Moroccan Muslim scholar [[Ibn Battuta]] remarked that the [[Hindu Kush]] meant the "slayer of Indians", because the slaves brought from [[Indian subcontinent|India]] who had to pass through there died in large numbers due to the extreme cold and quantity of snow.<ref name=Ransom>{{cite book|author=Christoph Witzenrath|title=Eurasian Slavery, Ransom and Abolition in World History, 1200–1860|url=https://books.google.com/books?id=7LG1CwAAQBAJ&pg=PA45 |year=2016|publisher=Routledge|isbn=978-1-317-14002-3 |page=45|quote=Ibn Battuta, the renowned Moroccan fourteenth century world traveller remarked in a spine-chilling passage that Hindu Kush means slayer of the Indians, because the slave boys and girls who are brought from India die there in large numbers as a result of the extreme cold and the quantity of snow.}}</ref> He states: {{Quote box |quote=After this I proceeded to the city of Barwan, in the road to which is a high mountain, covered with snow and exceedingly cold; they call it the Hindu Kush, that is Hindu-slayer, because most of the slaves brought thither from India die on account of the intenseness of the cold. |source=''The Travels of Ibn Battuta: in the Near East, Asia and Africa, 1325–1354''<ref>{{cite book|url=https://books.google.com/books?id=SZW8AQAAQBAJ&pg=PA97|title=The Travels of Ibn Battuta: in the Near East, Asia and Africa, 1325–1354|publisher=Courier Corporation|year=2013|page=97|isbn=9780486123042}}</ref> |align=center |qalign = center |salign=right }} =====Invasions of Ghur===== [[File:MuhammadibnSuriPaintingHistoryofIran.jpg|thumb|300px|Painting of [[Muhammad ibn Suri]] (white-haired) with his men by [[Rashid-al-Din Hamadani]]]] The conversion of Ghur occurred over a long period and it was mostly pagan until the 10th century, which [[Mohammad Habib]] and [[Khaliq Ahmad Nizami]] say was probably a result of the missionary activities by the [[Karramiyya]] movement established in the region in 10th–11th centuries. Its imperfect conversion is visible by the fact that while the people of Ghur had Muslim names, they led the life of pagans. Muhammad b. Suri, who had acknowledged Sabuktigin as his sovereign, withheld tribute after his death, started plundering caravans and harassed the subjects of Mahmud.<ref name=Nab/> [[Rawżat aṣ-ṣafāʾ]] called him a pagan, and al-Utbi stated that he was a Hindu.<ref>[https://books.google.com/books?id=xd5VonTOppMC&dq=al+otbi+ghor+hindus&pg=PA161] Page 161 from "E.J. Brill's First Encyclopaedia of Islam 1913–1936"</ref> In 1011, Mahmud dispatched an expedition to conquer Ghur under Altuntash, governor of [[Herat]], and Arslan Hajib, governor of [[Tus, Iran|Tus]]. Muhammad b. Suri, the king, placed himself in inaccessible hills and ravines. The Ghurids were however defeated and Suri was captured along with his son Shith. [[Abu Ali ibn Muhammad|Abu Ali]], who had remained on good terms with the Sultan, was made the ruler of Ghur by him. Eastern Ghur was brought under Ghaznavid control.<ref name=Nab>{{cite book|url= https://books.google.com/books?id=lodSckjlNuMC&pg=PA179|title= History of Civilizations of Central Asia – Volume IV, Part I|publisher=Motilal Banarsidass|editor1=M. S. Asimov|editor2=C. E. Bosworth|page=179|isbn= 9788120815957|year= 1992}}</ref> In 1015, Mahmud attacked Ghur's southwestern district of Khwabin and captured some forts.<ref name=Nizami>{{cite book|title=A Comprehensive History of India: The Delhi Sultanat, A.D. 1206–1526|publisher=[[Orient Longmans]]|year=1970|page=147|editor=[[Mohammad Habib]], [[K. A. Nizami]]}}</ref> In 1020, Mahmud's son [[Ma'sud I of Ghazni|Ma'sud]] was dispatched to take Ghur's northwestern part called Tab. He was helped by Abul Hasan Khalaf and Shirwan, chieftains of the south-western and north-eastern regions respectively. He captured many forts, bringing the entire region of Ghur, except maybe the inaccessible interior, under Ghaznavid control.<ref name=Nizami/> He also captured the stronghold of the chieftain Warmesh-Pat of Jurwas, levying a tribute of arms.<ref>{{cite book|title=The Medieval History of Iran, Afghanistan, and Central Asia|pages= 142|publisher=Variorum Reprints|year=1977|author=Clifford Edmund Bosworth|author-link= Clifford Edmund Bosworth}}</ref> Minhaj al-Siraj Juzjani praises Abu Ali for firmly establishing Islamic institutions in Ghur. The progress of Islam in this divided region after his death is however unknown.<ref>{{cite book|title=The Medieval History of Iran, Afghanistan, and Central Asia|pages= 138, 149|publisher=Variorum Reprints|year=1977|author=Clifford Edmund Bosworth|author-link= Clifford Edmund Bosworth}}</ref> Ghur remained a pagan enclave until the 11th century. Mahmud who raided it, left Muslim precepts to teach Islam to the local population. The region became Muslim by 12th century, though the historian [[Satish Chandra]] states that [[Mahayana Buddhism]] is believed to have existed until the end of the century.<ref name= "Satish2">{{cite book|url= https://books.google.com/books?id=L5eFzeyjBTQC&pg=PA22|title= Medieval India: From Sultanat to the Mughals-Delhi Sultanat (1206–1526) – Part One|publisher=Har-Anand Publishers|author=Satish Chandra|page=22|author-link= Satish Chandra|isbn= 9788124110645|year= 2004}}</ref> Neither Mahmud nor Ma'sud conquered the interior. Habib and Nizami say that the Ghurids were gradually converted by propagandists of new mystic movements. The Shansabani eventually succeeded in establishing their seniority in Ghor, if not its unification. By the time of [[Bahram-Shah of Ghazna|Sultan Bahram]], Ghur was converted and politically unified.<ref name=Habib>{{cite book|title=Politics and Society During the Early Medieval Period: Collected Works of Professor Mohammad Habib|pages= 141|publisher=People's Publishing House|year=1977|author=Clifford Edmund Bosworth|author-link= Clifford Edmund Bosworth}}</ref> According to Minhaj, both [[Ghiyath al-Din Muhammad|Ghiyasuddin]] and [[Muhammad of Ghor|Mu'izzuddin]] were Karamis who later converted to [[Shafi‘i]] and [[Hanafi]] Islam respectively.<ref>{{cite book|title= A Comprehensive History of India: Volume Five – The Delhi Sultanat (A.D. 1206–1526)|publisher=People's Publishing House|editor=[[Mohammad Habib]], [[Khaliq Ahmad Nizami]]|page=150}}</ref> ''[[Tarikh-i guzida]]'' however says that the Ghorids were only converted to Islam by Mahmud.<ref>Tarikh -I-Guzida of Hamdu-lla-Mustaufi. Page 65 from ''The History of India told by its own Historians H M Eliot and Dowson'' Volume 3</ref> ==Conversion of Pashtuns== The name ''Afghanistan'' was first used in a political sense by Saifi Herawi in the 14th century. It was even used during the height of the [[Durrani Empire]]. Only after the [[Durand line]] was fixed, did its modern usage for the land between it and the Oxus river became usual. The people who were mostly responsible for establishing the Afghan kingdom are referred to as ''Pashtun'', who were also called "[[Afghan (ethnonym)|Afghans]]". The name ''[[Pashtuns|Pashtun]]'' (or ''Pakthun'') is the original and oldest name.<ref>{{cite book|url=https://books.google.com/books?id=i_C4CwAAQBAJ&pg=PR17|title=Government and Society in Afghanistan: The Reign of Amir 'Abd Al-Rahman Khan|author=Hasun Kawun Kakar|page= xvii|publisher=[[University of Texas Press]]|isbn=9780292729001|date=2011-01-15}}</ref> The tenth-century Persian geography ''[[Hudud al-'Alam]]'' is the earliest known mention of the Afghans. In ''Discourse on the Country of Hindistan and Its Towns'', it states that, "Saul, a pleasant village on a mountain. In it live Afghans." [[Ibn Battuta]] described Saul as being situated between [[Gardez]] and Husaynan along a common trade route, the exact location of Husaynan is unknown. [[Akhund Darweza]] states that their original homeland was Qandahar from where they immigrated in 11th century upon the request of [[Mahmud of Ghazni]] to assist him in his conquests gradually expanding Pashtun settlements. Afghan tradition considers "Kase Ghar" in [[Sulaiman Mountains|Sulayman range]] as the homeland.<ref>{{cite book|title= The transformation of Afghan tribal society: Tribal expansion, Mughal imperialism and the Roshaniyya insurrection, 1450-1600|pages=133–134|author=Joseph Theodore Arlinghaus, Duke University Dept. of History|publisher=Duke University|year=1988}}</ref> ''Hudud al-'Alam'' also mentions that the king of Ninhar ([[Nangarhar]]) had many wives including "Moslem, Afghan and Hindu".<ref name=Ninhar/> The Pashtun traditions speak of [[Islamization]] during [[Muhammad]]'s time through [[Khalid ibn Walid|Khalid ibn al-Walid]].<ref name=Meel>{{cite book|title= Peshawar: Historic City of the Frontier|pages=64–65|author=Ahmed Hassan Dani|publisher=Sang-e-Meel Publications|year=1995}}</ref> [[Qais Abdur Rashid]], the presumed ancestor of the Afghans, is said to have led a delegation to Mecca from [[Ghor]] after being summoned by Khalid b. Walid and converted to Islam while also distinguishing himself in the service of Muhammad. He adopted the name Abdul Rashid, and his three sons – [[Sarbani|Saraban]], Ghurghust, [[Bettani|Baitan]], and an adopted son [[Karlani|Karlanri]] linked to Saranban, are considered to be the progenitors of the major Afghan divisions.<ref>{{cite book|url=https://books.google.com/books?id=AAHna6aqtX4C&pg=PA30|title= Historical Dictionary of Afghanistan|page=30|author=Ludwig W. Adamec|publisher= Scarecrow Press|year=2012|isbn= 9780810878150}}</ref> [[Nimat Allah al-Harawi|Ni'matullah]]'s ''[[Makhzan-i-Afghani]]'' traces their history to an [[Israelite]] called Afghana who constructed the [[Qibli Mosque|al-Aqsa mosque]]. Per it, under the time of [[Solomon in Islam|King Suleiman]], a figure named [[Nebuchadnezzar II|Bokhtnasser]] was responsible for "carrying away the Israelites, whom he settled in the mountainous districts of Ghor, Ghazneen, Kabul, Candahar, Koh Firozeh, and the parts lying within the fifth and sixth climates; where they, especially those descended of Asif and Afghana, fixed their habitations, continually increasing in number, and incessantly making war on the infidels around them." [[Qais Abdur Rashid|Qais]] traveled to Medina to receive Mohammed's blessings and fought against the Meccans. Muhammad himself conferred the title of ''Pashtun'' upon Qais and his people according to the tradition. They returned to Ghor to spread Islam and pledged loyalty to Mahmud.<ref>{{cite book|url=https://books.google.com/books?id=f6_SCgAAQBAJ&pg=PA11|title= Afghan Modern: The History of a Global Nation|pages=11–12|author=Robert D. Crews|publisher= Harvard university Press|year=2015|isbn= 9780674286092}}</ref> Per Ni'matullah, the Ghurid ruler [[Muhammad of Ghor|Mu'izz al-Din]] had initiated their eastward migration (or settlements) into present-day north-west Pakistan, in course of his military campaigns.<ref name=DostMuhammad1>{{cite book|url=https://books.google.com/books?id=Mf2cvE5jYrYC&pg=PA160|title=State and Tribe in Nineteenth-century Afghanistan: The Reign of Amir Dost Muhammad Khan (1826–1863)|publisher=[[Psychology Press]]|author=Christine Noelle|page=160|isbn=9780700706297|year=1997}}</ref> The Arabs, at war with the Kabul Shah, had directed their campaigns in direction of [[Gandhara]]. By the time of [[Mu'awiya I|Mu'awiya]], Sistan's governorship was separated from Khorasan, with the governor looking after the region and keeping a check on Kabul Shah. [[Ahmed Hassan Dani]] considered that the Arab activities may have led to conversion of Afghans as well, and it may have been wholesale because of their tribal nature, i.e., all the Afghan tribes adopted Islam at once.<ref name=Meel/> Quoting ''Matla-al-Anwar'', [[Ferishta]] states that a man named Khalid, son of Abdullah, stated by some to be a descendant of [[Khalid bin Walid]] or [[Abu Jahl]], was for some time governor of Herat, Ghor, [[Gharjistan]] and Kabul. After being relieved of the charge, he took up residence in Koh Sulaiman, with the [[Lodi (Pashtun tribe)|Lodis]] and [[Sur (Pashtun tribe)|Suris]] being the descendant of his daughter who married a converted Afghan.<ref>{{cite book|title= Peshawar: Historic City of the Frontier|pages=64|author=Ahmed Hassan Dani|publisher=Sang-e-Meel Publications|year=1995}}</ref> Al-Utbi in ''[[Tarikh Yamini|Tarikh-i-Yamini]]'' states that the Afghans were enlisted by Sabuktigin and also Mahmud. During this period, the Afghan habitat was in the Sulaiman Mountains.<ref name=Ninhar>{{cite book|url=https://books.google.com/books?id=AXAABAAAQBAJ&pg=PA14|title= A History of Afghanistan: Volumes 1 and 2|page=14|author=Percy Sykes|publisher=Routledge|isbn= 9781317845874|date= 2014-07-10}}</ref> After defeating Jayapala in 988 AD, Sabuktigin had acquired the territory between [[Laghman Province|Laghman]] and [[Peshawar]]. Al-Utbi states that the Afghans and [[Ghaljis|Khaljis]], living there as nomads, took the oath of allegiance to him and were recruited into his army.<ref name=Raza/> Iqtidar Husain Siddiqui citing a 13th-century Persian translation, claims he mentions the "Afghans" were [[pagan]]s given to rapine and rapacity, they were defeated and converted to Islam.<ref>''The Process of Acculturation in Regional Historiography:The Case of the Delhi Sultanate'', Iqtidar Husain Siddiqui, '''Art and Culture: Endeavours in Interpretation''', Vol.1, Ed. Ahsan Jan Qaisar, Som Prakash Verma, Mohammad Habib, (Abhinav Publications, 1996), 7.</ref> Writing in the 11th century AD, [[Al-Biruni]] in his ''Tarikh al Hind'' stated that the Afghan tribes lived in mountains west of India.<ref name=Vogelsang>The Afghans By Willem Vogelsang Edition: illustrated Published by Wiley-Blackwell, 2002 Page 118 {{ISBN|0-631-19841-5}}, {{ISBN|978-0-631-19841-3}}</ref> He notes, "In the western frontier mountains of India there live various tribes of the Afghans and extend up to the neighbourhood of the [[Indus Valley|Sindu valley]]." He earlier also noted about the mountains, "In marching from our country to [[Sindh]] we start from the country of [[Nimruz Province|Nimroz]], i.e. the country of Sijistan, whilst marching to Hind or India proper we start from the side of Kabul... In the mountains which form the frontier of India towards the west there are tribes of the Hindus, or of people near akin to them – rebellious savage races – which extend as far as the farthermost frontiers of the Hindu race."<ref>{{cite book|title= Peshawar: Historic City of the Frontier|pages=62–63|author=Ahmed Hassan Dani|publisher=Sang-e-Meel Publications|year=1995}}</ref> Mahmud had gone to war against pagan Afghans while campaigning in the Sulayman mountains.<ref>{{Cite web|url=https://books.google.com/books?id=2lrRAAAAMAAJ&q=Mahmud+Ghaznavi+had+to+fight+against+the+infidel+Afghans+in+the+Sulaiman+mountains|title=Studies in Asian History: Proceedings|first=Indian Council for Cultural|last=Relations|date=March 21, 1969|publisher=Asia Publishing House [for] Indian Council for Cultural Relations}}</ref> Firishta states that Afghans fought on both sides during the [[Second Battle of Tarain|war]] between Mu'izz al-Din and [[Prithviraj Chauhan|Pithorai]] in 1192 AD, which [[Encyclopaedia of Islam]] says probably indicates that they were not completely converted yet.<ref name=Wesnick>''E.J. Brill's First Encyclopaedia of Islam, 1913–1936 : Volume I'' By M Th Houtsma, [[T. W. Arnold]], A J Wensinck Edition: reprint, illustrated Published by BRILL, Page 217, 1993 {{ISBN|90-04-09796-1}}, {{ISBN|978-90-04-09796-4}}</ref> In 1519, [[Babur]] mounted an [[Battle of Bajaur (1519)|attack]] on the fort of [[Bajaur]] and sent a [[Dilazak]] Afghan as an ambassador to the Gibri Sultan of Bajaur, Mir Haidar 'Ali, to surrender and enter his services. Gibri, a [[Dardic languages|Dardic language]] of Bajaur, was also spoken by the royal family and nobility of the [[Swat Valley]]. The Gibris decided to resist and Babur's forces stormed it in two days. He ordered a general massacre of its inhabitants on the pretext that they had rebelled against [[Babur#At Kabul|Kabul's regime]] and were infidels who had [[apostasy|forsaken]] Islam.<ref>{{cite book|title= The transformation of Afghan tribal society: tribal expansion, Mughal imperialism and the Roshaniyya insurrection, 1450-1600|publisher=Duke University|author=Joseph Theodore Arlinghaus|pages=191, 200–201}}</ref> The westward movement of Pashtuns from Sulaiman mountains to [[Qandahar]] and [[Herat]] is thought to have begun in the 15th century. In the 16th century, the area around Qandahar formed a bone of contention between the [[Ghilzai]]s and [[Durranis|Abdalis]]. The latter gave in and moved towards Herat during the reign of [[Safavid]] [[Abbas I of Persia|Shah Abbas I]]. Their settlements displaced or subjugated the indigenous populations, especially the [[Tajiks]] who were also the dominant population in Kabul, [[Nangarhar]] and [[Laghman Province|Laghman]] in east Afghanistan. Before the advent of Ghilzais of the [[Ahmadzai (Ghilji clan)|Ahmadzai]] division in the late 16th century, [[Logar River]] was also a Tajik stronghold. The Pashtuns also displaced the original [[Nuristanis|Kafirs]] and [[Pashayi people]] in [[Kunar Valley]] and Laghman Valley, located south of Kabul in east Afghanistan, to the infertile mountains. Regions to the south and east of [[Ghazni]] were the strongholds of [[Hazaras]] before the 16th century. They also lost [[Maidan Wardak Province|Wardak]] to [[Wardak (Pashtun tribe)|the tribe of the same name]] when the latter invaded in the 17th century. In Qandahar, the [[Farsiwan]]is, Hazaras, [[Kakar]]s and [[Baloch people]] were subjugated.<ref name=DostMuhammad>{{cite book|url=https://books.google.com/books?id=Mf2cvE5jYrYC&pg=PA161|title=State and Tribe in Nineteenth-century Afghanistan: The Reign of Amir Dost Muhammad Khan (1826–1863)|publisher=[[Psychology Press]]|author=Christine Noelle|page=161|isbn=9780700706297|year=1997}}</ref> == Conquests of Kafiristan == [[File:AfghanistanNurestan.png|thumb|300px|[[Nuristan]] province, renamed from [[Kafiristan]] in 1896]] [[Kafiristan]] is a mountainous region of the [[Hindu Kush]] that was isolated and politically independent until the [[Emirate of Afghanistan|Afghan]] conquest of 1896.<ref name=Pellat/> Before their conversion to Islam, the Nuristanis or Kafir people practiced a form of [[ancient Hinduism]] infused with locally developed accretions.<ref name="nuristan.info">{{cite web|url=http://nuristan.info/Nuristani/Nuristanis1.html|title=Richard Strand's Nuristân Site: Peoples and Languages of Nuristan|author=Richard F. Strand|date=31 December 2005|work=nuristan.info|author-link=Richard Strand}}</ref> Kafiristan proper from west to east comprises basins of [[Alishang]], [[Alingar River|Alingar]], Pech or Prasun, Waigal and [[Landai Sin Valley|Bashgal]]. The region became a refuge of an old group of [[Proto-Indo-Europeans|Indo-European people]], probably mixed with an older substratum, as well as a refuge of a distinct Kafiri group of [[Indo-Iranian languages]], forming part of the wider [[Dardic languages]]. The inhabitants were known as "[[kafir]]s" due to their enduring paganism, while other regions around them became Muslim. However, the influence from district names in Kafiristan of Katwar or Kator and the ethnic name [[Kata people|Kati]] has also been suggested. The Kafirs were divided into [[Siah-Posh Kafirs|Siyah-Posh]], comprising five sub-tribes who spoke the [[Kamkata-vari language]]; while the others were called [[Safed-Posh]], comprising Prasungeli, Waigeli, Wamai and Ashkun.<ref name=Pellat>{{cite book|title=The Encyclopaedia of Islam, Volume IV|editor1=C. E. Bosworth|editor1-link=C. E. Bosworth |editor2=E. Van Donzel|editor3=Bernard Lewis|editor3-link=Bernard Lewis|editor4=Charles Pellat|editor4-link=Charles Pellat|page=409|publisher=[[Brill Publishers|Brill]]}}</ref> The Kafirs called themselves "Balor", a term that appeared in Chinese sources as early as the fifth century AD. In both the Chinese sources and Muslim sources like the 16th-century work of Kashmir's conqueror [[Mirza Muhammad Haidar Dughlat]], the terms "Bolor" and "Boloristan" denote the area from the [[Kabul River|Kabul valley]] to Kashmir, [[Yarkant County|Yarkand]] and [[Kashgar]]. The country is the most inaccessible part of Hindu Kush. The Muslim conquerors could not achieve a lasting success here.<ref>{{cite book|url=https://books.google.com/books?id=Baz_AwAAQBAJ&pg=PA84|title=An Historical Geography of Iran|author=Vasily Bartold|pages=84–85|publisher=[[Princeton University Press]]|author-link=Vasily Bartold|isbn=9781400853229|date=2014-07-14}}</ref> The vast area extending from modern Nuristan to Kashmir contained a host of "Kafir" cultures and Indo-European languages that became Islamized over a long period. Earlier, it was surrounded by Buddhist areas. The Islamization of the nearby [[Badakhshan]] began in the 8th century and Kafiristan was completely surrounded by Muslim states in the 16th century with the Islamization of [[Baltistan]]. The Buddhist states temporarily brought literacy and state rule into the region. The decline of Buddhism resulted in it becoming heavily isolated.<ref name=academia>{{cite journal|url=https://www.academia.edu/35077429|journal=Archivio per l'Antropologia e la Etnologia |title=Fence of Peristan - The Islamization of the "Kafirs" and Their Domestication|publisher=Società Italiana di Antropologia e Etnologia|author=Alberto M. Cacopardo|year=2016|pages=69, 77}}</ref> There have been varying theories about the origins of the Kafirs.<ref name=LudwigAdamec>{{cite book|title=Historical and Political Gazetteer of Afghanistan, Volume 6|author=Ludwig W. Adamec |page=348|publisher=Akademische Druck- u. Verlagsanstalt Graz |year=1985|author-link=Ludwig W. Adamec }}</ref> Oral traditions of some Nuristanis place themselves to be at confluence of [[Kabul River|Kabul]] and [[Kunar River]] a millennium ago, being driven off from [[Kandahar]] to Kabul to [[Ancient Kapisa|Kapisa]] to [[Kama district|Kama]] with the Muslim invasion. They identify themselves as late arrivals here, being driven by [[Mahmud of Ghazni]], who after establishing his empire, forced the unsubmissive population to flee.<ref name="nuristan.info"/> [[George Scott Robertson]] considered them to be part of the old Indian population of Eastern Afghanistan and stated that they fled to the mountains while refusing to convert to Islam after the Muslim invasion in the 10th century.<ref name=LudwigAdamec/> The name Kator was used by Lagaturman, the last king of the Turk Shahi. The title "Shah Kator" was assumed by [[Chitral (princely state)|Chitral]]'s ruler Mohtaram Shah who assumed it upon being impressed by the majesty of the erstwhile pagan rulers of Chitral.<ref>{{cite journal|journal= Journal of Central Asia|volume= 14|title= The Genesis of the Royal Title|author= Dr. Hussain Khan|publisher= Centre for the Study of the Civilizations of Central Asia, [[Quaid-i-Azam University]]|pages=111, 112}}</ref> The theory of Kators being related to the Turki Shahis is based on the information of ''[[Jami' al-tawarikh|Jami- ut-Tawarikh]]'' and ''[[Tarikh-i guzida|Tarikh-i-Binakiti]]''.<ref>{{cite book|title= The Shahis of Afghanistan and the Punjab|author= Deena Bandhu Pandey|publisher= Historical Research Institute; Oriental Publishers|page=65|year=1973}}</ref> The region was also named after its ruling elite. The royal usage may be the origin behind the name of Kator.<ref>{{cite journal|journal= Journal of Central Asia|volume= 14|title= The Genesis of the Royal Title|author= Dr. Hussain Khan|publisher= Centre for the Study of the Civilizations of Central Asia, [[Quaid-i-Azam University]]|page=114}}</ref> ===Mahmud of Ghazni=== In 1020–21, Mahmud of Ghazni led a campaign against Kafiristan and the people of the "pleasant valleys of Nur and Qirat" according to Gardizi.<ref name=Saran>{{cite book|title= A Comprehensive History of India|publisher=Orient Longmans|author=Ram Sharan Sharma|page=357|author-link=Ram Sharan Sharma}}</ref> The Persian chronicles speak of Qirat and Nur (or Nardin), which [[H. M. Elliot]] on authority of [[Al-Biruni]] identifies with Nur and Kira tributaries of Kabul river.<ref name=Habib2>{{cite book|title= Politics and Society During the Early Medieval Period: Collected Works of Professor Mohammad Habib, Volume 2|publisher=People's Publishing House|author=Mohammad Habib|pages=58–59, 100|author-link=Mohammad Habib}}</ref> Ferishta wrongly calls these two valleys as "Nardin" and Qirat and confuses this conquest with the one against "Nardin" or [[Nandana]]. He also wrongly mentions that it took place after 412 AH.<ref>{{cite book|url=https://books.google.com/books?id=Rw1EBgAAQBAJ&pg=PA74|title= The Life and Times of Sultan Mahmud of Ghazna|publisher=Cambridge University Press|author=Muhmmad Nazim|pages=74–75|isbn= 9781107456594|date= 2014-08-13}}</ref> [[Alexander Cunningham]] identifies the places conquered as "[[Bairat]]h" and "Narayanpura".<ref name=Narayanpura>{{cite journal|journal=Proceedings of the Indian History Congress|title=Identification of 'Naraina': A famous political|author=Richard N. Frye|page=153|publisher=[[Indian History Congress]]|author-link=Richard N. Frye}}</ref> These people worshipped the lion.<ref name=Nazim>{{cite book|url=https://books.google.com/books?id=Rw1EBgAAQBAJ&pg=PA74|title= The Life and Times of Sultan Mahmud of Ghazna|publisher=Cambridge University Press|author=Muhmmad Nazim|page=75|isbn= 9781107456594|date= 2014-08-13}}</ref> While [[Clifford Edmund Bosworth]] considers that Mahmud attacked "pagan [[Afghan (ethnonym)|Afghans]]", Joseph Theodore Arlinghaus of [[Duke University]] does not consider it correct because his source [[Gardizi]] simply calls them "pagan (kafiran)" and not "pagan Afghans", as they were not known to be pagan or live on borders of Nuristan in the 11th century.<ref>{{cite book|title= The transformation of Afghan tribal society: tribal expansion, Mughal imperialism and the Roshaniyya insurrection, 1450-1600|publisher=Duke University|author=Joseph Theodore Arlinghaus|page=132}}</ref> [[Mohammad Habib]] however considers that they might have been worshipping Buddha in the form of a lion (''Sakya Sinha'').<ref name=Habib2/> [[Ramesh Chandra Majumdar]] states that they had a Hindu temple which was destroyed by Mahmud's general.<ref name=amirrc>{{cite book|title=The History and Culture of the Indian People: The struggle for empire|author=Ramesh Chandra Majumdar|page=13|publisher=Bharatiya Vidya Bhavan|year=1966|author-link=Ramesh Chandra Majumdar}}</ref> [[Ram Sharan Sharma]] meanwhile states that they may have been Buddhist.<ref name=Saran/> Cunningham claims based on the reporting of Ferishta that the place was plundered by 'Amir Ali after being taken.<ref name=Narayanpura/> According to Gardizi, while returning from his recent invasion of India, Mahmud had heard about the Kafirs and the chief of Qirat surrendered without any struggle and accepted to convert, with the inhabitants converting as well. Nur however refused to surrender and his general 'Amir Ali led an attack on it, forcing its people to convert.<ref>{{cite book|title=Studies in Medieval Indian History|author=Sri Ram Sharma|page=28|publisher=Dayanand College|year=2006}}</ref> According to Firshta, the rulers of both of them submitted and accepted Islam in 1022.<ref>{{cite book|url=https://books.google.com/books?id=uQ7k2vQlYxEC&pg=PA123|title=Al-Hind: The Slavic Kings and the Islamic conquest, 11th-13th centuries|author=André Wink|page=123|publisher=Brill|year=2002|isbn=0391041746}}</ref> He adds, "On breaking a great temple situated there, the ornamented figure of a lion came out of it, which according to the belief of the Hindus was four thousand years old."<ref name=Habib2/> However, no permanent conquest was attempted.<ref>{{cite book|url=https://books.google.com/books?id=hvx9jq_2L3EC&pg=PA172|title=The Cambridge History of Iran, Volume 4|author=Richard N. Frye|page=172|publisher=[[Cambridge University Press]]|author-link=Richard N. Frye|isbn=9780521200936|date=1975-06-26}}</ref> ''Iqbal namah-i-Jahangiri'' stated that Kafirs still lived in Darrah-i-Nur which Mahmud of Ghazni had claimed to have converted. The [[Mughal Emperor]] [[Jahangir]] had received a delegation of these pure Kafirs in [[Jalalabad]] and had honoured them with gifts.<ref name=Peristan/> ===Timurids=== [[File:Timur reconstruction03.jpg|thumb|200px|Facial reconstruction of Timur from his skull]] The campaigns of Timur are recorded by [[Zafarnama (Yazdi biography)|Zafarnama]], written by [[Sharaf ad-Din Ali Yazdi]], which is based on [[Zafarnama (Shami biography)|another work]].<ref>{{cite book|title=The History and Culture of the Indian People: The Delhi Sultanate|author=R.C. Majumdar|page=4|publisher=Allen & Unwin |year=1951|author-link=R.C. Majumdar}}</ref> On his way to India, Timur attacked the Siyah-Posh in 1398 AD after receiving complaints from the trading city of [[Andarab]] about the raids by the Kafirs. He penetrated Kafiristan from Khawak pass and restored an old fortress there.<ref>{{cite book|url=https://books.google.com/books?id=Baz_AwAAQBAJ&pg=PA85|title=An Historical Geography of Iran|author=Vasily Bartold|page=85|publisher=[[Princeton University Press]]|author-link=Vasily Bartold|isbn=9781400853229|date=2014-07-14}}</ref> He personally proceeded against the Kator region, which extended from Kabul to Kashmir.<ref name=Sultanatemajumdar/> Timur sent a detachment of 10,000 soldiers against the Siyah-Poshas under Burhan Aglan and had the fort of Kator deserted by Kafirs destroyed, while the houses of the city were burnt. The Kafirs took refuge on top of a hill and many were killed in the ensuing clash. Some held out for three days but agreed to convert after Timur offered them the choice between death and Islam. They however soon apostatised and ambushed Muslim soldiers in the night. The Muslims repelled them and a number of the Kafirs were killed, with 150 being taken prisoner and later executed. Timur ordered his men "to kill all the men, to make prisoners of women and children, and to plunder and lay waste all their property." His soldiers carried out the order and he directed them to build a tower of skulls of the dead Kafirs.<ref name=Sultanatemajumdar/> Timur had his expedition engraved on a neighbouring hill in the month of [[Ramadan]]. His detachment sent against the Siyah-Poshas however met with disaster, with Aglan being routed and forced to flee. A small detachment of 400 men under Muhammad Azad was then sent and defeated the Kafirs, retrieving the horses and armour Aglan lost. Timur later captured a few more places, though nothing more is stated, presumably he left the Siyah-Poshas alone. He proceeded to exterminate the rebellious Afghan tribes and crossed the [[Indus River]] in September 1398.<ref name=Sultanatemajumdar>{{cite book|title=The History and Culture of the Indian People: The Delhi Sultanate|author=R.C. Majumdar|page=113|publisher=[[Allen & Unwin]] |year=1951|author-link=R.C. Majumdar}}</ref> The [[Timurid dynasty|Timurid]] [[Sultan Mahmud Mirza]] is said to have raided Kafiristan twice by ''[[Baburnama]]'', which earned him the title of ''[[ghazi (warrior)|ghazi]]''.<ref name=Pellat/> ===Yarkand Khanate=== Mirza Muhammad Haidar Dughlat invaded Balor under orders of [[Sultan Said Khan]] in 1527-1528 AD, and was accompanied by Said's eldest son [[Abdurashid Khan|Rashid Khan]]. The expedition was an Islamic frontier raid called ''[[Ghazi (warrior)|ghaza]]''.<ref name=OUP/> Dughlat undertook highly devastating plundering raids against the region.<ref>{{cite journal|journal=Journal of Central Asia|volume=2|issue=1|title=Bolor – A Contribution to the Political and Ethnic Geography of Pakistan|page=59|author=Karl Jettmar|publisher=Centre for the Study of the Civilizations of Central Asia, [[Quaid-i-Azam University]]|year=1979}}</ref> Rashid Khan (r. 1533–1560) undertook further expeditions against Bolor (Kafiristan), which are recorded by ''Tarikh-i-Kashgar'' and ''Bahr al-asar'' of Mahmud b. Amir Wali. The Kashgari author mentions it briefly, though Wali goes into detail. The first campaign failed with a number of Kashgari captured and enslaved by the people of Bolor. A second invasion was successful and forced them to submit. ''Tarikh-i-Kashgar'' states that Bolor was governed by Shah Babur after [[Abdallah (Moghul Khan)|Abdullah Khan's]] successful campaign in 1640.<ref name=OUP>{{cite book|title=Proceedings of the Second International Hindukush Cultural Conference|publisher=Oxford University Press|year=1996|editor1-last=Bashir|editor1-first=Elena|editor1-link=Elena Bashir|editor2=Israr-ul-Din}}</ref> ===Mughals=== [[Babur]] himself came to the region in the winter of 1507–1508 and had an inscription carved commemorating his transit.<ref name=Pellat/> While fleeing to India to take refuge in the Afghan-Indian borderlands after [[Muhammad Shaybani|Shibani Khan]] attacked [[Qandahar]], which Babur had recently conquered, he marched from Kabul to [[Lamghan]] in September 1507. He eventually reached the [[Adinapur]] fort in [[Nangarhar]] district and commented that his men had to forage for food and raided the rice fields of the Kafirs in the Alishang district.<ref>{{cite book|url=https://books.google.com/books?id=M6wPbXSyvjYC&pg=PA229|title=The Garden of the Eight Paradises: Bābur and the Culture of Empire in Central Asia, Afghanistan and India (1483-1530)|author=Stephen Frederic Dale|page=229|publisher=[[Brill Publishers|Brill]] |year=2004|isbn=9004137076}}</ref> While writing in his memoirs, Babur noted that when he captured [[Asadabad, Afghanistan|Chigha Sarai]] in 1514, the "Kafirs of Pech came to their assistance."<ref name=Ludwig/> He mentions some Muslim ''nīmčas'' or half-breeds, probably converted Kafirs, who married with the Kafirs and lived at Chigha Sarai, located at confluence of [[Kunar River]] and [[Pech River]].<ref name=Pellat/> In 1520, he mentions sending Haidar Alamdar to the Kafirs, who returned and met him under Bandpakht along with some Kafir chiefs who gifted him some [[wineskin]]s.<ref name=Ludwig>{{cite book|title=Historical and Political Gazetteer of Afghanistan, Volume 6|author=Ludwig W. Adamec |page=351|publisher=Akademische Druck- u. Verlagsanstalt Graz |year=1985|author-link=Ludwig W. Adamec }}</ref> The relationship between the Siahposh and the residents of Panjshir and Andarab remained the same even more than a century after Timur's expedition. Babur records about Panjshir that, "It lies upon the road, and is in the immediate vicinity of Kafiristan. The inroads of the robbers of Kafiristan are made through Panjshir. In consequence of their vicinity of the Kafirs – the inhabitants of this district are happy to pay them a fixed contribution. Since I last invaded Hindustan, and subdued it (in 1527), the Kafirs have descended into Panjshir, and returned after slaying a great number of people and committing extensive damages."<ref name=Ludwig/> Per ''Tabakat-i-Akbari'', the [[Mughal Emperor]] [[Akbar]] had dispatched his younger brother [[Mirza Muhammad Hakim]], who was a staunch adherent of the missionary-minded [[Naqshbandi]] [[Sufism|Sufi]] order, against the Kafirs of Katwar in 1582.<ref name=Pellat/> Hakim was a semi-independent governor of Kabul.<ref name="Ğihād">{{cite journal|journal=Israel Oriental Studies|volume=10|page=153|publisher=[[Tel Aviv University]]|author=C. E. Bosworth|title=Ğihād in Afghanistan and Muslim India|author-link=C. E. Bosworth}}</ref> The ''Sifat-nama-yi Darviš Muhammad Hān-i Ğāzī'' of [[Qadi|Kadi]] Muhammad Salim who accompanied the expedition mentions its details<ref name=Pellat/> and gives Hakim the epithet of ''[[Dervish|Darviš]] Khan Gazi''.<ref name="Ğihād"/> Muhammad Darvish's religious crusade fought its way from Lamghan to Alishang, and is stated to have conquered and converted 66 valleys to Islam. After conquering Tajau and Nijrau valleys in Panjshir area, his forces established a fort at Islamabad, located at the confluence of Alishang and Alingar rivers. They continued the raid up to Alishang and made their last effort against the non-Muslims of Alingar, fighting up to Mangu, the modern border between [[Pashayi languages|Pashai]] and [[Askunu language|Ashkun-speaking]] areas.<ref>{{cite book|title=Gates of Peristan: history, religion and society in the Hindu Kush|publisher=Istituto Italiano per l'Africa e l'Oriente|author=Alberto M. Cacopardo, Augusto S. Cacopardo|page=32}}</ref> The conquest does not seem to have had a lasting effect, as [[Henry George Raverty]] mentions that Kafirs still lived in upper part of Alishang and Tagau.<ref name=Peristan>{{cite journal|journal=Archivio per l'Antropologia e la Etnologia |title=Fence of Peristan – The Islamization of the "Kafirs" and Their Domestication|publisher=Società Italiana di Antropologia e Etnologia|author=Alberto M. Cacopardo|year=2016|page=90}}</ref> ''Khulasat al-ansab'' of Hafiz Rahmat Khan stated that the Afghans and Kafirs of Lamghan were still fighting each other during the time of Jahangir.<ref name=Peristan/> ===Final subjugation=== [[File:Amir Abdur Rahman Khan of Afghanistan-cropped.jpg|thumb|Amir [[Abdur Rahman Khan]]]] Under Amir [[Sher Ali Khan]], Afghanistan was divided into provinces (''[[wilayat]]s'') of Kabul, Kandahar, Herat and [[Afghan Turkestan]]. [[Uruzgan]] and Kafiristan were later incorporated into Kabul.<ref>{{cite book|url=https://books.google.com/books?id=i_C4CwAAQBAJ&pg=PA49|title=Government and Society in Afghanistan: The Reign of Amir 'Abd Al-Rahman Khan|author=Hasun Kawun Kakar|page= 49|publisher=[[University of Texas Press]]|isbn=9780292729001|date=2011-01-15}}</ref> Some parts of Kafiristan were already following Islam before its conquest. Amir [[Abdul Rahman Khan]] tried to persuade them to convert to Islam by deputing Kafir elders. The Kafirs were meanwhile poorly armed as compared to Afghans and numbered only 60,000. By 1895, the demarcation of nearby [[Chitral district|Chitral]] under indirect [[British Empire|British]] rule, and the conquest of [[Pamirs]] by [[Russian Empire|Russia]], worried him about the endangerment of integration of Afghanistan through the independent Kafiristan.<ref name=Texas>{{cite book|url=https://books.google.com/books?id=i_C4CwAAQBAJ&pg=PA151|title=Government and Society in Afghanistan: The Reign of Amir 'Abd Al-Rahman Khan|author=Hasun Kawun Kakar|page=xxiv, 151|publisher=[[University of Texas Press]]|isbn=9780292729001|date=2011-01-15}}</ref> Afghan tribes meanwhile undertook slave raids in places like Kafiristan, [[Hazarajat]], Badakhshan and Chitral.<ref>{{cite book|url=https://books.google.com/books?id=i_C4CwAAQBAJ&pg=PA174|title=Government and Society in Afghanistan: The Reign of Amir 'Abd Al-Rahman Khan|author=Hasun Kawun Kakar|page=174|publisher=[[University of Texas Press]]|isbn=9780292729001|date=2011-01-15}}</ref> The territory between Afghanistan and [[British Raj|British India]] was [[Durand Line|demarcated between 1894 and 1896]]. Part of the frontier lying between Nawa Kotal in outskirts of [[Mohmand Agency|Mohmand country]] and [[Bashgal Valley]] on outskirts of Kafiristan were demarcated by 1895 with an agreement reached on 9 April 1895.<ref>{{cite book|url=https://books.google.com/books?id=PfrXAAAAQBAJ&pg=PA162|title=An Historical Geography of Iran|author=Vasily Bartold|page=85|publisher=[[Princeton University Press]]|author-link=Vasily Bartold|isbn=9781107662094|date=2013-10-17}}</ref> Abdur Rahman wanted to force every community and tribal confederation with his single interpretation of Islam due to it being the only uniting factor. After the subjugation of the [[Hazaras]], Kafiristan was the last remaining autonomous part. [[Field marshal]] Ghulam Hayder Khan sent a message to Kafirs of Barikut which stated, "It is not the duty of the government to compel, force or impose on them to accept, or take the path of the religion of Islam. The obligation that does exist is this: they render obedience and pay their taxes. As long as they do not disobey their command, they will not incinerate themselves with the fire of ''[[padishah]]'s'' [king's] wrath. In addition, they are not to block the building of the road [that was planned through their territory]."<ref name=Katib/> Emir Abdur Rahman Khan's forces invaded Kafiristan in the winter of 1895–1896 and captured it in 40 days according to his autobiography. Columns invaded it from the west through Panjshir to Kullum, the strongest fort of the region. The columns from the north came through [[Badakhshan]] and from the east through [[Asmar, Afghanistan|Asmar]]. A small column also came from south-west through [[Laghman Province|Laghman]]. The Kafirs were forcibly converted to Islam and resettled in Laghman, while the region was settled by veteran soldiers and other Afghans. Kafiristan was renamed as [[Nuristan]].<ref name=Sykes1>{{cite book|url=https://books.google.com/books?id=AXAABAAAQBAJ&pg=RA1-PA195|title=A History of Afghanistan: Volumes 1 and 2, Volume 1|author=Percy Sykes|publisher=Routledge|page=195|author-link=Percy Sykes|isbn=9781317845874|date=2014-07-10}}</ref> Other residents also converted to avoid the ''[[jizya]]''.<ref name=Katib/> His victory was celebrated with the publishing of a poem in 1896 or 1897 and [[Faiz Mohammad Katib Hazara]] gave him the title of "Idol-Smasher".<ref name=Katib>{{cite book|url=https://books.google.com/books?id=g6swDwAAQBAJ&pg=PA142|title=Afghanistan's Islam: From Conversion to the Taliban|author=Nile Green|publisher=University of California Press|pages=142–143|isbn=9780520294134|year=2017}}</ref> About 60,000 of the Kafirs became converts. [[Mullah]]s were deployed after the conquest to teach them about fundamentals of Islam. The large-scale conversion proved difficult however and complete Islamization took some time. Kafir elders are known to have offered sacrifices in their shrines upon hearing rumours of Rahman's death in 1901.<ref name=Texas/> Three main roads connecting Badakhshan with [[Kunar Province|Kunar]] and Lamghan (Chigha Sirai-[[Kuran wa Munjan|Munjan]], [[Asmar, Afghanistan|Asmar]]-Badakhshan and Munjan-Laghman) were built after the conquest.<ref>{{cite book|url=https://books.google.com/books?id=i_C4CwAAQBAJ&pg=PA224|title=Government and Society in Afghanistan: The Reign of Amir 'Abd Al-Rahman Khan|author=Hasun Kawun Kakar|page=224|publisher=[[University of Texas Press]]|isbn=9780292729001|date=2011-01-15}}</ref> ==See also== *[[History of Afghanistan]] *[[Timeline of Afghan history]] *[[History of Arabs in Afghanistan]] *[[Hindu and Buddhist heritage of Afghanistan]] *[[Early Muslim conquests]] ==References== {{Reflist}} ==Further reading== *Elliot, Sir H. M., Edited by Dowson, John. [[The History of India, as Told by Its Own Historians. The Muhammadan Period]]; published by London Trubner Company 1867–1877. (Online Copy: [https://web.archive.org/web/20070929125948/http://persian.packhum.org/persian/index.jsp?serv=pf&file=80201010&ct=0 The History of India, as Told by Its Own Historians. The Muhammadan Period; by Sir H. M. Elliot; Edited by John Dowson; London Trubner Company 1867–1877] – This online Copy has been posted by: [https://web.archive.org/web/20070929132016/http://persian.packhum.org/persian/index.jsp The Packard Humanities Institute; Persian Texts in Translation; Also find other historical books: Author List and Title List]) * {{cite journal|title=The Ṭāhirids and Persian Literature|first=C. E.|last=Bosworth|author-link=Clifford Edmund Bosworth|journal=Iran|volume=7|publisher=Taylor & Francis Ltd.|year=1969|pages=103–106|doi=10.2307/4299615|jstor=4299615}} * {{Baghdad During the Abbasid Caliphate|edition=Second}} *{{cite book|first=John L. |last=Esposito|title=The Oxford History of Islam|url=https://books.google.com/books?id=9HUDXkJIE3EC&pg=PA39|year=2000|publisher=Oxford University Press |isbn=9780199880416}} *{{The Prophet and the Age of the Caliphates|edition=Third}} ==External links== {{Wikiquote}} * ''The Guardian'': "[https://www.theguardian.com/print/0,3858,5217828-103595,00.html Lost Tribe Struggles for Survival]" * ''Press Trust of India'' :"[https://web.archive.org/web/20070205074605/http://www.indianexpress.com/res/web/pIe/ie/daily/20010105/iin05014.html Inscription throws new light to Hindu rule in Afghanistan ]" *[http://www.apaa.info/ Association for the Protection of Afghan Archeology] {{Islam topics|state=collapsed}} {{DEFAULTSORT:Muslim Conquest of Afghanistan}} [[Category:Ancient peoples of Afghanistan]] [[Category:Arab ethnic groups|Afghanistan]] [[Category:Military history of the Ghaznavid Empire]] [[Category:Battles involving the Ghurid dynasty]] [[Category:Military history of the Timurid Empire]] [[Category:Early Muslim conquests|Afghanistan]] [[Category:Former monarchies in Afghan history]] [[Category:Ethnic groups in Afghanistan]] [[Category:Invasions of Afghanistan]] [[Category:Medieval history of Afghanistan]] [[Category:Military history of Afghanistan]] [[Category:Nuristani people]] [[Category:Pashtun people]] [[Category:Spread of Islam]] [[Category:Wars involving the Abbasid Caliphate]] [[Category:Wars involving Afghanistan]] [[Category:Wars involving the Rashidun Caliphate]] [[Category:Wars involving the Umayyad Caliphate]]
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Baghdad During the Abbasid Caliphate
(
edit
)
Template:Campaignbox Early Muslim Expansions
(
edit
)
Template:Cite book
(
edit
)
Template:Cite journal
(
edit
)
Template:Cite web
(
edit
)
Template:EI2
(
edit
)
Template:History of Afghanistan
(
edit
)
Template:ISBN
(
edit
)
Template:Islam
(
edit
)
Template:Islam topics
(
edit
)
Template:Legend
(
edit
)
Template:Legend striped
(
edit
)
Template:Main
(
edit
)
Template:Quote box
(
edit
)
Template:Reflist
(
edit
)
Template:See also
(
edit
)
Template:Sfn
(
edit
)
Template:Short description
(
edit
)
Template:The Prophet and the Age of the Caliphates
(
edit
)
Template:Wikiquote
(
edit
)
Search
Search
Editing
Muslim conquests of Afghanistan
Add topic