The Hindu Shahis (also known as Hindūshāhs, Odi Shahis, Uḍi Śāhis or Brahman Shahis, 822–1026 CE) were a dynasty that held sway over the Kabul Valley, Gandhara and western Punjab during the early medieval period in the Indian subcontinent. Details regarding past rulers can only be assembled from disparate chronicles, coins and stone inscriptions.
|c. 822 CE–1026 CE|
|Historical era||Early Middle Ages|
|c. 822 CE|
|Today part of||Afghanistan|
Colonial scholars—James Prinsep, Alexander Cunningham, Henry Miers Elliot, Edward Thomas et al.—had published on the Hindu Shahis, primarily from a numismatic perspective. The first comprehensive volume on the subject appeared in 1972 by Yogendra Mishra, a professor in the Department of History of Patna University; he exploited the Rajatarangini meticulously but lacked in numismatics and paleography. The next year, Deena Bandhu Pandey—Professor of Art History at Banaras Hindu University—published his doctoral dissertation but his handling of Muslim sources, coins etc. were laden with errors, primarily stemming from an exclusive dependence upon English translations of Arabic/Persian chronicles. Both of these works are considered outdated and inaccurate, at large.
In 1979, Abdur Rehman received his PhD from Australian National University on "history, archaeology, coinage, and paleography" of the Turk Shahis and Hindu Shahis under the supervision of Arthur Llewellyn Basham. He has since published on the subject extensively and is considered to be an authority on the subject. In 2010, Michael W. Meister—Chair Professor of Art-History at UPenn—published a monograph on the temple-architecture of Sahis; he had worked with Rahman on multiple field investigations. In 2017, Ijaz Khan received his PhD from the School of Ancient History and Archaeology of University of Leicester on "Settlement Archaeology of the Hindu Shahi[s] in North-Western Pakistan."
No literature survives from Hindu Shahi courts. Unlike the case of Turk Shahis, only fragmented information can be obtained from chronicles of neighboring powers — Kashmir and Ghaznavi.[b] Of the former, Kalhana's Rajatarangini (1148-1149) is the only extant source. Of the latter, we have Tārīkh al-Hind by Al-Biruni (c. 1030), Tārīkh-i Bayhaqī by Abu'l-Faḍl Bayhaqi (c. late 11th century),[c] Zayn al-Akhbar by Abu Sa'id Gardezi, and Kitab-i Yamini by al-Utbi (c. 1020).
The Hindu Shahis issued silver coinage which underwent wide circulation from nearby Sindh to northeastern Europe. They were first "discovered" by James Tod, a British orientalist in 1822. Coins exhibit progressive debasement with time, with a regular decrease of silver content, allowing for the sequencing of the coinage. Early issues do not mention personal names but only generic titles, thereby not matching with the names found from literature. The characteristic motif of a horseman on the reverse with a bull on the obverse goes back to the Indo-Scythian ruler Azes I.
Inscriptions and archaeologyEdit
A. R. Rahman of the Quaid-i-Azam University and Ahmad Hasan Dani did rudimentary field surveys in the late 1960s. Afterwards, the Italian Archaeological Mission in Pakistan (IAMP) have extensively surveyed the regions in and around Swat. In 1996, Khan and Meister obtained a license from Dept. of Archaeology for an "integrated study of Hindu-Śāhi sites"; excavation at Kafir-kot and field-surveys of the Salt Range were engaged in with aid from University of Pennsylvania and American Institute of Pakistan Studies.
Inscriptions remain scarce. Mostly found in Udabhanda, they either commemorate the commissioning of temples or are affixed at the base of idol-pedestals. Of the former kind—Mir Ali Inscription, Dewal Inscription, Dewai Inscription, Ratnamanjari Inscription, Veka Inscription, Hund Stone Inscription, Kamesvaridevi Inscription, Barikot Inscription, and Isvara Inscription—most are disfigured to various extents due to use as grinding stones in medieval times and decipherable only in parts. The latter kind is relatively abundant but only provides snippets of trivia. The language is exclusively Sharda.[d] A samvat is mentioned in all of them whose zero year is understood to correspond with 822 C.E. based on the Zalamkot Bilingual Inscription; it has been assumed to be initiated by Kallar on his coronation, as was typically the case for most Hindu dynasties of medieval India. Copper land grants etc. are yet to be documented.
The 10th century Arab historian Masudi mentioned that in his time the kings of Gandhara were all called " " (which has been variously read Hajaj, J.haj or Ch'hach), while the area of Gandhara itself was called "country of the Rahbūt" (Rajputs). Elliot transliterated the character to "Hahaj" and Cunningham had it equated to the Janjua tribe/clan, who were held to be descendants of Juan-Juan Khaganate. Rahman doubts this theory and instead transliterates to "J.haj", an Arabicised form of Chhachh, which is even today the name of the region around the Hindu Shahi capital of Hund. In the 10th century, this region was occupied by the tribe of the Gakhars/ Khokhars, who formed a large part of the Hindu Shahi army according to the Persian historian Firishta. It would seem therefore that the Hindu Shahis were mainly Gakhars from the region of Chhachh in Gandhara.
Al-Biruni claimed that the Shahis were Brahmins. However this goes against Masudi's statement about Rajputs, as well as against Kalhana, whose contemporaneous Kshatriyas staked descent from the Hindu Shahis. Rahman speculates that either their Brahmin affiliation was a late rumor floated to justify their original usurpation of the throne, or they were fallen Brahmins, who ran afoul of caste-rules while discharging royal duties.
In a 2002 publication, Rahman accepted folklore among current inhabitants of Hund about pre-Muslim kings of the region belonging to the Hodi tribe, and proposed an Odi origin for the Hindu Shahi, namely the people of Oddiyana whose rulers were already known at the time of the Kushan Empire (3rd century CE) and are recorded as early as the 4th century BCE. He pointed to the famous Senvarma inscription as an evidence in support.[e] Meister found Rahman's arguments to be convincing.
Establishment (822 CE): overthrow of the Turk ShahisEdit
The Abbasids led by caliph Al-Ma'mun defeated the Kabul branch of the Turk Shahis in 815 CE who had invaded into Khorasan. Following this defeat, the Turk Shahis not only had to convert to Islam but also had to cede key cities and regions. Another campaign against the Gandhara branch seems to have followed soon, with the Caliphate reaching as East as the Indus river and imposing a critical defeat. A hefty annual tribute was to be paid in return for sovereignty rights to both territories.[f]
The Turk Shahis ended up in a precarious state and c. 822 CE, the last ruler Lagaturman was disposed by one of his ministers, a Brahmin called Kallar. The sole description of events comes from Al-Biruni:[g] Lagatarman's unbecoming manners had apparently led his subjects to lodge multiple complaints with Kallar, who having chanced upon a treasure trove, was rapidly purchasing his way to power. Kallar imprisoned the King for correction and became the acting regent before usurping the throne permanently. The new "Hindu Shahi" dynasty was thus established in Gandhara and Kabul. The Zabulistan branch of the Turk Shahis (the Zunbils), was unaffected by Al-Ma'mun's raids and continued to rule for about two more decades, before getting embroiled in the conflict to eventual extinction. None apart from Al-Biruni mentions Kallar; nothing is known about his rule or territorial extent or even his regnal dates.[h] It has been proposed by many historians that "Kallar" was a misreading of the name "Lalliya", a Hindu Shahi ruler who is mentioned by Kalhana in some detail but Rahman rejects the hypothesis due to a total lack of chronological reconciliation.
In 1848, Thomas proposed that coins bearing the obverse legend "Spalapati" ("Warlord") were minted by Kallar; Cunningham accepted Thomas' arguments some 50 years later. In 1906, Vincent Arthur Smith relied on Edward Clive Bayley's misreading of the corrupted remains of a Bactrian legend as Arabic numerals to propose that coins bearing the legend "Samanta" ("Feudatory") was also minted by Kallar. He argued the "Spalapati" series to have been minted for circulation in Persian regions of his territory and the "Samanta" series for Sanskrit-speaking regions. Mishra agreed with Smith and adduced that Kallar may have felt insecure about the legitimacy of his rule as long as the imprisoned Turk Shahi ruler Lagaturman was alive, and hence affirmed his claim to leadership by such indirect epithets.
Rahman rejects all these hypotheses: that the horse-riding figures on the reverse of these coin series wore different headgears, they were different rulers. Also, shall Smith's argument be extrapolated, Bhimadeva, an anotherwise well documented ruler, should be equated to yet another title of Kallar. The "Spalapati" series may actually had been minted by the last Turk Shahi rulers; "Pati Dumi", who was defeated by Ma'mun, is described by Al-Azraqi and Al-Biruni as an "Ispahbadh" (Persian: Spahbad "Warlord"), equivalent to the title "Spalapati" (Sanskrit: Samarapati "Warlord"). He therefore believes that Kallar did not initiate any changes in the currency system of the last Turk Shahis and the Samanta series was minted by succeding Hindu Shahi rulers. Numismatist and historian Michael Alram's publications in 2010 takes note of this view; however, as of 2021, Alram attributes the entirety of the bull/horserider coinage, including the "Spalapati" series, to the Hindu Shahis.
Al-Biruni notes that Samanta was the successor of Kallar, but their precise genealogical relationship is left undescribed. Like in the case of Kallar, there is a total lack of information on his rule or even his actual name. D.W. Macdowall argued that Al-Biruni telescoped him from the abundance of the Samanta series of coins; however, Rahman notes that if such were indeed the case, Al-Biruni should have followed a similar course for the equally abundant Vekka series.[i]
The Samanta series prototype was followed by all future Hindu Shahi rulers—and even the Muslim Ghaznavids, who succeeded the Hindu Shahis—, leading Thomas to deem him as the greatest of Hindu Shahis. Rahman speculates that the loss of Kabul (see below) occurred under Samanta, since Kallar would have been too old by that time.
Loss of Kabul to Ya'qub (870 CE)Edit
In 863, the Zunbils fell on the crosshairs of Ya'qub—an upstart military adventurer, who had recently established the Saffarid Empire and declared himself to be the Emir—as his employer-turned-foe Salih Nasr took refuge with them; a year later their combined forces were decimated by Ya'qub's relatively smaller army at Rukhkhaj. Like the Turk Shahis, Zunbils had to convert to Islam in lieu of being allowed to be installed as vassals and even then, Kbr—the son of the-then ruler—was imprisoned to Bust. 5 years hence, Kbr fled and recaptured Rukhkhaj temporally before being forced to flee into Kabul—in the Hindu Shahi territory—to thwart a chasing Ya'qub.[j]
Late 870, Ya'qub marched onto Kabul and had Kbr captured, chasing him across cities. The list of cities traversed by Ya'qub in this chase and their precise sequence vary widely among sources to the extent that it is possible to doubt whether he had even conflicted with the Hindu Shahis if not for the widespread mention of his' bringing pagan idols and elephants from Kabul as a gift for the Caliphate.
It is unknown what precise arrangements Ya'qub made for the governance of Kabul after his victory and imprisonment of the-then ruler; we only have Tarikh-i Sistan noting that Kabul was under an unnamed Ya'qub governor as late as 878/879. Rahman speculates that this governor was some blood-relation of Samanta who was favorably inclined to Islam and went on to take the title of Khudarayaka (Small King) as ascertainable from a bilingual series of coins.[k] As has been the case with previous rulers, there is a total lack of information including about his actual name or course of rule or eventual fate. The unavailability of his coins in or around the Gandhara region probably points to his lack of control over those territories which did not bear the brunt of Ya'qub's expeditions — they were likely held by Samanta's relatives.
Recovery of Kabul and conflict with the Utpalas (c.900 CE)Edit
Jawami ul-Hikayat remarks that the Logar Valley (close to Kabul) reverted to Hindu Shahis towards the end of Amr al-Layth's reign (901), successor to Ya'qub. So, the Hindu Shahis appear to have had regained their territories sometime between 879 and 901. One Lalliya was described by Kalhana as a fearsome Hindu Shahi who commanded neighboring regions yet fell meekly to Kashmir — Rahman interprets Kalhana's description as an exaggeration of the qualities of the ruler who had won back independence. The capital shifted to Udabhanda probably because it was far from the Arabic frontier and easier to defend; however, a branch appears to have been installed at Kabul.[l]
The Tarikh-i Sistan records two Indian "kings" — reconstructed by Rahman as Toramana and Asata — to have taken advantage of Amr al-Layth's preoccupation with rebellions in Khorasan, by successfully raiding Ghazna[m] c. 900 CE, held by one governor named Fardaghan. However, the Jawami ul-Hikayat portrays a different story: Kamala, the "Rai of Hindustan" launched a retaliatory raid against Fardaghan who had desecrated temples but failed to win past the latter's ingenious use of propaganda to delay a faceoff until reinforcements arrived. Irrespective of the precise outcome, it is likely that both Toramana and Asata were Hindu Shahi governors operating under Lalliya, rather than kings in their own right.
Kalhana further notes that Lalliya was a significant ally of Gujarati ruler Alakhana against the machinations of the Utpala dynasty, whose ruler Samkaravarman eventually invaded the Hindu Shahis c. 902 CE. Though successful, Samkaravarman was killed by a stray arrow on his way back to Kashmir. A year later, his successor Gopalavarman re-invaded the Hindu Shahis to depose a "pretender to the throne" (Lalliya or Asata or ?), and installed Lalliya's son Toramana with the new name of "Kamaluka".[n]
Nothing definite is known about the reign of the Hindu Shahi ruler Kamaluka, except that he was succeeded by his son, Bhimadeva. Concurrent to his reign, the Saffarids rapidly lost their power to the Samanids and sometime after 913 CE, the power vacuum led to the rise of a friendly power in the Ghazna province, the Lawik dynasty, which flourished until 962 CE and engaged in marital ties with the Hindu Shahis. There are various unsubstantiated speculations regarding the end date of Kamaluka's reign, ranging from 900 to 950.[o]
Bhimadeva: confrontations with Alp-Tegin and loss of Kabul (964 CE)Edit
Mentionned as "Bhima" in Al-Biruni's list, and identified with the Śri Bhīmadeva coin series, Bhimadeva was perhaps the most accomplished ruler of the Hindu Shahis. His rise to power was concurrent with the growth of neighboring Hindu powers and there might have been conflicts; Mahipala of the Pala Empire had mounted a brutal invasion to adjacent regions, though it remains unclear whether he entered into a faceoff with the Hindu Shahis.[p] This situation might have guided a marital alliance between Bhimadeva and the Utpalas of Kashmir, who would henceforth serve as an all-weather-friend of the Hindu Shahis. Bhimadeva's granddaughter Didda was married off to Kshemagupta and a temple was commissioned in their honor. They had a daughter who, according to Kalhana, was married to Simharaja, a Lohara chieftain.
Circa 962 Alp-Tegin, a rebel Turkish chief of the Samanid Empire who had lost out in a succession dispute, chose to venture out of Khorasan into the south of the Hindu Kush and attack Kabul, allegedly vowing to wage a Holy War (Jihad) against the "infidels" of Hind. The governor of Kabul — described in sources as "son of Kabul Shah"[q] — was defeated and the son of Abu Ali Lawik, who had led a unit to support the Shahis, was captured and sent back with a message of peace. Lawik did not respond favorably and had to retreat to Ghazna proper, after being defeated by Tegin. There, he was besieged and compelled to surrender unconditionally but managed to escape soon.
Lawik made his way to Bhimadeva and having received additional troops, mounted a combined attack c. 963. Tegin's successor Abu Ishaq Ibrahim was expelled out of Ghazna[r] and Shahi-Lawik strongholds were restored in Kabul and adjacent areas. This victory appears to have been commemorated in the Hund Slab Inscription (HSI):
...To the north of the Indus, which is a mass of complete merit here on earth, there is (a city) by name Udabhandra, which has been made their home by learned men forming communities, just as Meru (was made their home) by the immortal (gods) and other (supernatural beings)...
...Therein dwelt the chief of kings, Bhīma, of terrible valour (or with valour like that of Bhīma, the legendary hero), by whom, having conquered his enemies' troops, the earth was protected...
...The king of that (country) is (now) Jayapaladeva, who, through his body, origin, and birth, has become the sole hero, whose very pure fame, having left heaven, has attained the eternal abode of Brahman....— Excerpts of the Hund inscription of Jayapala (HSI), inscribed Year 146 (968 CE). Translation by Abdur Rehman.
However, the celebrations were short-lived. Ibrahim returned with Samanid aid in September 964 and forced Lawik to flee. Bhimadeva probably perished in this conflict or soon after. The cryptic comment in the Hund Slab Inscription about how he was burnt by Shiva's desire rather than by the enemy, probably references some form of ritualistic suicide.[s]
A new dynasty?Edit
Bhimadeva's successors would all have the surname of "Pala", and Muslim sources give hazy indications of a successional dispute, leading many to suggest that the same family was not ruling anymore. Rahman disagrees that there exist sufficient evidence in favor of such a hypothesis or conclusion.
Vijaypaladeva: feudatory or pretenderEdit
One Vijayapaladeva (r. 942 or 963) is obtained from the Ratnamanjari Inscription. Mentioned to be the "supreme sovereign" (Maharajadhiraja), he had a prince named "Candrapala". Rahman proposed Vijayapaladeva to have either belonged to the Kabul branch or be some Shahi feudatory. Khaw disagrees on the basis of his epithet and instead equates Vijayapaladeva with Thakkana Sahi, mentioned by Kalhana around same time.[t] Noted to be of a "rebellious" character, Thakkana had to be invaded by Yaśodhara—a warlord acting under the instructions of Queen Didda—and captured. Thus, Khaw finds this identification to fit within the narrative of Muslim sources — Jayapala ascended only after this threat was neutralized.
In 969, Ibn Hawqal noted that new taxes were imposed on residents of Kabul in addition to a "tribute", after Alp-Tegin's invasion. Bilgetegin succeeded Abu Ishaq Ibrahim on the occasion of his death in November 966, and ruled for about nine years, before being assasinated during his invasion of Gardiz, the last bastion of the Lawiks. His successor Piri was a drunkard whose oppressive rule led the citizens of Ghazna to request the return of Lawik.
Lawik mounted yet another expedition with help from the "son of Kabul Shah" and met Muslim forces of Ghazni, Gardez, Bost, and Bamiyan in the area of Charkh. Both breathed their last in the war and the Muslim forces imposed an overwhelming victory, despite their numerical inferiority. Sabuktigin became the undisputed leader of the Ghazni region, as he would go on to overthrow Piri shortly. Kabul was lost forever and with the foundation stone of the Ghaznavid Empire being cast, the stage was laid for a perpetual conflict with the Shahis till their disintegration.
In 986–987, Jayapala marched towards Ghazni and met with Sabuktigin's forces at Ghuzak. The war remained largely inconclusive for days before a snow-storm turned the tide against the Shahis: Jayapala was forced to propose a peace treaty.[u] Mahmud, son of Sabuktigin and a battle commander, wished to inflict a decisive defeat, but had to concede when Jayapala threatened to incinerate all valuables. A war indemnity of one million Shahi dirhams and fifty war elephants was agreed upon and some frontier forts were ceded to the Ghaznavids. Accordingly, Jaypala made his way back with a few Ghaznavi commanders who were to take charge of the ceded forts, while some of his relatives and officials were left with Sabuktigin as hostages. Once Jayapala reached into his own territories, he called off the treaty and threw the commanders into prison, probably hoping to force Sabuktigin into exchanging hostages.
Sabuktigin refused to believe that the treaty had been breached, but once it was established beyond doubt, he plundered the frontier town of Lamghan: temples were demolished and houses burnt down. In response, Jayapala entered into a coalition with unidentified Rajahs,[v] and met with the Ghaznavids near Kindi. The Ghaznavids breached the enemy lines repeatedly using light attacks and followed them with an all-out assault, routing the Shahis who had to flee beyond the Indus despite their overwhelming numerical superiority. The entire span of territory up to Peshawar was lost, and Sabuktigin installed his own tax-collectors; local tribes were ordained into Ghaznavid arms too. However, Peshawar and adjacent regions returned to Shahis, probably during a long interlude in the Ghaznavid-Shahi conflict.[w]
Circa 990–991, Mahmud would be imprisoned by his father Sabuktigin on grounds of fomenting a rebellion. Jayapala probably tried to leverage the rift in his favor by promising to rescue Mahmud, marry off his daughter to him, and further, allot sufficient wealth and troops. Mahmud did not respond favorably and noting the Shahi to be a doggy infidel, proclaimed his absolute devotion to Sabuktigin and pledged to attack Jayapala upon release. Around the same time, Jayapala was challenged by Bharat, a Rajah of Lahore who wished to wrest control of Nandana, Jailam and Takeshar. Anandapala, then Governor of Punjab, was ordered to intercept Bharat's forces and in the ensuing battle, Bharat was imprisoned and Lahore annexed; however the nobility of Lahore pleaded on behalf of their old King, who was reinstated as a feudatory after payment of tributes. About a year hence, Bharat's son Chandrak deposed him on the grounds of waging an ill-thought campaign against the Shahis, and became the new feudatory. For reasons which are not clear, c. 998-999 (eight years after the usurpation), Jayapala declared war against Lahore on the pretext of protecting his suzerain Bharat and dispatched Anandapala. Chandrak was ambushed and kidnapped around the battleground of Samutla, and Lahore was annexed by the Shahis. Rahman speculates that the Shahis were trying to balance their losses to the Ghaznavids using any pretext.
In 998, Mahmud ascended the Ghaznavid throne at Ghazni, and went on an annexation spree. Soon, Mahmud turned his eyes on the Shahis, allegedly resolving to invade their territories every year. In what was the last battle of his life, Jayapala met with Mahmud at Peshawar on 27 September 1001; one Shahi governor of Bardari province named Adira Afghan is held to have switched sides and aided in the safe and quick passage of Mahmud's troops across Shahi provinces. Mahmud saw through Jayapala's tactics of delaying the conflict in the hope of receiving reinforcements and declared war immediately. Soon, the Shahis were in a state of disarray with Jayapala and fifteen of his relatives taken as prisoners. About one million Shahi forces were taken as slaves. The war-spoils awed contemporary chroniclers: the royal necklaces alone were valued at over six million Shahi dirhams. Mahmud continued his raid as far as Hund, as his forces chased fleeing troops and decimated pockets of resistance. Within a few months, the entire Shahi territory to the west of the Indus had submitted to Mahmud.[x] By April 1002, Mahmud was on his way back to Ghazni.
Jayapala was eventually released but Muslim chroniclers differ about the specifics. Unsuri, a court-poet of Mahmud notes that he was sold in the slave market; Minhaj ad-din and al-Malik Isami adds a price of 80 dirhams/dinars. Others like al-Ansab note that Mahmud had rejected his request for pardon but allowed him to be free in lieu of a payment of 2.5 million dirhams and 50 war-elephants around March 1002, which Rahman finds more likely. Jayapala returned to Hund and immolated himself in a pyre after abdicating the throne in favor of Anandapala.
Anandapala: war and peace with MahmudEdit
Anandapala ascended to the throne around April 1002. His capital city remains unknown but was likely Nandan.[y] Anandapala had entered into marital relations with Tunga, the prime-minister of Didda, then-ruler of Kashmir and had at least two sons. He commanded significant fame as a patron of scholars though texts from his court are not extant.
Circa April 1006, Mahmud requested Anandapala to consent to the passage of his trrops via his territories to reach Daud, the ruler of Multan. He declined the request and even went to the extent of stationing troops on the banks of Indus to prevent Mahmud's crossing — an enraged Mahmud waged a cataclysmic war upon the Shahis and compelled Anandapala to escape to Kashmir (via Sodhra) before eventually finishing his original objective of conquering Multan. All these territories of "Hind" were left under the governorship of a certain Sukhapala, a neo-convert.
However, a couple of years hence, Sukhapala renounced Islam (c. late 1006) and declared rebellion. At this juncture, Anandapala tried to make space for himself by promising to aid Mahmud in containing Turk rebellions at the other side of his empire; apparently, he did not want a ruler who had defeated him, to be defeated by another.[z] It is unknown whether Anandapala's offer was accepted but Mahmud stalled his chase of Ilaq Khan and turned his attention to the Shahis; Sukhapala offered negligible resistance before fleeing into Kashmur from where he was captured, fined, and imprisoned to death. It is likely that Anandapala was installed as the next Ghaznavid vassal.
Circa December 1008, Mahmud mounted an invasion of Hindu Shahis for reasons which are not clear. Anandapala sent a large army—probably, supplanted with neighboring troops—under the commandership of his son (Trilochanapala), who arrived in the plains of Chach but failed to prevent Mahmud's troops from crossing across the Indus. The Battle of Chach ended with the defeat of the Hindu Shahi troops. Mahmud chased the fugitive troops for months—seizing Nagarkot to collect his war-spoils, in the process—and even took a son of Anandapala as hostage. Governors were installed across the conquered provinces and Mahmud would return to Ghazni, only by June of the next year.
This would be the last military conflict of Anandapala; the next year, Anandapala sent an embassy to Mahmud. The proposal of peace was accepted and in return, Hindu Shahis were to accept tributary status, provide (limited) military support, guarantee passage of troops, and remit an annual tribute. Mahmud send his own agents to oversee the enforcement of peace-treaty and within a year, normal trade relations had resumed. The death of Anandapala is not recorded in any chronicle; however, it can be ascertained to be c. late 1010 - early 1011. The fate of the son taken back to Ghazni remains unknown.
Trilochanapala and Bhimapala: overwhelming losses to Mahmud and disintegrationEdit
Al-Biruni held Trilochanapala to have had a favorable attitude towards Muslim subjects, unlike his father. Trilochanapala did not dishonor Anandapala's treaty, but when Mahmud wishing to march towards Thanesar via Hindu Shahi territories, he proposed that the city be spared in lieu of a negotiated peace-treaty. Mahmud rejected the request and sacked Thanesar with an uneventful passage via Shahi territories. However, as a consequence or otherwise, Trilochanapala soon stopped paying the annual tributes to Mahmud and declared war.
In November 1013, Mahmud progressed towards Hind to contain Trilochanapala but failed to make across the snow-laden passes. Taking advantage of this delay, Trilochanapala tasked his son Bhimapala with arranging Shahi troops and went to Kashmir, where he received a battalion from king Sangramaraja of the Lohara dynasty, commanded by Tunga. The face-off happened in the middle of the following year. Bhimapala initially went about exploiting the local topography of a narrow mountain-pass in his favor, and launched stinging guerilla attacks on Mahmud's troops—to the extent of being referred to by Uth'bi as "Bhima, the Fearless", until he got confident of his numerical superiority and switched to open-warfare; in the mayhem that followed this tactical blunder, Shahis were routed and Bhima had to flee.
The fortress at Nandana was sacked for war-spoils and a Ghaznavid governor was installed, while Mahmud went searching for Trilochanapala. Trilochanpala, in the meantime, had set up his base with Kashmiri forces on the banks of the Poonch River. An initial round of success against a Ghaznavid reconnaissance party contributed to Tunga's pride and he then mounted a disastrous maneuver without consulting experienced Shahi generals, ensuring another crippling defeat coupled with a total loss of territory, west of Tausi. Rahman noted this campaign to be the death-blow for the Hindu Shahis — "it was no longer a question of whether but a question of when" the Shahis would perish.
From the outset of his rule, Trilochanapala had chosen to expand into the Siwalik Hills to make up for the territories lost in his predecessors' conflicts with the Ghaznavids: this brought him into multiple conflicts with Chandar Rai of Sharwa. But the fatal encounter with Mahmud ensured that Trilochanapala had nowhere but the Siwaliks to retreat into and compelled him to enter into a peace treaty, even offering his son to be married with the daughter of Chandar. The offer was accepted but Bhima was imprisoned when he went to bring the bride home and Chandar asked for reparations. This brought an end to Trilochanapala's imperial ambitions in the Lower Himalayas for the time being though stray conflicts continued.
When Mahmud sacked Sharwa while returning from his Kanauj campaign (c. 1017), Trilochanapala is noted to have taken refuge with Paramara Bhoja. Sometime soon, significant polities in the Doab entered into treaties with one another and with the Hindu Shahis to ward off future invasions of a similar scale. Mahmud did not take kindly to these alliances and returned in October 1019. Trilochanapala's men were tasked by Vidyadhara of Chandela to prevent Mahmud's troops from crossing across the Ramganga (somewhere around Bulandshahr) and they took positions at the eastern bank but failed to execute the task. Subsequently, Trilochanapala planned to move away, probably to join Vidyadhara's forces for the main faceoff, but a swift charge by Mahmud's troops inflicted yet another resounding defeat. Bulandshahr was sacked and two of his wives and daughters imprisoned. He tried to enter into a peace-treaty but in vain, causing him to flee to Vidyadhara. It is not known whether he made it to the camp but Vidyadhara is noted to have deserted his posts by then.
In 1021,[aa] Trilochanapala, by then a ruler of little significance in all probabilities, was assassinated by his mutinous Hindu troops for reasons unknown. Bhimapala, who must have escaped the Rais sometime in between, succeeded him and continued to rule until 1026; nothing is known about his rule or territories.
Adab al-harb—a manual of state-craft produced during the times of Iltutmish, which contains a host of unique information about the Ghaznavids—note that in 1040, one Sandbal, a grandson of the Kabul Shah, marched towards Lahore seeking to utilize the imprisonment of Masʽud I and resulting political instability to his favor. The armies met at Qadar Jur (var. Qalachur) and the Shahis had a numerical superiority; despite, they were defeated as their troops left the battle in a state of panic as Sandbal was assassinated by a Turk archer. He seem to have been based around the Siwaliks — many contemporary Muslim chronicles do mention a Hindu triumvirate to have unsuccessfully attacked Ghaznavids around the same time but mention only two of the names, both petty Siwalik chieftains and not Sandbal.
Some Shahis migrated into Kashmir and gained prominent positions in their court.
Art and ArchitectureEdit
New temples were built inside fortresses while existing ones were extensively refurbished or repurposed. The Gandhar-Nagara style of architecture developed distinct formulations under the Hindu Shahis. Meister notes a typical Hindu Shahi temple to have two ground-level chambers embedded within a tower—leading to a minaret like appearance—with an ambulatory at the top, that is accessible by a stairwell. He dates construction of eight temples to the Hindu Shahis:[ab] one of the five temples at Kafir Kot (mid 9th c.), two temples at Amb (late 9th c. and 10th c.), one at Gumbat (10th c.), one at the Katas Raj complex (10th c.), two temples at Bilot (late 10th c.), and one at Nandana (early 11th c.; reuse of a sacred [Buddhist - ?] site).[ac]
Besides, there were two sandstone temples at Malot and Shiv-Gangā (10th c.) which exhibited a blend of Shahi and Kashmiri architecture, bearing testimony to the cultural flows between the two polities. All of these structures are in a state of ruins and have fallen in disuse since time immemorial; except for Kafir Kot, excavations need to be carried out to understand the architectural grammar of Hindu Shahis in more detail.
Sculptures from the Hindu Shahi period are very scarce and any in-depth study is yet to be undertaken.
Forts and settlementsEdit
The archaeology of the Hindu Shahis remains unrecognized and poorly understood. Dani ascribed ruined forts to the Hindu Shahis at Pehur, Kamala, and Bata, but without detailed reasoning. Hund remains the main archaeological site. Fragmentary evidence is located across the Peshawar valley. Excavations by Rahman (and others) documented a Buddhist monastery at Barikot, which was repurposed to a Hindu Shahi fort.
Society and EconomyEdit
Shaivism was practiced by the Hindu Shahis and likely, was also the predominant religion; Saura was practiced by some subjects, as were Buddhism and Islam. Kabul exported cotton clothing and indigo. Silver was mined at Panjshir and smelted at Andarab.
- The name is derived from Al-Biruni. Etymological origin of "Shahi" remains poorly understood; it derived either from Greek or Persian. A royal epithet, it was first used by Kushana rulers. The actual name of the dynasty—that is, how they referred to themselves or their polity—remains unknown. In general, the characteristic of Kingdoms in far-northwestern India was to designate themselves with respect to their geographic identities than familial or religious affiliations.
- Rehman hypothesizes that the frontier states were splintering from the Caliphate during the rise of Hindu Shahis and had better things to worry about.
- He had another work Tarikh-i-Yamini dealing with the subject; it is lost.
- Bactrian Cursive seem to have fallen out of favor with the Hindu Shahis.
- For more details on the inscription (and Odi Kings), consult 
- The tribute amounted to 1,500,000 Dirhams and 2,000 slaves per year.
- The passage went:
The last king of this race was Lagatarman [of the Turk Shahis], and his Vazir was Kallar, a Brahman. The latter had been fortunate, in so far as he had found by accident hidden treasures, which gave him much influence and power. In consequence, the last king of this Tibetan house, after it had held the royal power for so long a period, let it by degrees slip from his hands. Besides, Lagatarman had bad manners and a worse behaviour, on account of which people complained of him greatly to the Vazir. Now the Vazir put him in chains and imprisoned him for correction, but then he himself found ruling sweet, his riches enabled him to carry out his plans, and so he occupied the royal throne. After him ruled the Brahman kings Samand (Samanta), Kamalu, Bhim (Bhima), Jaipal (Jayapala), Anandapala, Tarojanapala (Trilochanapala). The latter was killed A.H. 412 (A.D. 1021), and his son Bhimapala five years later (A.D. 1026). This Hindu Shahiya dynasty is now extinct, and of the whole house there is no longer the slightest remnant in existence.
- Rahman cautions against a general tendency in Punjab to associate any place having an etymological similarity with Kallar to being established by the ruler; in local dialects, the word also refers to "saline soil".
- Interestingly, there was one Vekkadeva indeed. See note (l).
- Ya'qub had to withdraw due to mountain-passes being blocked with heavy snowfalls. During the return, he imposed exemplary punishments on all Turk tribes who had helped the Zunbil prince.
- Otherwise, Ya'qub himself would have never proclaimed himself with such lowly titles while later Hindu Shahis, who regained sovereignty won't mint in Arabic at all. Further, the series matched with the distinctly lower weight standard of the Arabic dirhem as introduced after ‘Abd al- Malik's currency reforms.
- The Mazar-i-Sharif Inscription (c. 960 or 981; unclear provenance) mentions one Vekkadeva, who established an image of "Śiva-Uma". Dani attributes him to this branch.
- Likely refers to the province of Zabulistan than the city itself.
- From Kalhana's description, Gopalavarman appears to have effected a regime-change to install a more docile ruler.
- Some have argued for the early 900s, in an attempt to squeeze Bhimadeva closer to the establishment of the dynasty, since he had minted coins of the Samanta series; Raman found the argument to lack basis, since the coins of the Samanta series would be minted by Mahmud of Ghazni as late as the early 11th century.
- At the time, the Arabic frontiers were in a temporary state of disarray due to internal warfare.
- Refers to the Kabul branch, in all probabilities. It remains unclear why Bhimadeva did not choose to support them at this very juncture.
- Ibrahim had to retreat to Bukhara.
- Rahman points to Puranic worldview, where Kings who lost battles had lost . A few decades hence, Jayapala would immolate himself to death after being defeated by Mahmud.
- Rehman claimed scholars deeming Thakkana as the successor of Bhimadeva to be in the wrong.
- Al-utbi notes Sabuktigin to have consented to the proposal "on account of the mercy he felt towards those who were his allied lords". The precise meaning is unclear.
- Rahman doubts that the alliance was some confederacy, as described in multiple Islamic sources. Neither extant literature nor extant inscriptions from neighboring Indian polities speak of such a grand political maneuver - in all likelihood, the allies were petty chieftains.
- Ferishta mentions that Mahmud had stationed a garrison at Peshawar; this must have been either withdrawn or expelled by Jayapala.
- It was probably around this time, that some mausoleum (or tomb) was commissioned at Zalamkot by Mahmud's commander Arslan Jadhib for the fallen, which would be eventually completed in 1011. See  on the Zalamkot Bilingual Inscription.
- Some scholars have speculated it to be Lahore.
- This information comes from Al-biruni, someone who had described Anandapala to have the greatest hatred for Islam.
- This date is from Al-biruni. Ibn AL-athir says that Trilochanapala perished soon after his defeat at the hands of Mahmud.
- Excavations at the foundations of the Brick Temple of Kalar (1902) had located a single coin of Vekkadeva leading some to suggest a Shahi-era construction; Meiser finds the temple to be more archaic and proposes a date of c. 8th century. Dhaky is of the same opinion.
- For detailed description of each of these temples, consult 
- Temple D—per Meiser's designations—near the main gateway to the north. The complex has four temples.
- Temple B, per Meiser's designations. The complex has eight temples.
- Allchin 2019, p. 458–459.
- Schwartzberg, Joseph E. (1978). A Historical atlas of South Asia. Chicago: University of Chicago Press. p. 146, map XIV.2 (j). ISBN 0226742210.
- Sharma 2003.
- Salomon 2003.
- Khan 2017.
- Rehman 1976, p. xii-xiii.
- Rehman 1976, p. xiii.
- Rehman 1976, p. xiii-xiv.
- Rehman 1976, p. xvi.
- Meister 2010, p. 9.
- Rehman 1976.
- Rehman 1976, p. 89.
- Flood 2018, p. 38.
- Flood 2018, p. 25.
- Rehman 1976, p. 190.
- MACDOWALL 1968.
- Khan 2017, p. 23.
- Rehman 1976, p. 218.
- Khaw 2016.
- Rehman 1976, p. 219.
- Rehman 1976, p. 241, 318.
- Rahman 1998, p. 473.
- Rehman 1976, p. 187 and Pl. V B., "the horseman is shown wearing a turban-like head-gear with a small globule on the top".
- Rehman 1976, p. 48.
- Rehman 1976, pp. 48–50.
- Rehman 1976, p. 51.
- Rehman 1976, p. 52.
- Rahman 2002a, p. 41.
- Hinüber 2003.
- Meister, Michael W. (2005). "The Problem of Platform Extensions at Kafirkot North" (PDF). Ancient Pakistan. XVI: 41–48.
- Rehman 1976, p. 85.
- Alram, Michael (1 February 2021). "The Numismatic legacy of the Sasanians in the East" in Sasanian Iran in the Context of Late Antiquity: The Bahari Lecture Series at the University of Oxford. BRILL. pp. 20–21. ISBN 978-90-04-46066-9.
- Rehman 1976, p. 85-86.
- Rehman 1976, p. 86.
- Rehman 1976, p. 87.
- Rehman 1976, p. 87-88.
- Kuwayama, Shoshin (1976). "The Turki Śāhis and Relevant Brahmanical Sculptures in Afghanistan". East and West. 26 (3/4): 403. ISSN 0012-8376. JSTOR 29756318.
- Rehman 1976, p. 88.
- Rehman 1976, p. 91.
- Rehman 1976, p. 61.
- Rehman 1976, p. 90, 93-94.
- Rehman 1976, p. 94.
- Rehman 1976, p. 92.
- Rehman 1976, p. 186.
- Rehman 1976, p. 187.
- Rehman 1976, pp. 93, 175.
- Rehman 1976, p. 96.
- Rehman 1976, p. 93.
- Paiman, Zafar; Alram, Michael (1 January 2010). "Tepe Narenj: A Royal Monastery on the High Ground of Kabul, with a Commentary on the Coinage". Journal of Inner Asian Art and Archaeology. 5: 33–58. doi:10.1484/J.JIAAA.1.103268. ISSN 1783-9025.
- Alram, Michael (1 February 2021). "The Numismatic Legacy of the Sasanians in the East", in "Sasanian Iran in the Context of Late Antiquity: The Bahari Lecture Series at the University of Oxford". BRILL. p. 21, full study pages 5–21. ISBN 978-90-04-46066-9.
- Rehman 1976, p. 95.
- Giunta 2006, p. 238.
- Rehman 1976, p. 97-99.
- Rehman 1976, p. 100-101.
- Rehman 1976, p. 101.
- Flood 2018, p. 25-26.
- Rehman 1976, p. 101-104.
- Rehman 1976, p. 102-104.
- Rehman 1976, p. 105.
- Rehman 1976, p. 105-106.
- Rehman 1976, p. 106.
- Rehman 1976, p. 106-107.
- Rehman 1976, p. 107.
- Dani, Ahmad Hasan (2000). "Mazar-I-Sharif Inscription of the Time of the Shahi Ruler Veka, Dated the Year 138". Proceedings of the Indian History Congress. 61: 132–135. ISSN 2249-1937. JSTOR 44148087.
- Rehman 1976, p. 111, 116.
- Rehman 1976, p. 111-112.
- Rehman 1976, p. 112.
- Rehman 1976, p. 113.
- Rehman 1976, p. 113-114, 117.
- Rehman 1976, p. 117.
- Rehman 1976, p. 118-119.
- Rehman 1976, p. 120.
- Rehman 1976, p. 121.
- Rehman 1976, p. 123-124.
- Rehman 1976, p. 123.
- Rehman 1976, p. 124.
- Inaba 2015, p. 110.
- Rehman 1976, p. 127.
- Rehman 1976, p. 127, 129.
- Rehman 1976, p. 128.
- Rehman 1978.
- Rehman 1976, p. 130.
- Rehman 1976, p. 131-133.
- Inaba 2017.
- Rehman 1976, p. 133.
- Rehman 1976, p. 133-134.
- Rehman 1976, p. 134.
- Rehman 1976, p. 134-135.
- Hutchinson's story of the nations, containing the Egyptians, the Chinese, India, the Babylonian nation, the Hittites, the Assyrians, the Phoenicians and the Carthaginians, the Phrygians, the Lydians, and other nations of Asia Minor. London, Hutchinson. p. 150.
- Rehman 1976, p. 135.
- Rehman 1976, p. 135-136.
- Rehman 1976, p. 136.
- Rehman 1976, p. 136-137.
- Rehman 1976, p. 137.
- Rehman 1976, p. 137-138.
- Rehman 1976, p. 138.
- Rehman 1976, p. 138-139.
- Rehman 1976, p. 139.
- Rehman 1976, p. 139-140.
- Rehman 1976, p. 140.
- Rehman 1976, p. 140-141.
- Rehman 1976, p. 141.
- Rehman 1976, p. 141-142.
- Rehman 1976, p. 142.
- Rehman 1976, p. 143.
- Rehman 1976, p. 142-143.
- Rahman 2002b.
- Rehman 1976, p. 144-145.
- Rehman 1976, p. 146.
- Rehman 1976, p. 146-147.
- Chandra, Satish (2004). Medieval India: From Sultanat to the Mughals-Delhi Sultanat (1206-1526) - Part One. Har-Anand Publications. pp. 19–20. ISBN 978-81-241-1064-5.
- Schwartzberg, Joseph E. (1978). A Historical atlas of South Asia. Chicago: University of Chicago Press. p. 32, 146. ISBN 0226742210.
- Rehman 1976, p. 147.
- Rehman 1976, p. 147-148.
- Rehman 1976, p. 157.
- Rehman 1976, p. 148.
- Rehman 1976, p. 148-149.
- Rehman 1976, p. 149-150.
- Rehman 1976, p. 150.
- Rehman 1976, p. 151.
- Rehman 1976, p. 151-152.
- Rehman 1976, p. 152-153.
- Rehman 1976, p. 155.
- Rehman 1976, p. 156.
- Rehman 1976, p. 157-158.
- Rehman 1976, p. 158.
- Rehman 1976, p. 159.
- Rehman 1976, p. 159-160.
- Rehman 1976, p. 161.
- Rehman 1976, p. 162.
- Rehman 1976, p. 162-163.
- Rehman 1976, p. 163.
- Rehman 1976, p. 163-164.
- Rehman 1976, p. 164.
- Rehman 1976, p. 165.
- Rehman 1976, p. 166.
- Rehman 1976, p. 166-167.
- Rehman 1976, p. 329-330.
- Shafi, Iqbal M. (1 April 1938). "Fresh Light On The Ghaznavids". Islamic Culture. 46 (1): 213–215.
- Rehman 1976, p. 90, 322-325.
- Meister 2010.
- Meister 2010, p. 12.
- Meister 2010, p. 27-28.
- Meister 2010, p. 35.
- Meister 2010, p. 36-38.
- Meister 2010, p. 28-34.
- Meister 2010, p. 57-59.
- Kossak 1994. sfn error: no target: CITEREFKossak1994 (help)
- Meister 2010, p. 5.
- Rehman 1976, p. 268.
- Rehman 1976, p. 269.
- Meister 2010, p. 4.
- Meister, Michael W. (1 March 2007). "Image Iconopraxis and Iconoplasty in South Asia". Res: Anthropology and Aesthetics. 51: 13–32. doi:10.1086/RESv51n1ms20167713. ISSN 0277-1322. S2CID 133267017.
- Rehman 1976, p. 33-34.
- Rehman 1976, p. 30.
- Khan, Ijaz (13 October 2017). Exploring the Settlement Archaeology of the Hindu Shahi Dynasty (c. 822 CE to c. 1026 CE) in North-Western Pakistan (Thesis). University of Leicester.
- Rehman, Abdur (January 1976). The Last Two Dynasties of the Sahis: An analysis of their history, archaeology, coinage and palaeography (Thesis). Australian National University.
- Khaw, Nasha Bin Rodziadi (2016). Study and Analysis of Brāhmī and Śᾱradᾱ Inscriptions from Gandhᾱra: its Impact on Religious, Cultural and Historical Landscape of the Region (Thesis). University of Peshawar.
- Rahman, Abdur (1998). "The Zalamkot Bilingual Inscription". East and West. 48 (3/4): 469–473. ISSN 0012-8376. JSTOR 29757399.
- Rahman, Abdul (August 2002a). "New Light on the Khingal, Turk and the Hindu Sahis" (PDF). Ancient Pakistan. XV: 37–42.
- Rahman, Abdul (August 2002b). "Arslan Jadhib, Governor of Tiis: the First Muslim Conqueror of Swat". Ancient Pakistan. XV: 11–14.
- Rehman, Abdur (1978). "An Inscription of Jayapāla Śāhī". Journal of the Royal Asiatic Society of Great Britain and Ireland (1): 32–33. ISSN 0035-869X. JSTOR 25210916.
- Hinüber, Oskar (2003). Beiträge zur Erklärung der Senavarma-Inschrift. Abhandlungen der Akademie der Wissenschaften und der Literatur (in German). Franz Steiner Verlag. ISBN 978-3-515-08203-7.
- Salomon, Richard (2003). "Review of Die Palola Ṣāhis: Ihre Steininschriften, Inschriften auf Bronzen, Handschriftenkolophone, und Schutzzauber. Materialen zur Geschichte von Gilgit und Chilas. Antiquities of Northern Pakistan, Reports and Studies, vol. 5". Bulletin of the Asia Institute. 17: 185–188. ISSN 0890-4464. JSTOR 24049315.
- Balogh, Dániel (12 March 2020). Hunnic Peoples in Central and South Asia: Sources for their Origin and History. Barkhuis. p. 362. ISBN 978-94-93194-01-4.
- Sharma, Ram Sharan (2003). Early Medieval Indian Society: A Study in Feudalisation. Orient Blackswan. p. 130. ISBN 978-81-250-2523-8.
- Allchin, Raymond (3 June 2019). Archaeology of Afghanistan: From Earliest Times to the Timurid Period: New Edition. Edinburgh University Press. ISBN 978-1-4744-5047-8.
- MACDOWALL, DAVID W. (1968). "The Shahis of Kabul and Gandhara". The Numismatic Chronicle. 8: 192–194. ISSN 0078-2696. JSTOR 42666553.
- Kossak, Steven; Lerner, Martin (1994). "The Arts of South and Southeast Asia". The Metropolitan Museum of Art Bulletin. 51 (4): 35–37. doi:10.2307/3269200. JSTOR 3269200.
- Meister, Michael W. (26 July 2010). Temples of the Indus: Studies in the Hindu Architecture of Ancient Pakistan. BRILL. ISBN 978-90-04-19011-5.
- Kim, Hyun Jin (19 November 2015). The Huns. Routledge. ISBN 978-1-317-34091-1.
- Flood, Finbarr B. (20 March 2018). Objects of Translation: Material Culture and Medieval "Hindu-Muslim" Encounter. Princeton University Press. ISBN 978-0-691-18074-8.
- Inaba, Minoru (2015). "A Venture on the Frontier: Alptegin's Conquest of Ghazna and its Sequel". Medieval Central Asia and the Persianate World. pp. 108–128. doi:10.5040/9780755695133.ch-005. ISBN 9780755695133.
- Inaba, Minoru (2017). "Across the Hindūkush of the ʿAbbasid Period". The ʿAbbasid and Carolingian Empires. pp. 123–150. doi:10.1163/9789004353046_007. ISBN 9789004353046.
- Giunta, Roberta (2006). "A Selection of Islamic Coins from the Excavations of Udegram, Swat". East and West. 56 (1/3): 237–262. ISSN 0012-8376. JSTOR 29757689.
- Anooshahr, Ali (October 2018). "The Elephant and the Sovereign: India circa 1000ce". Journal of the Royal Asiatic Society. 28 (4): 615–644. doi:10.1017/S1356186318000093. ISSN 1356-1863. S2CID 165840777.
- Ball, Warwick; Bordeaux, Olivier; Dowall, David W. Mac; Sims-Williams, Nicholas; Taddei, Maurizio (May 2019). "From the Kushans to the Shahis". In Allchin, Raymond; Ball, Warwick; Hammond, Norman (eds.). The Archaeology of Afghanistan: From Earliest Times to the Timurid Period (2 ed.). Edinburgh University Press. ISBN 9780748699179.