Latest Update: UPSC CSE 2025 Notification Out!
Medieval Indian History Notes

Arab and Turkish Invasions: Muhammad bin Qasim, Mahmud of Ghazni and Muhammad Ghori

Komal Gupta

UPSC Exam Expert & Content Editor

Updated 19 Nov 2026

PDF Notes: Arab and Turkish Invasions: Muhammad bin Qasim, Mahmud of Ghazni and Muhammad Ghori

Premium PDF · one-time payment of ₹5 · instant access

Quick answer: Islam reached India through Arab traders on the Malabar coast and the Arab conquest of Sindh (712 CE) by Muhammad bin Qasim against Raja Dahir. Then the Turks came: Mahmud of Ghazni raided India 17 times (1000-1027), plundering Somnath (1025-26), and Muhammad of Ghor won the Second Battle of Tarain (1192) against Prithviraj Chauhan, followed by Chandawar (1194) against Jaichand. His general Qutb-ud-din Aibak founded the Delhi Sultanate (1206). The Indian kingdoms lost because they were divided, used old military methods and lacked cavalry.

Dear students, this chapter is the doorway from early medieval to the Sultanate. In the Prelims, the exam asks the dates, the rulers and the battles. The Mains asks "Why did the Rajputs lose to the Turks?" or "Compare Mahmud of Ghazni and Muhammad Ghori". I will give you the facts in order, with tables for quick revision.

Early Contacts: Arabs on the West Coast

  • Trade: Arab traders had contact with the Malabar, Gujarat and Konkan coasts even before Islam. After the 7th century they settled in places like Kerala; the Cheraman Juma Masjid at Kodungallur (Kerala) is traditionally counted among the earliest mosques, though the date is debated. The local rulers (like the Rashtrakutas and the Zamorins) treated them kindly.
  • Result: The Arab traders carried Indian knowledge (the numerals and mathematics, medicine, astronomy) to the Islamic world, and the Arabs later transmitted it to Europe. The Sanskrit works like the Brahmasphutasiddhanta were translated in Baghdad under the Abbasids.

Arab Conquest of Sindh (712 CE)

AspectDetails
CauseThe pirates (Meds) near Debal attacked an Arab ship carrying gifts and women from Ceylon; Dahir refused to punish them; the Umayyad governor of Iraq, Hajjaj bin Yusuf, sent expeditions. Political ambition, trade routes and wealth were also reasons
LeaderMuhammad bin Qasim, a young Umayyad general sent by Hajjaj
CourseTook Debal (712), crossed the Indus; defeated Dahir at the Battle of Rawar; then took Brahmanabad, Aror, Multan
AdministrationThe non-Muslims were given the status of zimmis (protected people) and paid jizya; the temples were left alone mostly; the existing local officials were kept; the Brahmans were employed in the revenue service
After QasimRecalled and died (c. 715); the Arab rule in Sindh became a small, local, ill-supported one; broke into the two states of Mansurah and Multan; the Pratihara king Nagabhata I checked the Arabs from advancing east
ImportanceLimited political effect but important cultural: the Arabs learned Indian sciences; the Sindhi scholars went to Baghdad; the Sanskrit texts were translated

Teacher's note: for the history of Sindh, the later work Chachnama (a Persian translation of an older Arabic text, 13th century) is the main source. Remember that it is a later narrative, and historians read it carefully.

The Turkish Invasions: Why They Came

The Central Asian Turks had embraced Islam and built strong states at Ghazni and Ghor. India was rich in temples with gold and jewels, the northwest passes were open, and the Indian states were divided. The raiders also found the Indian armies weaker in cavalry and tactics.

Mahmud of Ghazni (998-1030)

AspectDetails
BackgroundSon of Sabuktigin, founder of the Ghaznavid dynasty (Ghazni, Afghanistan); Mahmud became the ruler in 998 and took the title of Sultan; the Abbasid caliph recognised him
Early campaignsAgainst the Hindushahis: defeated Jayapala at Peshawar (1001); Anandapala at Waihind (1008-09); the Hindushahi kingdom ended; he took Nagarkot (Kangra) in 1009 with its temple wealth
Major raidsMultan (1006); Thanesar (1014); Mathura and Kannauj (1018) — the Pratihara king Rajyapala fled; Kalinjar against the Chandela king Ganda (1019-22); Somnath in Kathiawar (1025-26) — the main temple raid
AimsMainly plunder, to finance his Central Asian wars and to build up Ghazni as a cultural centre; also to spread the glory of Islam as a ghazi; he did not aim at lasting rule in India but annexed the Punjab (1021 onwards) to Ghazni
Court and culturePatron of scholars: Al-Biruni (Kitab-ul-Hind), Firdausi (Shahnama), Utbi, Baihaqi, Unsuri; he built a mosque, a university and a museum at Ghazni
Al-BiruniCame with Mahmud; learned Sanskrit; wrote a detailed account of Indian society, religion, science, geography, the caste system and the customs; his view was balanced and he noted the Hindu pride in their knowledge
EffectsWeakened the Indian kingdoms and showed the weakness of the defence; the Punjab fell; the Ghaznavid governors of Lahore; the economic loss of Indian temple treasuries

Muhammad of Ghor (Muizuddin Muhammad bin Sam)

EventYearDetails
Multan, Uch1175-76Early conquests in Sindh and the Punjab
Gujarat1178Defeated near Mount Abu by the Chalukya (Solanki) queen-regent Naiki Devi's army — his first major defeat in India
Lahore1186Ended Ghaznavid rule
First Battle of Tarain1191Prithviraj III Chauhan defeated Muhammad Ghori
Second Battle of Tarain1192Muhammad Ghori came back with a larger, mobile cavalry and fought a tactical battle; defeated and killed Prithviraj; opened the way to Delhi and Ajmer
Battle of Chandawar1194Defeated Jaichand, the Gahadavala ruler of Kannauj and Varanasi, near Etawah (UP)
Bengal and Biharc. 1200-04Bakhtiyar Khalji (his general) raided Bihar (Odantapuri, Vikramashila, Nalanda) and Nadia, and the Sena ruler Lakshmana Sena fled
Death1206Ghori was killed in the Punjab region in 1206 (sources name Ismaili assassins or Khokhars); his slave-general Qutb-ud-din Aibak became the ruler in India (Delhi Sultanate)

Why Did the Indian Rulers Lose?

  • Disunity: The Rajput states (Chauhans, Chandelas, Gahadavalas, Chalukyas, Paramaras) quarrelled and no one helped Prithviraj. Even after the First Tarain, the allies did not unite.
  • Military weakness: Indian armies relied on elephants and heavy infantry, while the Turks used fast horse-archers and tactical retreats. The Indian generals fought in the "dharma-yuddha" tradition while the Turks used surprise and the cavalry charge. The Indian armies also lacked a standing professional army and depended on feudal levies.
  • Social and political structure: The feudal nature of the polity (see Indian feudalism) made it hard to mobilise the whole kingdom.
  • Absence of a strategy: The Rajputs did not guard the northwest frontier passes after the Pratiharas weakened. The Turks used the unity of the religion and the zeal for conquest.
  • Intelligence: The Turks had the advantage of knowing the local politics, the rivalries and used them.

Mahmud and Ghori: A Comparison

PointMahmud of GhazniMuhammad of Ghor
AimPlunder and gloryEmpire-building
Nature of attacks17 raidsSystematic conquest and settling of governors
Key battlesSomnath (1025-26), WaihindTarain (1191, 1192), Chandawar (1194)
Relationship with IndiaReturned to Ghazni after each raidLeft generals (Aibak, Khalji) to rule
ResultWeakened the northwestLaid the foundation of the Delhi Sultanate
ScholarAl-Biruni, FirdausiHasan Nizami (Taj-ul-Maasir)

Impact on Indian Society and Economy

  • Political: The Turkish conquest ended the dominance of the Rajput kingdoms in the north and led to the rise of a centralised state under the Delhi Sultanate with the iqta system.
  • Economic: The trade routes to Central Asia opened, urban growth increased, new crafts and technology came (for example paper, the spinning wheel and improved cavalry practices; historians debate the exact origin of each).
  • Cultural: A synthesis of Indo-Islamic culture began in architecture (the arch and dome), music, language (Urdu) and the Sufi and Bhakti movements. Please see our Bhakti and Sufi note.

Case Study: Somnath, 1025-26

The Somnath temple on the Saurashtra coast, a rich Shiva temple with huge endowments and pilgrims, was attacked by Mahmud in his 16th raid (according to most accounts). The attack was a demonstration of the weakness of the local rulers. The Turkish chroniclers presented it as a victory of Islam against idol-worship, while the Jain and Sanskrit inscriptions record the loss of life and the later rebuilding of the temple by the Chalukya kings and then, in modern times, after independence under Sardar Patel (1951). Students, historians (Romila Thapar) note that the attack must be read with both Turkish sources and the Indian ones, to see the political and economic goals together with the religious justifications.

Common Mistakes Students Make

  • Writing that Muhammad bin Qasim invaded in 1192. His date is 712; 1192 is Tarain.
  • Mixing the Ghaznavids (Mahmud) with the Ghurids (Ghori).
  • Saying Prithviraj won both Tarain battles. He won the first (1191) and lost the second (1192).
  • Thinking Delhi Sultanate was founded by Ghori himself. It was Aibak who founded it (1206).

Teacher's Tip

Students, remember the code 712 - 1001 - 1025 - 1191/92 - 1194 - 1206 (Qasim, Mahmud's first big battle, Somnath, Tarain, Chandawar, Sultanate). For the Mains, always give the causes of the Indian defeat in three groups: political (disunity), military (cavalry and tactics) and social (feudal structure).

Important Points for the Exam

  • 712 CE: Muhammad bin Qasim defeated Dahir; Chachnama is the source.
  • Mahmud of Ghazni: 17 raids; Somnath (1025-26); Al-Biruni's Kitab-ul-Hind; Firdausi's Shahnama.
  • Muhammad Ghori: Tarain I (1191, defeat), Tarain II (1192, victory), Chandawar (1194); Aibak founded the Sultanate in 1206.

Read this with our notes on Rajput Kingdoms and Turkish Invasions, Palas, Pratiharas and Rashtrakutas, Delhi Sultanate and our UPSC blog.

Frequently Asked Questions (FAQ)

Who conquered Sindh in 712 CE?

Muhammad bin Qasim, an Arab general of the Umayyads.

Who was the ruler of Sindh defeated by Qasim?

Raja Dahir.

Which text describes the Arab conquest of Sindh?

The Chachnama.

How many times did Mahmud of Ghazni raid India?

17 times, according to the traditional count.

Which temple did Mahmud plunder in 1025-26?

The Somnath temple in Kathiawar.

Who wrote Kitab-ul-Hind?

Al-Biruni.

Who wrote the Shahnama?

Firdausi, at Mahmud's court.

Who defeated Muhammad Ghori in 1191?

Prithviraj III Chauhan, at the First Battle of Tarain.

When was the Second Battle of Tarain?

In 1192.

Where was the Battle of Chandawar fought and against whom?

Near Etawah in 1194 against Jaichand of Kannauj.

Who destroyed Nalanda around 1200?

Bakhtiyar Khalji, a general of Ghori.

Who was the first ruler of the Delhi Sultanate?

Qutb-ud-din Aibak in 1206.

Who defeated Ghori at Mount Abu in 1178?

The Chalukya forces, led by the queen-regent Naiki Devi.

Name one reason why the Rajputs lost.

Disunity, weak cavalry, and the feudal structure.

Who stopped the Arabs from advancing beyond Sindh?

The Pratihara king Nagabhata I, among others.

What was the effect on Indian culture?

The beginning of Indo-Islamic synthesis in art, language and religion.

Keep Learning: More Notes to Explore

Strengthen this topic by reading these related notes from the same subject:

Connect it with other subjects to build a complete understanding:

For strategy and planning, read our guides on:

Browse the full Medieval Indian History notes collection, all free UPSC notes, and practise with previous year questions.

About the Author

Komal Gupta

UPSC Exam Expert & Content Editor

Komal is a senior UPSC exam strategist with 8+ years of experience helping aspirants crack CSE, CDS and NDA exams. She writes in-depth notification breakdowns, exam pattern guides and preparation strategies.