Medieval India · Early Medieval India, 750–1200

Two Mirrors of an Age: Al-Biruni, Kalhana and India around 1000–1150

A scholar brought to Ghazni as a captive who learnt Sanskrit and wrote the most searching foreign account of India, and a Kashmiri Brahmana who set out to judge his kings like a judge: what they saw, what they missed, and why historians still argue over them

15 min read · Updated

Prologue: two writers, one century

In 1017 Sultan Mahmud of Ghazni invaded Khwarizm, in Central Asia, and carried several of its scholars and poets back to his capital. One of them was a man who knew Syriac, Arabic, Persian and Hebrew and would soon learn Sanskrit. He arrived in Ghazni as a hostage, by one account; another says his fame as an astronomer won him his freedom at once. His name was Abu Rayhan Al-Biruni, and the book he wrote about India is still read, argued over and set in examinations nearly a thousand years later.

More than a century later, in 1148, in the valley of Kashmir, a Brahmana named Kalhana began to write a history of his kingdom's kings. He finished it in 1150 and called it the Rajatarangini, the River of Kings. One man looked at India from outside, through its books; the other looked at his own small country from inside, through its records. Between them they are two of the best windows we have on India in the age just before the Delhi Sultanate.

1. From Khwarizm to the Punjab

Al-Biruni was born in 973 in Khwarizm. The books place it variously in present-day Uzbekistan, in Turkmenistan (as Khiva) and in Iran, and describe him as Arab, Persian or Central Asian. Khwarizm was an important centre of learning. He did not know Greek, by one account, though another counts Greek among his languages; either way he had read Plato and other Greek philosophers in Arabic translation, and he became a master of astronomy, mathematics, physics and mineralogy. Of the 180 books he wrote, only 40 survive.

It was in Ghazni that he became interested in India. Sanskrit works on astronomy, mathematics and medicine had been translated into Arabic since the eighth century, and once the Punjab became part of the Ghaznavid empire, contact with its people became easier. He spent years with Brahmana priests and scholars, learning Sanskrit and studying religious and philosophical texts, and probably travelled widely in the Punjab and parts of northern India. Accounts of his stay differ: he spent ten years in India, by several accounts; his observations date from 1017 to 1030, by another; one says he went with Mahmud's armies in 1018–19 'as a freelance observer'; and one places him writing at Lahore around 1035.

He worked in both directions. Into Arabic he translated Sanskrit works, among them Patanjali's work on grammar; into Sanskrit, for his Brahmana friends, he translated Euclid. He died in Ghazni, at the age of 70 by one account and of seventy-seven, in 1048, by another.

2. The Kitab-ul-Hind

A manuscript page with a diagram of the moon in eight phases around the earth, red lines joining them, and Arabic text below
The phases of the moon, an illustration from a later manuscript of a work by Al-Biruni.Al-Biruni (later copy), Public domain, via Wikimedia Commons

His great work on India, the Kitab-ul-Hind, also called the Tahqiq-i-Hind, was written in Arabic. It is simple and lucid but voluminous: 80 chapters on religion and philosophy, festivals, astronomy, alchemy, manners and customs, social life, weights and measures, iconography, laws and metrology. Most chapters follow the same plan: a question, then a description based on Sanskrit traditions, then a comparison with other cultures, a structure some scholars trace to his mathematician's mind. He described the book's purpose as:

“a help to those who want to discuss religious questions with them (the Hindus), and as a repertory of information to those who want to associate with them.”
— Al-Biruni, on the purpose of the Kitab-ul-Hind

Few people in India would have read it before 1500, but many outside India may have done so; Edward Sachau later translated it into English as Alberuni's India. Historians still mine it. It gave them the key to the Gupta era, which it says began 241 years after the Shaka era, placing its start in 319–20 CE. It lists the scripts of India, from Siddhamatrika in Kashmir, Varanasi and around Kanauj to Nagara in Malwa and Karnata in Karnatadesha. It traces the roads out of Kanauj, and it notes that northern India still wrote on tree-bark while the south wrote on palm leaves.

He also took a scientist's care over what he was told. Faced with the story of a wooden idol said to have lasted 216,432 years, he asked how wood could last so long in a place where the air and soil were rather wet, and ended: 'God knows best!' His description of Somnath, as one historian reads it, is the most accurate we have: the image was a lingam, the temple about a hundred years old, standing within a fort on the edge of the sea and much venerated by sailors.

3. The barriers to understanding

Al-Biruni knew how hard his task was, and named the 'barriers' that stood in the way. The first was language: Sanskrit was so different from Arabic and Persian that ideas could not easily be carried from one into the other.

“If you want to conquer this difficulty (i.e. to learn Sanskrit), you will not find it easy, because the language is of an enormous range, both in words and inflections, something like the Arabic, calling one and the same thing by various names, both original and derivative, and using one and the same word for a variety of subjects”
— Al-Biruni, on Sanskrit

The second barrier was the difference in religious beliefs and practices; the third, the self-absorption and insularity of the people. His opening chapter put the third in words that every account of him quotes, with small differences of translation:

“The Hindus believe that there is no country but theirs, no nation but theirs, no kings like theirs, no science like theirs. They are haughty, foolishly vain, self-conceited and stolid.”
— Al-Biruni

He thought the Brahmanas withheld their learning from men of other castes and still more from foreigners, and that if they travelled and mixed with other nations they would change their minds, since their ancestors had not been so narrow-minded. He admired Indian science deeply, yet found it disordered:

“I can only compare their mathematical and astronomical knowledge to a mixture of pearls and sour dates, or of pearls and dung, or of costly crystals and common pebbles.”
— Al-Biruni

Romila Thapar finds that judgement a reflection of its moment. One suspects, she writes, that he was contrasting real advances in astronomy and mathematics with the patronage of astrology and divination at royal courts; and it is 'indeed unfortunate that Alberuni visited India at a time when knowledge was at a low ebb'. Had he come four centuries earlier, a mind like his would have joined eagerly in the vigorous debates of the time. Satish Chandra turns the mirror round: 'We do not find an Al-Biruni among Indians to study foreign lands.'

4. Caste through a stranger's eyes

Al-Biruni tried to explain caste by looking for parallels. Ancient Persia, he noted, had four social categories: knights and princes; monks, fire-priests and lawyers; physicians, astronomers and other scientists; and peasants and artisans. Social division was not unique to India. Within Islam, by contrast, all men were equal, differing only in their piety. His account of the varnas followed the Brahmanical texts closely:

“The highest caste are the Brahmana, of whom the books of the Hindus tell us that they were created from the head of Brahman.”
— Al-Biruni, on the varnas

Yet he noticed things the texts did not stress. Between the Vaishya and the Shudra, he wrote, 'there is no very great distance', and the classes lived together 'in the same towns and villages'. Below the Shudras he listed eight antyaja groups, who intermarried among themselves; the lists in the books differ slightly, one including the washerman, another the blacksmith, but both name the shoemaker, juggler, basket-maker, sailor, fisherman, hunter and weaver. And he rejected the idea of pollution outright: everything that falls into impurity strives to regain its purity, as the sun cleanses the air and salt keeps the sea from corruption. Social pollution, to him, was contrary to the laws of nature.

Historians point to the limit of all this. Al-Biruni's picture of caste was drawn from normative Sanskrit texts written from the Brahmanas' point of view; in real life the system was less rigid, and the antyaja, though oppressed, were part of the economic networks of peasants and zamindars. One older historian puts it more bluntly: he wrote from what he read, not from what he saw.

5. A witness to Mahmud

The raids of the conqueror brought Al-Biruni to India, and he did not flatter him. One account says he spent much time at Mahmud's court; another says he sought no patronage there and had only a casual contact with it. His verdict was that Mahmud 'utterly ruined the prosperity of the country':

“The Hindus became like the atoms of dust scattered in all directions and like a tale of old in the mouths of people. Their scattered remains cherish of course the most inveterate aversion towards all Muslims.”
— Al-Biruni, on Mahmud's raids

He also recorded that the inroads of Mahmud drove scholars to flee to Kashmir and Benaras, and he wrote the epitaph of the Hindu Shahis of Kabul: 'of the whole house there is no longer the slightest remnant in existence.' Because he is so close a witness, historians have built large arguments on him.

6. Kalhana and his River of Kings

Kashmir guarded itself. According to Al-Biruni, entry into the valley was not allowed even to Hindus who were not known personally to its nobles, and it was a centre of Saivism and of scholarship in grammar, aesthetics and philosophy. It was here that Kalhana wrote.

A manuscript page densely written in the Sharada script
A folio of a manuscript of Kalhana's Rajatarangini in the Sharada script.Unknown scribe, Public domain, via Wikimedia Commons

He came from a well-connected Brahmana family. His father Chanpaka had once been close to the court, perhaps as a minister, of a king who was deposed and killed in 1101; by the time Kalhana was born the family had fallen out of favour. That distance, one account suggests, let him judge rulers independently: he was not writing to please a patron. Another names King Jayasimha, who ruled from 1127 to 1155, as his patron.

He worked for two years, from 1148 to 1150, recording local traditions and examining manuscripts, chronicles, inscriptions, coins and monuments. He named his sources, which few chroniclers did: eleven earlier works on the narrative of rulers, none of which survive; the Nilamata Purana; Suvrata's summary of older chronicles; Kshemendra's list of kings; and the grants recorded when temples and monasteries were founded. The result was eight cantos, each called a taranga, or wave: the first three take Kashmir to the seventh century, the next three to the eleventh, and the last two, the longest, cover the twelfth.

His method, he declared, was that of a judge: whoever recounts the past must do so without bias or prejudice. Yet he called his work a kavya, a poem, and thought of himself above all as a gifted poet who could make the past vividly alive. He claimed to be correcting his predecessors' chronology and removing fictitious genealogies, but his book does not always separate fact from legend, and it often explains events by fate.

7. What the River of Kings tells

Much of the history of early medieval Kashmir is deduced from Kalhana. He describes the great Karkota king Lalitaditya routing Yashovarman of Kanauj, though some historians believe he greatly exaggerated Lalitaditya's conquests. Under Avantivarman of the Utpala line he describes the engineering of the minister Suyya, who cleared the Jhelum of rubble, built embankments and dams, drained the lakes that caused floods and reclaimed land for cultivation. Romila Thapar notes that the later prosperity of Kashmir shows his description was not exaggerated.

Black-and-white photograph of the ruined stone Sun temple at Martand with its tall central shrine and broken colonnade
The Temple of the Sun at Martand, dating from the 8th century, photographed in 1864.Francis Frith, Public domain, via Wikimedia Commons

He was a sharp critic of power. He wrote of Kashmiri kings who looted temples, and of Harsha, who appointed a special officer to supervise the plunder and whom Kalhana called a 'Turushka'. He was scathing about the damaras, the landowners whom one account blames for reducing Kashmir to anarchy, and about the kayastha officials and tax-gatherers. He advised that a king should never leave more than a year's produce with the cultivators, lest the surplus make them powerful. He noted that courtiers ate fried meat and drank perfumed wine while ordinary people lived on rice and a bitter wild vegetable.

His longest portrait is of Queen Didda, who held power for almost fifty years as consort, regent and, from 980–81, ruler in her own right, founding towns, temples and monasteries. Kalhana describes how she broke a coalition of enemies:

“She, whom none believed had the strength to step over a cattle track—the lame lady—traversed, in the manner of the son of the wind, the ocean of the confederate forces”
— Kalhana, Rajatarangini 6.226

Yet he plainly disapproved of her, and of women in power: 'the natural bent of women, like that of rivers, is to follow the downward course.' The historian Devika Rangachari points out that, prejudices and all, Kalhana still treats royal and non-royal women alike as people who made history.

8. India's first historian?

Since the time of William Jones it has often been said that the Rajatarangini is the only text from early India that can be called historical writing. Nehru wrote that there was 'really only one old book' that might be considered history; R.C. Majumdar called it the only work in ancient Indian literature that is a historical text in the true sense; one account compares Kalhana with Herodotus and Thucydides.

The river did not stop with him. Jonaraja carried the history from 1149 to 1459, at the bidding of Sultan Zain-ul-Abidin; his pupil Srivara wrote the Jaina Rajatarangini, covering 1459 to 1486; Prajyabhatta and Suka took it towards 1596. Zain-ul-Abidin had Kalhana's work translated into Persian, and under Akbar it was translated again.

The verdict

Al-Biruni and Kalhana stand at either end of the same century and look in opposite directions. The outsider learnt Sanskrit, read the Brahmanas' books, admired their science, mocked their pride and saw caste mainly as the texts described it. The insider knew his valley's records and its politics, distrusted kings, ministers and landlords alike, and could not wholly free himself from legend or prejudice. Both did what few around them did: they asked how they knew what they claimed to know. That is why historians, and UPSC, keep returning to them.

Timeline

  1. 973 Al-Biruni born in Khwarizm
  2. 1017 Mahmud of Ghazni conquers Khwarizm; Al-Biruni taken to Ghazni
  3. 1017–1030 Al-Biruni's years of study and observation in India
  4. c. 1030–1035 Kitab-ul-Hind written
  5. 1048 Al-Biruni dies in Ghazni (by one account)
  6. 1101 The king whom Kalhana's father served is deposed and killed
  7. 1148–1150 Kalhana writes the Rajatarangini
  8. 1149–1459 Jonaraja continues the history of Kashmir
  9. 1459–1486 Srivara's Jaina Rajatarangini

Key terms

Kitab-ul-Hind
Al-Biruni's Arabic account of India in 80 chapters, also called the Tahqiq-i-Hind; translated into English by Sachau as Alberuni's India.
Antyaja
Literally 'born outside the system': groups Al-Biruni placed below the Shudras.
Rajatarangini
'River of Kings': Kalhana's Sanskrit verse history of Kashmir, written 1148–1150 in eight tarangas.
Taranga
A 'wave': one of the eight cantos of the Rajatarangini.
Vamshavali
A genealogical chronicle of a dynasty or region, the form in which the Rajatarangini is rooted.
Damaras
Landowners of Kashmir whose power Kalhana condemned.

For UPSC

About the sources and pictures

The words in quotation marks are those of the people of the time and of the historians who have written about them, as their works record them. The pictures come from Wikimedia Commons and are credited beneath each one.

More in History in Depth

All History in Depth articles →