Shahi
Encyclopedia
The Shahi also called Nagari , is an abugida alphabet of India and Nepal...

: शाही), Sahi, also called Shahiya dynasties ruled one of the Middle kingdoms of India
Middle kingdoms of India
Middle kingdoms of India refers to the political entities in India from the 3rd century BC after the decline of the Maurya Empire, and the corresponding rise of the Satavahana dynasty, beginning with Simuka, from 230 BC...

 which included portions of the Kabulistan
Kabulistan
Kabulistan is a historical term referring to the eastern territories of Greater Khorasan that is centered around present-day Kabul, Afghanistan...

 and the old province of Gandhara
Gandhara
Gandhāra , is the name of an ancient kingdom , located in northern Pakistan and eastern Afghanistan. Gandhara was located mainly in the vale of Peshawar, the Potohar plateau and on the Kabul River...

 (now in northern Pakistan), from the decline of the Kushan Empire
Kushan Empire
The Kushan Empire originally formed in the early 1st century AD under Kujula Kadphises in the territories of ancient Bactria on either side of the middle course of the Oxus in what is now northern Afghanistan, Pakistan, and southern Tajikistan and Uzbekistan.During the 1st and early 2nd centuries...

 in the 3rd century to the early 9th century. The kingdom was known as "Kabul Shahi" (Kabul-shāhān or Ratbél-shāhān in Persian
Persian language
Persian is an Iranian language within the Indo-Iranian branch of the Indo-European languages. It is primarily spoken in Iran, Afghanistan, Tajikistan and countries which historically came under Persian influence...

 کابلشاهان یا رتبیل شاهان) between 565 and 879 CE
Common Era
Common Era ,abbreviated as CE, is an alternative designation for the calendar era originally introduced by Dionysius Exiguus in the 6th century, traditionally identified with Anno Domini .Dates before the year 1 CE are indicated by the usage of BCE, short for Before the Common Era Common Era...

 when they had Kapisa and Kabul as their capitals, and later as Hindu Shahi when they moved their capital to Hund
Hund
Hund is a small village in Swabi district, situated on the right bank of the Indus River about 15 km upstream of Attock Fort and at a distance of about 80 km to the east of Peshawar in the Khyber Pakhtunkhwa Province, of Pakistan...

.

The Shahis of Kabul/Gandhara are generally divided into the two eras of the so-called Buddhist-Shahis and the so-called Hindu
Hindu
Hindu refers to an identity associated with the philosophical, religious and cultural systems that are indigenous to the Indian subcontinent. As used in the Constitution of India, the word "Hindu" is also attributed to all persons professing any Indian religion...

-Shahis, with the change-over thought to have occurred sometime around AD 870.

Alberuni and the myth of Turkic origins

The confused accounts of 11th century Persian
Persian people
The Persian people are part of the Iranian peoples who speak the modern Persian language and closely akin Iranian dialects and languages. The origin of the ethnic Iranian/Persian peoples are traced to the Ancient Iranian peoples, who were part of the ancient Indo-Iranians and themselves part of...

 Muslim scholar Alberuni, ("which bear the impress of folklore for the early history of the Kabul Shahi rulers") state that:
  • the Hindu kings residing in Kabul were Turks
  • said to be of Tibetan
    Tibetan people
    The Tibetan people are an ethnic group that is native to Tibet, which is mostly in the People's Republic of China. They number 5.4 million and are the 10th largest ethnic group in the country. Significant Tibetan minorities also live in India, Nepal, and Bhutan...

     origin
  • that the first of them was a Barahatakin (founder of the dynasty), who came (from Tibet) into the country (Kabul), entered a cave and after a few days, started to creep out of it in the presence of people who looked upon him as a "new born baby", clothed in Turkish dress. People honored him as a being of miraculous birth, destined to be a king. And he brought those countries under his sway and ruled under the title of Shahiya of Kabul
  • the rule remained among his descendants for allegedly about sixty generations, till it was supplanted by a Hindu minister and
  • in this series of his descendant rulers, one was Kanik (Kanishaka?) who is said to have built Vihara in Purushapura, which is called Kanika Caitya.


Thus the folklore accounts recorded by Alberuni connect the earlier Shahis of Kabul/Kapisa to Turkish extraction and also claim their descent from Kanik (or Kanishaka of Kushana lineage).
At the same time it is also claimed that 'their first king Barahatigin (Vrahitigin?) had originally come from Tibet and concealed in a narrow cave in Kabul area (and here is given a strange legend which we omit).' One can easily see the above account of Shahi origin as totally fanciful and fairy tale-like. These statements taken together are very confusing, inconsistent and bear the express marks of a folklore and vulgar tradition, hence unworthy of inspiring any confidence in the early history of Shahis. The allegation that the first dynasty of Kabul was Turki is plainly based on the vulgar tradition, which Alberuni himself remarked was clearly absurd.

Based on Alberuni's accounts, V. A. Smith speculates that the earlier Shahis were a cadet branch of the Kushanas who ruled both over Kabul
Kabul
Kabul , spelt Caubul in some classic literatures, is the capital and largest city of Afghanistan. It is also the capital of the Kabul Province, located in the eastern section of Afghanistan...

 and Gandhara
Gandhara
Gandhāra , is the name of an ancient kingdom , located in northern Pakistan and eastern Afghanistan. Gandhara was located mainly in the vale of Peshawar, the Potohar plateau and on the Kabul River...

 until the rise of the Saffarids. H. M. Elliot relates the early Kabul Shahis to the Kators and further connects the Kators with the Kushanas. Charles Fredrick Oldham also traces the Kabul Shahi lineage to the Kators—whom he identifies with the Kathas or Takkhas—Naga worshipping collective groups of solar (Sun-worshiping) lineage. He further speaks of the Urasas, Abhisaras, Daradas
Daradas
Daradas were a people who lived north and north-east to the Kashmir valley. This kingdom is identified to be the Gilgit region in Kashmir along the river Sindhu or Indus. They are often spoken along with the Kambojas...

, Gandhara
Gandhara
Gandhāra , is the name of an ancient kingdom , located in northern Pakistan and eastern Afghanistan. Gandhara was located mainly in the vale of Peshawar, the Potohar plateau and on the Kabul River...

s, Kambojas
Kambojas
The Kambojas were a kshatriya tribe of Iron Age India, frequently mentioned in Sanskrit and Pali literature.They were an Indo-Iranian tribe situated at the boundary of the Indo-Aryans and the Iranians, and appear to have moved from the Iranian into the Indo-Aryan sphere over time.The Kambojas...

, et al. as allied tribal groups of the Takkhas belonging to the Sun-worshiping races of the north-west frontier. D. B. Pandey traces the affinities of the early Kabul Shahis to the Hunas.

The accounts recorded by Alberuni are indeed confusing, but other numerous accounts prove the Kshatriya Punjabi origins of the Shahi dynasty. The Chinese pilgrim Xuanzang
Xuanzang
Xuanzang was a famous Chinese Buddhist monk, scholar, traveler, and translator who described the interaction between China and India in the early Tang period...

 knew well enough what a Turk was since he had come to Kabul through their country. Against the contemporary evidence of Hsuen Tsang, an absurd tradition related by Alberuni after 400 years and with evident reluctance and disbelief in it cannot, therefore, be taken for history: Hsuen Tsang clearly describes the ruler of Kapisa/Kabul, whom he had personally met, as a devout Buddhist and a Kshatriya and not a Tu-kiue/Tu-kue (Turk). The fact that Xuanzang (AD 644) specifically describes the ruler of Kapisa as Ksatriya, and that of Zabul at this time being known as Shahi casts serious doubt about the speculated connections of the first Shahis of Kabul/Kapisa to the Kushanas or the Hephthalites. Neither the Kushanas nor the Hunas/Hephthalites nor the Turks (or Turushakas) have ever been designated or classified as Ksatriyas in any ancient Indian tradition. Therefore, the identification of the first line of Shahi kings of Kapisa/Kabul
Kabul
Kabul , spelt Caubul in some classic literatures, is the capital and largest city of Afghanistan. It is also the capital of the Kabul Province, located in the eastern section of Afghanistan...

 with the Kushanas, Hunas, or Turks obviously seems to be in gross error.

It is very interesting that Alberuni calls the early Shahi rulers Turks, but this should be interpreted to mean Turkised rather than Turkic.

Kshatriya origins and Turkic influences

The Shahi rulers of Kapisa/Kabul who ruled Afghanistan from early 4th century till AD 870 were possibly Hindu Kshatriyas. The Shahis of Afghanistan were proposed in 1874 to be connected to the Kamboja "race" by E. Vesey Westmacott.

E. Vesey Westmacott, Bishan Singh, K. S. Dardi, et al. connect the Kabul Shahis to the ancient Indian Ksatriya clans of the Kambojas/Gandharas. George Scott Robertson
George Scott Robertson
Sir George Scott Robertson KCSI was a British soldier, author, and administrator who was best known for his arduous journey to the remote and rugged region of Kafiristan in what is now northeastern Afghanistan. He chronicled his Kafiristan experience in the book The Kafirs of the Hindu-Kush...

 writes that the Kators/Katirs of Kafiristan belong to the well known Siyaposh tribal group of the Kams, Kamoz and Kamtoz tribes. But numerous scholars now also agree that the Siyaposh tribes of Hindukush are the modern representatives of the ancient Iranian cis-Hindukush Kambojas
Kambojas
The Kambojas were a kshatriya tribe of Iron Age India, frequently mentioned in Sanskrit and Pali literature.They were an Indo-Iranian tribe situated at the boundary of the Indo-Aryans and the Iranians, and appear to have moved from the Iranian into the Indo-Aryan sphere over time.The Kambojas...

.

The powerful evidence from Hsuen Tsang (AD 644) attesting that the ruler of Kabul/Kapisa was a devout Buddhist and belonged to Ksatriya caste would rather connect this ruling dynasty either to the erstwhile Gandhara
Gandhara
Gandhāra , is the name of an ancient kingdom , located in northern Pakistan and eastern Afghanistan. Gandhara was located mainly in the vale of Peshawar, the Potohar plateau and on the Kabul River...

s or more probably to Ashvaka clan of the Kambojas
Kambojas
The Kambojas were a kshatriya tribe of Iron Age India, frequently mentioned in Sanskrit and Pali literature.They were an Indo-Iranian tribe situated at the boundary of the Indo-Aryans and the Iranians, and appear to have moved from the Iranian into the Indo-Aryan sphere over time.The Kambojas...

, the eminent Ksatriya clan
Clan
A clan is a group of people united by actual or perceived kinship and descent. Even if lineage details are unknown, clan members may be organized around a founding member or apical ancestor. The kinship-based bonds may be symbolical, whereby the clan shares a "stipulated" common ancestor that is a...

 of the Mauryan times from the neighbouring region in India.

The name (Katorman or Lagaturman) of the last king of the so-called first Shahi line of Kabul/Kapisa simply reveals a trace of Tukhara cultural influence in the Kamboja (Kapisa) region, as hinted in the above discussion. Thus, the first ruling dynasty of Kapisa and Kabul, designated as a Ksatriya dynasty by Hsuen Tsang, may indeed have been a Kamboja dynasty from India.

It is also a known fact of history that from 2nd century BCE onwards (much prior to the Huna ascendancy), the Tukharas had settled in considerable numbers in the ancient Kamboja
Kambojas
The Kambojas were a kshatriya tribe of Iron Age India, frequently mentioned in Sanskrit and Pali literature.They were an Indo-Iranian tribe situated at the boundary of the Indo-Aryans and the Iranians, and appear to have moved from the Iranian into the Indo-Aryan sphere over time.The Kambojas...

 land and thus the culture of the Kambojas undoubtedly underwent some changes and due to the interaction of two cultures, the Kambojas of Kapisa were also substantially influenced by Tukharas who remained for quite a time the ruling power in this region.

This fact is also verified by Hiuen Tsang who records that the literature, customary rules, and currency of Bamiyan were same as those of Tukhara; the spoken language is only little different and in personal appearance the people closely resembled those of the Tukhara country. On the other hand, the literature and written language of Kapisa (=Kamboja) was like that of Tukharas but the social customs, colloquial idiom, rules of behavior (and their personal resemblance) differed somewhat from those of Tukhara country which means that the original and dominant community of Kapisa had imbibed the Tukharan culture and customs but to a limited extent and the penetration of the Tukharas in the Kapisa territory appears to have therefore been also limited. The Kambojas and the Tukharas (Turks) are mentioned as immediate neighbors in north-west as late as 8th century AD as Rajatarangini
Rajatarangini
The Rājatarangiṇī is a metrical chronicle of North west of the Indian subcontinent particularly the kings of Kashmir from earliest time written in Sanskrit by Kalhaṇa. The Rājatarangiṇī often has been erroneously referred to as the River of the Kings. In reality what Kalhana means by Rājatarangiṇī...

 of Kalhana
Kalhana
Kalhana , a Kashmiri, was the author of Rajatarangini , an account of the history of Kashmir. He wrote the work in Sanskrit between 1148 and 1149. All information regarding his life has to be deduced from his own writing, a major scholar of which is Mark Aurel Stein...

 demonstrates.

Evidence also exists that some medieval Muslim writers have confused the Kamboja clans of Pamirs/Hindukush with the Turks and invested the former with Turkic ethnicity. For example, 10th century Arab
Arab
Arab people, also known as Arabs , are a panethnicity primarily living in the Arab world, which is located in Western Asia and North Africa. They are identified as such on one or more of genealogical, linguistic, or cultural grounds, with tribal affiliations, and intra-tribal relationships playing...

 geographer
Geographer
A geographer is a scholar whose area of study is geography, the study of Earth's natural environment and human society.Although geographers are historically known as people who make maps, map making is actually the field of study of cartography, a subset of geography...

 Al-Muqaddasi
Al-Muqaddasi
Muhammad ibn Ahmad Shams al-Din Al-Muqaddasi , also transliterated as Al-Maqdisi and el-Mukaddasi, was a medieval Arab geographer, author of Ahsan at-Taqasim fi Ma`rifat il-Aqalim .-Biography:Al-Muqaddasi, "the Hierosolomite" was born in Jerusalem in 946 AD...

, refers to the Kumiji (=Kamoji/Kamboja) tribesmen of Buttaman mountains (Tajikstan), on upper Oxus, and calls them of Turkic
Turkic peoples
The Turkic peoples are peoples residing in northern, central and western Asia, southern Siberia and northwestern China and parts of eastern Europe. They speak languages belonging to the Turkic language family. They share, to varying degrees, certain cultural traits and historical backgrounds...

 race.
Song Yun, the Chinese Ambassador to the Huna kingdom of Gandhara
Gandhara
Gandhāra , is the name of an ancient kingdom , located in northern Pakistan and eastern Afghanistan. Gandhara was located mainly in the vale of Peshawar, the Potohar plateau and on the Kabul River...

, in AD 520 writes that the Yethas (Hephthalites) had invaded Gandhara two generations prior to him and had completely destroyed this country. The then Yetha ruler was extremely cruel, vindictive, and anti-Buddhist and had engaged in a three years border war with the king of Ki-pin (Cophene or Kapisa), disputing the boundaries of that country. The Yetha king referred to by Song Yun may have been Mihirakula (AD 515-540/547) or his governor. This evidence also proves that the Kapisa kingdom was well established prior to the Huna/Hephthalite invasion of Gandhara (~ AD 477) and that it did not submit to the Yethas but had survived and continued to maintain its independence.

Once the political clout of the invaders like the Kushanas or the Hephthalites had declined, some native chieftain from the original dominant clans of this region seems to have attained ascendancy in political power and established an independent kingdom on the ruins of the Kushana and/or the Hephthalite
Hephthalite
The Hephthalites or Hephthalite is a pre-Islamic Greek term for local Abdali Afghans, who's famous ruler was Nazak Abdali . Hephthalites were a Central Asian nomadic confederation of the AD 5th-6th centuries whose precise origins and composition remain obscure...

 empire.

Commenting on the rise of Shahi dynasty in Kabul/Kapisa, Charles Frederick Oldham observes: "Kabulistan
Kabulistan
Kabulistan is a historical term referring to the eastern territories of Greater Khorasan that is centered around present-day Kabul, Afghanistan...

 must have passed through many vicissitudes during the troublous times which followed the overthrow of the great Persian empire by the Alexander. It no doubt fell for a time under the sway of foreign rulers (Yavanas, Kushanas, Hunas etc). The great mass of the population, however, remained Zoroastrian and Polytheists. And probably too, the Kshatriya chiefs from India retained great shadow of authority, and conquered Kabulistan when the opportunity arose.".

Barhatigin is said to be the founder of the dynasty which is said to have ruled for 60 generations until AD 870. This, if true, would take Barhatigin and the founding of the early Shahi dynasty back about 20x60=1200 years, i.e., to about 4th century BCE if we take the average generation of 20 years; and to 7th century BCE if average generation is taken as 25 years. It is well nigh impossible that a single dynasty could have ruled for 1200 (or 1500) years at a stretch. Moreover, king Kanik (if Kanishaka) ruled (AD 78-101) not over Kabul but over Purushapura/Gandhara and his descendants could not have ruled for almost 900 years as a single dynasty over Kapisa/Kabul especially in a frontier region called the gateway of India. Pre Islamic Hindu and Buddhist heritage of Afghanistan
Pre Islamic Hindu and Buddhist heritage of Afghanistan
Up until the advent of Islam, some eastern portions of Afghanistan was ruled by the Hindu Kabul Shahi kings. When Xuanzang visited the region early in the 7th century CE, the Kabul valley region was ruled by a Kshatriya king who is identified as the Shahi Khingal and whose name has been found in an...

 is well established in the Shahi coinage from Kabul of this period.

Based on fragmentary evidence of coins, there was one king named Vrahitigin (Barhatigin?) who belonged to pre-Christian times as Alberuni's accounts would tend to establish. If Kanik is same as Kanishaka of Kushana race as is often claimed, then the second claim that the ancestors of the early Shahis came from Tibet becomes incompatible to known facts of history.

According to Olaf Caroe, "the earlier Kabul Shahis in some sense were the inheritors of the Kushana chancery tradition and were staunch Hindus in character. The affinities of the early Shahis of Kapisa/Kabul are still speculative, and the inheritance of the Kushan-Hephthalite chancery tradition and political institutions by Kabul Shahis do not necessarily connect them to the preceding dynasty (i.e. the Kushanas or Hephthalites).

It appears that from start of 5th century till AD 793-94, the capital of the Kabul Shahis was Kapisa. As early as AD 424, the prince of Kapisa (Ki-pin of the Chinese) was known as Guna Varman. The name ending "Varman" is used after the name of a Ksahriya only. Thus the line of rulers whom Hiuen Tsang refers to in his chronicles appears to be an extension of the Ksatriya dynasty whom this Guna Varman of Ki-pin or Kapisa (AD 424) belonged. Thus this Ksatriya dynasty was already established prior to AD 424 and it was neither a Kushana nor a Hephthalite dynasty by any means.
It appears more than likely that, rather than the Kushanas or Hunas or the Turks, the Shahi rulers of Kabul
Kabul
Kabul , spelt Caubul in some classic literatures, is the capital and largest city of Afghanistan. It is also the capital of the Kabul Province, located in the eastern section of Afghanistan...

/Kapisa and Gandhara
Gandhara
Gandhāra , is the name of an ancient kingdom , located in northern Pakistan and eastern Afghanistan. Gandhara was located mainly in the vale of Peshawar, the Potohar plateau and on the Kabul River...

 had a descent from the neighbouring warlike Ksatriya clans of the Kambojas
Kambojas
The Kambojas were a kshatriya tribe of Iron Age India, frequently mentioned in Sanskrit and Pali literature.They were an Indo-Iranian tribe situated at the boundary of the Indo-Aryans and the Iranians, and appear to have moved from the Iranian into the Indo-Aryan sphere over time.The Kambojas...

 known as Ashvakas
Ashvakas
The Aśvakas or Aśvakayanas, classically called the Assacenii/Assacani , is the Sanskrit name of a people who supposedly lived in northeastern Afghanistan and the Peshawar Valley. They are/were believed to be a sub-group of the Greater Kamboja tribe profusely referenced in ancient Sanskrit/Pali...

 (q.v.), who in the 4th century BCE, had offered stubborn and decisive resistance to Macedon
Macedon
Macedonia or Macedon was an ancient kingdom, centered in the northeastern part of the Greek peninsula, bordered by Epirus to the west, Paeonia to the north, the region of Thrace to the east and Thessaly to the south....

ian invader, Alexander, and later had helped Chandragupta Maurya
Chandragupta Maurya
Chandragupta Maurya , was the founder of the Maurya Empire. Chandragupta succeeded in conquering most of the Indian subcontinent. Chandragupta is considered the first unifier of India and its first genuine emperor...

 found the Mauryan empire of India. They were the same bold and warlike people on whom king Asoka Maurya had thought it wise and expedient to bestow autonomous status and to whom he gave eminent place in his Rock Edicts V and XIII. They were fiercely independent warlike people who had never easily yielded to any foreign overlord. They were the people who, in fifth c AD, had formed the very neighbors of the Bactria
Bactria
Bactria and also appears in the Zend Avesta as Bukhdi. It is the ancient name of a historical region located between south of the Amu Darya and west of the Indus River...

n Ephthalites of Oxus and whom Chandragupta II
Chandragupta II
Chandragupta II the Great, very often referred to as Vikramaditya or Chandragupta Vikramaditya in Sanskrit; was one of the most powerful emperors of the Gupta empire in northern India. His rule spanned c...

 of Gupta dynasty had campaigned against and had obtained tribute from about the start of 5th century AD. Dr V. A. Smith says that this epic
Epic poetry
An epic is a lengthy narrative poem, ordinarily concerning a serious subject containing details of heroic deeds and events significant to a culture or nation. Oral poetry may qualify as an epic, and Albert Lord and Milman Parry have argued that classical epics were fundamentally an oral poetic form...

 verse is reminiscent of the times when the Hunas first came into contact with the Sassanian dynasty of Persia. And the Monghyr grant of king Devapala
Devapala
Deva Pala , was a powerful emperor from the Pala Empire of Bengal region in the Indian Subcontinent. He was the third king in the line and had succeeded his father, emperor Dharamapala...

 of the Pala dynasty
Pala Empire
The Pāla Empire was one of the major middle kingdoms of India existed from 750–1174 CE. It was ruled by a Buddhist dynasty from Bengal in the eastern region of the Indian subcontinent, all the rulers bearing names ending with the suffix Pala , which means protector. The Palas were often described...

 of Bengal attests that the great king had led his war expedition (AD 810-850) into the northwest against the Hunas (in western Punjab) and then the Kambojas (in the Kabul/Gandhara valleys. Sata-pañcāśaddesa-vibhaga of the medieval era Tantra book Saktisamgma Tantra locates Kambojas (Kabul Shahis?) to the west of southwest Kashmir (or Pir-pañcāla), to the south of Bactria
Bactria
Bactria and also appears in the Zend Avesta as Bukhdi. It is the ancient name of a historical region located between south of the Amu Darya and west of the Indus River...

 and to the east of Maha-Mlechcha-desa (=Mohammadan countries i.e Khorasan
Greater Khorasan
Greater Khorasan or Ancient Khorasan is a historical region of Greater Iran mentioned in sources from Sassanid and Islamic eras which "frequently" had a denotation wider than current three provinces of Khorasan in Iran...

/Iran
Iran
Iran , officially the Islamic Republic of Iran , is a country in Southern and Western Asia. The name "Iran" has been in use natively since the Sassanian era and came into use internationally in 1935, before which the country was known to the Western world as Persia...

) and likewise, locates the Hunas (Zabul Shahis?) to the south of Kama valley (or Jallalabad/Afghnaistan) and to the north of Marudesa (or Rajputana
Rajputana
Rājputāna was the pre-1949 name of the present-day Indian state of Rājasthān, the largest state of the Republic of India in terms of area. George Thomas was the first in 1800 A.D., to term this region as Rajputana...

) towards western Punjab.

The Kavyamimasa of Rajshekhar also lists the Sakas, Kekayas, Kambojas, Vanayujas, Bahlikas, Hunas, Pahlvas, Limpakas, Harahuras, Hansmaragas (Hunzas) etc in the north-west. Since Rajshekhar (AD 880-920) was contemporary with Hindu Shahis, he identifies people called Kambojas (Kabul/Kapisa), Vanayujas (Bannus), Limpakas (Lamghanis), Hunas (Zabul), Pahlvas (Persians—Maha-mlechchas), Harahuras (Red Hunas located in Herat) etc almost exactly in the same localities which were occupied by Kabul Shahi and Zabul Shahi kingdoms respectively. The above referred to pieces of evidence again spotlight on the Kambojas and the Hunas together and places them near the environs of the Muslim Persians in north-west. During 1st century AD and later in 5th century (~ AD 477), the cis-Hindukush Kambojas and Gandharas partially came under the sway of foreign invaders like the Kushanas and the Hephthalites (Hunas). These warlike people were temporarily overpowered by the numerous hordes but they did not become extinct; and once the political tide of the foreign horde
Horde
Horde may refer to:* Ordo * a clan or army of steppe nomads . See Orda * the Blue and White Horde, formed 1226, 1227* the Golden Horde, a Turkic-Mongol state established in the 1240s...

s ebbed, someone from the native chieftains from the original dominant clans (i.e. the Ksatrya Ashvakas) of this region asserted his authority and attained ascendancy in political power and had established himself as Ksatriya overlord of an independent kingdom on the ruins of the erstwhile Kushana and/or the Hephthalites empire. Having been exposed to the foreign environs for a while and having also, in a sense, inherited the Kushana-Hephthalite chancery tradition of their predecessors, these native cis-Hindukush Kamboja/Gandhara rulers had also adopted their political institutions and regal titles such as "shahi" and "tegin" etc in the same way as the Sakas, Kushanas, and Hunas had earlier adopted a form of the Persian Kshathiya/Kshathiya title from their predecessors—the Achamenids of Persia.

The title of "Shahi"

In ancient time, the title Shahi appears to be a quite popular royal title in Afghanistan
Afghanistan
Afghanistan , officially the Islamic Republic of Afghanistan, is a landlocked country located in the centre of Asia, forming South Asia, Central Asia and the Middle East. With a population of about 29 million, it has an area of , making it the 42nd most populous and 41st largest nation in the world...

 and the north-western areas of the Indian sub-continent. It was used by Achaemenids Sakas, Kushanas, Hunas, Bactria
Bactria
Bactria and also appears in the Zend Avesta as Bukhdi. It is the ancient name of a historical region located between south of the Amu Darya and west of the Indus River...

ns, by the rulers of Kapisa/Kabul
Kabul
Kabul , spelt Caubul in some classic literatures, is the capital and largest city of Afghanistan. It is also the capital of the Kabul Province, located in the eastern section of Afghanistan...

, and Gilgit
Gilgit
Gilgit is a city in northern PakistanGilgit may refer to other terms related with the area of the city:* Gilgit River* Gilgit Valley* Gilgit District* Gilgit Agency * Gilgit Airport...

. In Persian form, the title appears as Kshathiya, Kshathiya Kshathiyanam, Shao of the Kushanas and the Ssaha of Mihirakula
Mihirakula
Mihirakula was the most important Sveta Huna ruler in India. He was the son of Toramana, the founder of Huna power in India. He ruled his horde from 502 to 530 ....

 (Huna chief). The Kushanas are stated to have adopted the title Shah-in-shahi ("Shaonano shao") in imitation of Achaemenid practice.

An ancient Jaina work, Kalakacarya-kathanaka, says that the rulers of the Sakas who had invaded Ujjaini/Malwa in 62 BCE also used the titles of Sahi and Sahnusahi. Since the title Shahi was used by the rulers of Kapisa/Kabul or Gandhara also in imitation of Kushana "Shao", it has been speculated by some writers that the Shahi dynasty of Kapisa/Kabul or Gandhara was a foreign dynasty and had descended from the Kushans or Turks
Turkic peoples
The Turkic peoples are peoples residing in northern, central and western Asia, southern Siberia and northwestern China and parts of eastern Europe. They speak languages belonging to the Turkic language family. They share, to varying degrees, certain cultural traits and historical backgrounds...

 (Turushkas). However, the title has been used by several rulers irrespective of any racial connotations and this may refute the above speculation.

In addition, one ancient inscription and several ancient Buddhist manuscript
Manuscript
A manuscript or handwrite is written information that has been manually created by someone or some people, such as a hand-written letter, as opposed to being printed or reproduced some other way...

s from Gilgit
Gilgit
Gilgit is a city in northern PakistanGilgit may refer to other terms related with the area of the city:* Gilgit River* Gilgit Valley* Gilgit District* Gilgit Agency * Gilgit Airport...

 area between upper Indus and river Kabul shed some light on three kings who ruled in Gilgit region in 6-7th c AD. They also bore Shahi titles and their names are mentioned as Patoladeva alias Navasurendradiyta Nandin, Srideva alias Surendra Vikrmadiyta Nandin and Patoladeva alias Vajraditya Nandin. It is very relevant to mention here that each of the Shahi rulers mentioned in the above list of Gilgit rulers has Nandin as his surname
Surname
A surname is a name added to a given name and is part of a personal name. In many cases, a surname is a family name. Many dictionaries define "surname" as a synonym of "family name"...

 or last name It is more than likely that the surname Nandin refers to their clan name. It is also very remarkable that the modern Kamboj
Kamboj
The Kambojs , also Kamboh, are an ethnic community of the Punjab region. They may relate to the Kambojas, an Iranian tribe known to the people of Iron Age India and mentioned in ancient Sanskrit texts and epigraphy. Kamboj is frequently used as a surname in lieu of the sub-caste or the gotra name...

 tribe of northern Punjab still has Nandan (Nandin) as one of their important clan names. It is therefore very likely that these Gilgit rulers of upper Indus may also have belonged to the Kamboja
Kambojas
The Kambojas were a kshatriya tribe of Iron Age India, frequently mentioned in Sanskrit and Pali literature.They were an Indo-Iranian tribe situated at the boundary of the Indo-Aryans and the Iranians, and appear to have moved from the Iranian into the Indo-Aryan sphere over time.The Kambojas...

 lineage. Furthermore, "Shahi, Sahi, Shahiya" as a septal name is still carried by a section of the Punjab Kambojs which appears to be a relic from the Shahi title of their Kabul/Kapisa princes.

Hindu and Buddhist culture

Alberuni's reference to the supplanting of the Kabul Shahi dynasty in about AD 870 by a Brahmin called Kallar actually implies only that the religious faith of the royal family had changed from Buddhism to Hinduism by about that date; it might not have actually involved any physical supplanting of the existing Kabul Shahi dynasty as is stated by Alberuni whose account of early Shahis is indeed based on telltale stories.

Archeological sites of the period, including a major Hindu Shahi temple north of Kabul
Kabul
Kabul , spelt Caubul in some classic literatures, is the capital and largest city of Afghanistan. It is also the capital of the Kabul Province, located in the eastern section of Afghanistan...

 and a chapel in Ghazni
Ghazni
For the Province of Ghazni see Ghazni ProvinceGhazni is a city in central-east Afghanistan with a population of about 141,000 people...

, contain both the pre-dominant Hindu
Hindu
Hindu refers to an identity associated with the philosophical, religious and cultural systems that are indigenous to the Indian subcontinent. As used in the Constitution of India, the word "Hindu" is also attributed to all persons professing any Indian religion...

 and Buddhist statuary, suggesting that there was a close interaction between the two religions.

When the Chinese visitor Hsuan-tsang visited Kapisa (about 60 km north of modern Kabul) in 7th century, the local ruler was a Kshatriya
Kshatriya
*For the Bollywood film of the same name see Kshatriya Kshatriya or Kashtriya, meaning warrior, is one of the four varnas in Hinduism...

 king Shahi Khingala. A Ganesha
Ganesha
Ganesha , also spelled Ganesa or Ganesh, also known as Ganapati , Vinayaka , and Pillaiyar , is one of the deities best-known and most widely worshipped in the Hindu pantheon. His image is found throughout India and Nepal. Hindu sects worship him regardless of affiliations...

 idol has been found near Gerdez that bears the name of this king, see Shahi Ganesha.

Several 6th or 7th century AD Buddhist manuscripts were found from a stupa at Gilgit
Gilgit
Gilgit is a city in northern PakistanGilgit may refer to other terms related with the area of the city:* Gilgit River* Gilgit Valley* Gilgit District* Gilgit Agency * Gilgit Airport...

. One of the manuscripts reveals the name of a Shahi king Srideva Sahi Surendra Vikramaditya Nanda.

Invasions from the seventh century

In the wake of Muslim invasions of Kabul and Kapisa in second half of 7th century (AD 664), the Kapisa/Kabul ruler called by Muslim writers Kabul Shah (Shahi of Kabul) made an appeal to the Ksatriyas of the Hind who had gathered there in large numbers for assistance and drove out the Muslim invaders as far as Bost. This king of Kapisa/Kabul who faced the Muslim invasion was undoubtedly a Ksatriya.

In AD 645, when Chinese pilgrim Hiuen Tsang was passing through the Uttarapatha
Uttarapatha
Ancient Buddhist and Hindu texts use Uttarapatha as the name of the northern part of Jambudvipa, one of the "continents" in Hindu mythology.The name is derived from the Sanskrit terms uttara, for north, and patha, for road...

, Udabhanda or Udabhandapura was the place of residence or secondary capital of emperor of Kapisa which then dominated over 10 neighboring states comprising Lampaka, Nagara, Gandhara
Gandhara
Gandhāra , is the name of an ancient kingdom , located in northern Pakistan and eastern Afghanistan. Gandhara was located mainly in the vale of Peshawar, the Potohar plateau and on the Kabul River...

 and Varna (Bannu)
Bannu
Bannu is the principal city of the Bannu District in the Khyber Pakhtunkhwa Province of Pakistan. It is an important road junction and market city. Bannu is a very old city, founded in ancient times; however, the present location of the downtown Bannu was founded by Sir Herbert Edwardes in 1848,...

 and probably also Jaguda. About Gandhara, the pilgrim says that its capital was Purushapura; the royal family was extinct and country was subject to Kapisa; the towns and villages were desolate and the inhabitants were very few. It seems that under pressure from Arabs in the southwest and the Turks in the north, the kings of Kapisa had left their western possessions in the hands of their viceroys and made Udabhanda their principal seat of residence. The reason why Udabhandapura was selected in preference to Peshawar is at present unknown but it is possible that the new city of Udabhanda was built by Kapisa rulers for strategic reasons.

In AD 671 Muslim
Muslim
A Muslim, also spelled Moslem, is an adherent of Islam, a monotheistic, Abrahamic religion based on the Quran, which Muslims consider the verbatim word of God as revealed to prophet Muhammad. "Muslim" is the Arabic term for "submitter" .Muslims believe that God is one and incomparable...

 armies seized Kabul
Kabul
Kabul , spelt Caubul in some classic literatures, is the capital and largest city of Afghanistan. It is also the capital of the Kabul Province, located in the eastern section of Afghanistan...

 and the capital was moved to Udabhandapura, where they became known as the Rajas of Hindustan.

Move to Kabul; dynastic continuity

In subsequent years, the Muslim armies returned with large reinforcements and Kabul was swept when the Shahi ruler agreed to pay tribute to the conquerors. For strategical reasons, the Shahis, who continued to offer stubborn resistance to Muslim onslaughts, finally moved their capital from Kapisa to Kabul
Kabul
Kabul , spelt Caubul in some classic literatures, is the capital and largest city of Afghanistan. It is also the capital of the Kabul Province, located in the eastern section of Afghanistan...

 in about AD 794. Kabul Shahis remained in Kabul until AD 879 when Ya'qub-i Laith Saffari, the founder of the Saffarid dynasty
Saffarid dynasty
The Saffarids or the Saffarid dynasty was a Persian empire which ruled in Sistan , a historical region in southeastern Iran, southwestern Afghanistan and northwestern Pakistan...

, conquered the city. Kabul Shahis had built a defensive wall all around the Kabul city to protect it against the army of Muslim Saffarids. The remains of these walls are still visible over the mountains which are located inside the Kabul city.

The first Hindu Shahi dynasty was founded in AD 870 by Kallar (see above). Kallar is well documented to be a Brahmin. The kingdom was bounded on the north by the Hindu kingdom of Kashmir, on the east by Rajput kingdoms, on the south by the Muslim Emirates of Multan and Mansura, and on the west by the Abbasid Caliphate.

According to the confused accounts recorded by Alberuni which are chiefly based on folklore, the last king of the first Shahi dynasty, Lagaturman (Katorman) was overthrown and imprisoned by his Brahmin
Brahmin
Brahmin Brahman, Brahma and Brahmin.Brahman, Brahmin and Brahma have different meanings. Brahman refers to the Supreme Self...

 vizier
Vizier
A vizier or in Arabic script ; ; sometimes spelled vazir, vizir, vasir, wazir, vesir, or vezir) is a high-ranking political advisor or minister in a Muslim government....

 Kallar, thus resulting in the change-over of dynasty.

The Hindu Shahi, a term used by history writer Al-Biruni
Al-Biruni
Abū al-Rayḥān Muḥammad ibn Aḥmad al-BīrūnīArabic spelling. . The intermediate form Abū Rayḥān al-Bīrūnī is often used in academic literature...

 to refer to the ruling Hindu
Hindu
Hindu refers to an identity associated with the philosophical, religious and cultural systems that are indigenous to the Indian subcontinent. As used in the Constitution of India, the word "Hindu" is also attributed to all persons professing any Indian religion...

 dynasty that took over from the Turki Shahi and ruled the region during the period prior to Muslim conquests of the 10th and 11th centuries.

The term Hindu Shahi was a royal title of this dynasty and not its actual clan or ethnological name. Al-Biruni used the title Shah for many other contemporary royal houses in his descriptions as well.

It is very remarkable that Kalhana
Kalhana
Kalhana , a Kashmiri, was the author of Rajatarangini , an account of the history of Kashmir. He wrote the work in Sanskrit between 1148 and 1149. All information regarding his life has to be deduced from his own writing, a major scholar of which is Mark Aurel Stein...

 (c. 12th century), the author of Rajatarangini
Rajatarangini
The Rājatarangiṇī is a metrical chronicle of North west of the Indian subcontinent particularly the kings of Kashmir from earliest time written in Sanskrit by Kalhaṇa. The Rājatarangiṇī often has been erroneously referred to as the River of the Kings. In reality what Kalhana means by Rājatarangiṇī...

(written in AD 1147–49), also refers to the Shahis and does not maintain any difference or distinction between the earlier Shahis (RT IV.143) and the later Shahis or does not refer to any supplanting of the dynasty at any stage as Alberuni does in his Tarikh-al-Hind. etc., unbroken to as far as or earlier than AD 730. It is also remarkable that Rajatrangini and all other sources refer to the Shahi rulers of Udabhandapura/Waihind as belonging to the Kshatriya lineage in contrast to Alberuni who designates the earlier Shahi rulers as Turks and the later as Brahmin
Brahmin
Brahmin Brahman, Brahma and Brahmin.Brahman, Brahmin and Brahma have different meanings. Brahman refers to the Supreme Self...

s

Since the change of Shahi capital from Kabul to Waihind or Uddhabhandapura had also occurred precisely around this period, it is probable that the narrator of the folklore/tellatale to Alberuni had confused the "change of capital" issue with the "supplanting of Kabul Shahi dynasty" since the incidence of shift had occurred remotely about 200 years prior to Alberuni's writing (AD 1030). There is no doubt, as the scholars also admit, that the change in dynasty is effected by "a common legend of eastern story", which surely bears the express mark of folklore for the previous history of Kabul Shahis, hence obviously speculative and not much worthy of serious history.

Retreat and dependence on Kashmir

The Hindu Shahis became engaged with the Yamini Turks
Turkic peoples
The Turkic peoples are peoples residing in northern, central and western Asia, southern Siberia and northwestern China and parts of eastern Europe. They speak languages belonging to the Turkic language family. They share, to varying degrees, certain cultural traits and historical backgrounds...

 of Ghazni
Ghazni
For the Province of Ghazni see Ghazni ProvinceGhazni is a city in central-east Afghanistan with a population of about 141,000 people...

 over supremacy of the eastern regions of Afghanistan
Afghanistan
Afghanistan , officially the Islamic Republic of Afghanistan, is a landlocked country located in the centre of Asia, forming South Asia, Central Asia and the Middle East. With a population of about 29 million, it has an area of , making it the 42nd most populous and 41st largest nation in the world...

 initially before it extended towards the Punjab region
Punjab region
The Punjab , also spelled Panjab |water]]s"), is a geographical region straddling the border between Pakistan and India which includes Punjab province in Pakistan and the states of the Punjab, Haryana, Himachal Pradesh, Chandigarh and some northern parts of the National Capital Territory of Delhi...

. They briefly recaptured the Kabul Valley from the Samanid
Samanid
The Samani dynasty , also known as the Samanid Empire, or simply Samanids was a Persian state and empire in Central Asia and Greater Iran, named after its founder Saman Khuda, who converted to Sunni Islam despite being from Zoroastrian theocratic nobility...

 successors of the Saffarids, until a general named Alptigin
Alptigin
Alp Tigin was a founder of the state of Ghazna. He was a general of Central Asian Turkic origin from Balkh who had risen from a mercenary to general to the Governor of Khorasan based in Ghazni, and eventually to the ruler of Ghazna state....

 drove out the Samanid
Samanid
The Samani dynasty , also known as the Samanid Empire, or simply Samanids was a Persian state and empire in Central Asia and Greater Iran, named after its founder Saman Khuda, who converted to Sunni Islam despite being from Zoroastrian theocratic nobility...

 wali of Zabulistan
Zabulistan
Zabulistan , also spelled Zabolestan, is a historical region in the border area of today's Iran and Afghanistan.-History of Zabulistan:...

 and established the Ghaznavid dynasty at Ghazna. Under his general and successor Sabuktigin the Ghaznavids had begun to raid the provinces of Lamghan. and Multan. This precipated an alliance first between the then King Jayapala
Jayapala
Jayapala Janjua Shahi, the son of Asatapala and father of Anandapal, was the first king and founder of the Hindushahi dynasty of Afghanistan and Northwest Pakistan. He succeeded the last Brahman Shahi king Bhimadeva in about 964 CE, and thus began the Janjua Rajput phase of Shahiya Dynasties...

 and the Amirs of Multan, and then in a second battle in alliance with Delhi
Delhi
Delhi , officially National Capital Territory of Delhi , is the largest metropolis by area and the second-largest by population in India, next to Mumbai. It is the eighth largest metropolis in the world by population with 16,753,265 inhabitants in the Territory at the 2011 Census...

, Ajmer
Ajmer
Ajmer , formerly written as Ajmere, is a city in Ajmer District in Rajasthan state in India. Ajmer has a population of around 800,000 , and is located west of the Rajasthan state capital Jaipur, 200 km from Jodhpur, 274 km from Udaipur, 439 km from Jaisalmer, and 391 km from...

, Kalinjar
Kalinjar
Kalinjar is a fortress-city in the Bundelkhand region of central India. Kalinjar is located in Banda District of Uttar Pradesh state, near the temple-city and World Heritage Site of Khajuraho. The fortress is strategically located on an isolated rocky hill at the end the Vindhya Range, at an...

, and Kannauj
Kannauj
Kannauj , also spelt Kanauj, is a city, administrative headquarters and a municipal board or Nagar Palika Parishad in Kannauj district in the Indian state of Uttar Pradesh. The city's name is traditionally derived from the term Kanyakubja . Kannauj is an ancient city, in earlier times the capital...

 which saw the Hindu Shahi lose all lands west of the Indus River
Indus River
The Indus River is a major river which flows through Pakistan. It also has courses through China and India.Originating in the Tibetan plateau of western China in the vicinity of Lake Mansarovar in Tibet Autonomous Region, the river runs a course through the Ladakh district of Jammu and Kashmir and...

. His successor Anandapala arrived at a tributary
Tributary
A tributary or affluent is a stream or river that flows into a main stem river or a lake. A tributary does not flow directly into a sea or ocean...

 arrangement with Sebuktigin's successor, Mahmud of Ghazni
Mahmud of Ghazni
Mahmud of Ghazni , actually ', was the most prominent ruler of the Ghaznavid dynasty who ruled from 997 until his death in 1030 in the eastern Iranian lands. Mahmud turned the former provincial city of Ghazni into the wealthy capital of an extensive empire which covered most of today's Iran,...

, before he was defeated and exiled to Kashmir in the early 11th century.

Al-Idirisi
Muhammad al-Idrisi
Abu Abd Allah Muhammad al-Idrisi al-Qurtubi al-Hasani al-Sabti or simply Al Idrisi was a Moroccan Muslim geographer, cartographer, Egyptologist and traveller who lived in Sicily, at the court of King Roger II. Muhammed al-Idrisi was born in Ceuta then belonging to the Almoravid Empire and died in...

 (AD 1100-1165/66) testifies that until as late as the 12th century, a contract of investiture for every Shahi king was performed at Kabul and that here he was obliged to agree to certain ancient conditions which completed the contract. Kalhana remarked: "To this day, the appellation Shahi throws its lustre on a numberless host of kshatriya
Kshatriya
*For the Bollywood film of the same name see Kshatriya Kshatriya or Kashtriya, meaning warrior, is one of the four varnas in Hinduism...

 abroad who trace their origin to that family"
.

The kings of Kashmir were related to the Shahis through marital and political alliance. Didda
Didda
Didda was ruler of Kashmir from 958 AD to 1003 AD, first as a Regent for her son and various grandsons, and thereafter as sole ruler in her own right...

, a queen of Kashmir was a granddaughter of the Brahmin Shahi Bhima, who was married to Kshemagupta (r. 951-959). Bhima had visited Kashmir and built the temple Bhima Keshava.

Janjua Maharajadhiraj Jayapal

The initial Hindu Shahi dynasty was the House of Kallar, but in AD 964 the rule was assumed from Bhima upon his death by the Janjua emperor Maharajadiraja Jayapala
Jayapala
Jayapala Janjua Shahi, the son of Asatapala and father of Anandapal, was the first king and founder of the Hindushahi dynasty of Afghanistan and Northwest Pakistan. He succeeded the last Brahman Shahi king Bhimadeva in about 964 CE, and thus began the Janjua Rajput phase of Shahiya Dynasties...

, son of Rai Asatapala Janjua and a descendant of Emperor Janamejaya
Janamejaya
Janamejaya was a Kuru king. He was the son of Parikshit and Madravati. He was the grandson of Abhimanyu and the great-grandson of Arjuna, the valiant warrior hero of the Mahābhārata. He was ascended to the Kuru throne following the death of his father. His significance comes as the listener of the...

. Epithets from the Bari Kot inscriptions record his full title as "Parambhattaraka Maharajadhiraja Paramesvara Sri Jayapala deva" the first Emperor of the Janjua Shahi phase. He is celebrated as a hero for his struggles in defending his kingdom from the Turkic
Turkic peoples
The Turkic peoples are peoples residing in northern, central and western Asia, southern Siberia and northwestern China and parts of eastern Europe. They speak languages belonging to the Turkic language family. They share, to varying degrees, certain cultural traits and historical backgrounds...

 rulers of Ghazni
Ghazni
For the Province of Ghazni see Ghazni ProvinceGhazni is a city in central-east Afghanistan with a population of about 141,000 people...

.

Emperor Jayapala
Jayapala
Jayapala Janjua Shahi, the son of Asatapala and father of Anandapal, was the first king and founder of the Hindushahi dynasty of Afghanistan and Northwest Pakistan. He succeeded the last Brahman Shahi king Bhimadeva in about 964 CE, and thus began the Janjua Rajput phase of Shahiya Dynasties...

 was challenged by the armies of Sultan Sabuktigin and later by his son Sultan Mahmud of Ghazni
Mahmud of Ghazni
Mahmud of Ghazni , actually ', was the most prominent ruler of the Ghaznavid dynasty who ruled from 997 until his death in 1030 in the eastern Iranian lands. Mahmud turned the former provincial city of Ghazni into the wealthy capital of an extensive empire which covered most of today's Iran,...

. According to the Minháj ad-Dīn in his chronicle Tabaqát-i Násiri, he bears a testament to the political and powerful stature of Maharaja Jayapala Shah, "Jayapála, who is the greatest of all the ráis (kings) of Hind..." Misra wrote on Jaypala: "(He) was perhaps the last Indian ruler to show such spirit of aggression, so sadly lacking in later Rajput
Rajput
A Rajput is a member of one of the patrilineal clans of western, central, northern India and in some parts of Pakistan. Rajputs are descendants of one of the major ruling warrior classes in the Indian subcontinent, particularly North India...

 kings."

Maharajadhiraj Anandpal

Prince Anandapala who ascended his father's throne (in about March/April AD 1002) already proved an able warrior and general in leading many battles prior to his ascension. According to 'Adáb al-Harb' (pp. 307–10) in about AD 990, it is written, "the arrogant but ambitious Raja
Raja
Raja is an Indian term for a monarch, or princely ruler of the Kshatriya varna...

 of Lahore
Lahore
Lahore is the capital of the Pakistani province of Punjab and the second largest city in the country. With a rich and fabulous history dating back to over a thousand years ago, Lahore is no doubt Pakistan's cultural capital. One of the most densely populated cities in the world, Lahore remains a...

 Bharat, having put his father in confinement, marched on the country of Jayapála with the intention of conquering the districts of Nandana
Nandana
Nandana was a fort in eastern flanks of Salt Range in Punjab Pakistan. It was ruled by Hindu Shahi family and Mahmud of Ghazni expelled them from here...

, Jailum (Jehlum) and Tákeshar"
(in an attempt to take advantage of Jayapala's concentrated effort with defence against the armies of Ghazni). "Jayapala instructed Prince Anandapala to repel the opportunist Raja Bharat. Anandapala defeated Bharat and took him prisoner in the battle of Takeshar and marched on Lahore and captured the city and extended his father's kingdom yet further."

However, during his reign as emperor many losses were inflicted on his kingdom by the Ghaznavids. During the battle of Chach between Mahmud and Anandapala, it is stated that "a body of 30,000 Gakhars
Gakhars
The Gakhars are an ancient warrior clan who have predominantly resided in what is present day northern Punjab and South-Western Kashmir, Pakistan. In particular in the cities of Rawalpindi, Jhelum and regions of Gilgit, Baltistan, Chitral, Khanpur and Mirpur, Pakistan...

 fought alongside as soldiers for the Shahi Emperor and incurred huge losses for the Ghaznavids"
. However, despite the heavy losses of the enemy, he lost the battle and suffered much financial and territorial loss. This was Anandapala's last stand against Sultan Mahmud of Ghazni. He eventually signed a treaty with the Ghaznavid Empire in AD 1010 and shortly a year later died a peaceful death. R.C Majumdar (D.V. Potdar Commemoration Volume, Poona 1950, p. 351) compared him ironically to his dynastic ancient famous ancestor "King Porus, who bravely opposed Alexander but later submitted and helped in subduing other Indian rulers". And Tahqíq Má li'l-Hind (p. 351) finally revered him in his legacy as "noble and courageous" .

Maharaja Trilochanpal

Prince Trilochanpála, the son of Anandapala, ascended the imperial throne in about AD 1011. Inheriting a reduced kingdom, he immediately set about expanding his kingdom into the Sivalik Hills, the domain of the Rai of Sharwa. His kingdom now extended from the River Indus to the upper Ganges valley. According to Al-Biruni, Tirlochanpála "was well inclined towards the Muslims (Ghaznavids)" and was honourable in his loyalty to his father's peace treaty
Peace treaty
A peace treaty is an agreement between two or more hostile parties, usually countries or governments, that formally ends a state of war between the parties...

 to the Ghaznavids. He eventually rebelled against Sultan Mahmud and was later assassinated by some of his own mutinous troops in AD 1021-22, an assassination which was believed to have been instigated by the Rai of Sharwa who became his arch-enemy due to Tirlochanpala's expansion into the Siwalik ranges. He was romanticised in Punjabi folklore as the Last Punjabi ruler of Punjab.

Raja Bheempal

Prince Bhímapála, son of Tirlochanpala, succeeded his father in AD 1021-22. He was referred to by Utbí as "Bhīm, the Fearless" due to his courage and valour. Considering his kingdom was at its lowest point, possibly only in control of Nandana, he admirably earned the title of "fearless" from his enemy's own chronicle writer. He is known to have commanded at the battle of Nandana personally and seriously wounded the commander of the Ghaznavid army Muhammad bin Ibrahim at-Tāī ('Utbi, vil.ii, p. 151.). He ruled only five years before meeting his death in AD 1026. He was final Shahi Emperor of the famed dynasty.

Kalhana
Kalhana
Kalhana , a Kashmiri, was the author of Rajatarangini , an account of the history of Kashmir. He wrote the work in Sanskrit between 1148 and 1149. All information regarding his life has to be deduced from his own writing, a major scholar of which is Mark Aurel Stein...

, a 12th-century Kashmiri Brahmin, wrote of one campaign in the process that led to this collapse.

After the loss of empire

His sons Rudrapal, Diddapal, Kshempala, and Anangpala served as generals in Kashmir.
They gained prominence in the Kashmiri royal court where they occupied influential positions and intermarried with the royal family. Hindu Kashmir had aided the Hindus Shahis against Mahmud of Ghazni. As a result after barely defeating the Hindu Shahis, Mahmud marched his men to Hindu Kashmir to take revenge for Kashmir's support of the Hindu Shahis. However, twice Mahmud was soundly defeated by the Kashmiris and had to lick his wounds. He never was able to take on Hindu Kashmir. All sources, including the famous Al-Biruni, accept this. Al-Biruni was with Mahmud on these campaigns. They are mentioned frequently in Rajatarangini
Rajatarangini
The Rājatarangiṇī is a metrical chronicle of North west of the Indian subcontinent particularly the kings of Kashmir from earliest time written in Sanskrit by Kalhaṇa. The Rājatarangiṇī often has been erroneously referred to as the River of the Kings. In reality what Kalhana means by Rājatarangiṇī...

 of Kalhana
Kalhana
Kalhana , a Kashmiri, was the author of Rajatarangini , an account of the history of Kashmir. He wrote the work in Sanskrit between 1148 and 1149. All information regarding his life has to be deduced from his own writing, a major scholar of which is Mark Aurel Stein...

 written during AD 1147-49. Rudrapal was mentioned by the writer Kalhana as a valiant general in the campaigns he led to quell resistance to the Kashmiran kings whom they served whilst in exile. His later descendants fell out of favour at the royal court and were exiled to the Siwalik Hills
Siwalik Hills
The Sivalik hills is a mountain range of the outer Himalayas also known as Manak Parbat in ancient times. Shivalik literally means 'tresses of Shiva’. This range is about long enclosing an area that starts almost from the Indus and ends close to the Brahmaputra, with a gap of about between the...

, retaining control of the Mandu fort. After a brief period, they rose again to take control of Mathura under Raja Dhrupet Dev in the 12th century before the campaigns of the Ghorid Empire.

The Janjua Rajputs of Punjab
Punjab region
The Punjab , also spelled Panjab |water]]s"), is a geographical region straddling the border between Pakistan and India which includes Punjab province in Pakistan and the states of the Punjab, Haryana, Himachal Pradesh, Chandigarh and some northern parts of the National Capital Territory of Delhi...

 are the descendants of the House of Jayapala.

Shahi rulers

  • Khingala of Kapisa (7th c.)
  • Patoladeva alias Navasurendradiyta Nandin of Gilgit (6-7th c.)
  • Srideva alias Surendra Vikrmadiyta Nandin of Gilgit (6-7th c.)
  • Patoladeva alias Vajraditya Nandin of Gilgit (6-7th c.)
  • Kallar alias Lalliya (c. 890-895) of Kabul
  • Kamaluka (895-921)
  • Bhima (921-964), son of Kamaluka
  • Ishtthapala (?)
  • Jayapala
    Jayapala
    Jayapala Janjua Shahi, the son of Asatapala and father of Anandapal, was the first king and founder of the Hindushahi dynasty of Afghanistan and Northwest Pakistan. He succeeded the last Brahman Shahi king Bhimadeva in about 964 CE, and thus began the Janjua Rajput phase of Shahiya Dynasties...

     (964-1001)
  • Anandapala (1001-c.1010), son of Jayapala
  • Trilochanapala (ruled c.1010-1021-22; assassinated by mutinous troops)
  • Bhímapála (died in 1022-1026)

See also

  • List of Indian monarchs
  • Pre-Islamic period of Afghanistan
    Pre-Islamic period of Afghanistan
    Archaeological exploration of the pre-Islamic period of Afghanistan began in Afghanistan in earnest after World War II and proceeded until the late 1970s when the nation was invaded by the Soviet Union. Archaeologists and historians suggest that humans were living in Afghanistan at least 50,000...

     (Before 650 AD)
  • Kushanshas or Indo-Sassanians
  • Hephthalites
  • Kushano-Hephthalite or Kabul Turk-Shahi Dynasty (565-870 AD)
  • Janjua
  • Gandhara
    Gandhara
    Gandhāra , is the name of an ancient kingdom , located in northern Pakistan and eastern Afghanistan. Gandhara was located mainly in the vale of Peshawar, the Potohar plateau and on the Kabul River...

  • Kabulistan
    Kabulistan
    Kabulistan is a historical term referring to the eastern territories of Greater Khorasan that is centered around present-day Kabul, Afghanistan...

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK