An army can win a battle and still fail to build a state. To hold territory, it must protect routes, occupy forts, obtain supplies, collect resources and work through people who understand the region. Local rulers and communities may resist, negotiate, cooperate or change sides. These choices continue after the main army has left.
This distinction explains the conquests that affected north-western and northern India between the eighth and early thirteenth centuries. Arab forces established rule in parts of Sindh, but did not conquer the subcontinent. Centuries later, the Ghaznavids built a durable base in the Punjab while many of Mahmud's farther campaigns remained raids. The Ghurids then used victories, stationed troops and delegated commanders to create stronger claims over Delhi, Ajmer and parts of the Ganga plain.
These were three different political phases, not one continuous invasion. They involved different states, routes, opponents and aims. They also produced different results. The most useful question throughout the chapter is therefore simple: did an army raid a place, defeat a ruler, take territory into its own realm, or establish government that could survive repeated resistance?
The north-west was a connected frontier before conquest
The north-west was not an isolated edge waiting to be opened by invaders. The Indus river system linked cultivated settlements, towns and ports. Routes through the Punjab connected these places with Kabul, Ghazni, the Iranian plateau and Central Asia. The Arabian Sea linked Sindh and the western coast with ports in Arabia and the Persian Gulf. Traders, horses, textiles, metals, ideas and religious communities had moved through these networks long before the eighth century.
A frontier is not simply a border line. It is a region where several political powers, communities and routes meet. Sindh's frontier included the dry approach through Makran, the lower Indus and its delta, river crossings and fortified towns. The Punjab contained several rivers and routes rather than one open corridor.
Farther west, Ghazni was a city in present-day Afghanistan, while Ghor was a mountainous region of central Afghanistan. Their similar names should not hide the fact that Ghaznavids and Ghurids formed different ruling houses.
This geography created opportunities, not guaranteed victories. A river could carry boats and supplies, but it could also delay an army at a crossing. A mountain pass could guide cavalry towards the Punjab, but only if food, water and animals remained available. A fort could protect a route or force an attacker into a long siege. The people who controlled these places could make choices and shape the result.
The label “Turkish conquest” also needs care. Many later commanders and cavalrymen came from Turkic-speaking military worlds, but the armies and courts included people of varied origins. The Ghurid ruling house came from Ghor and governed a Persian-speaking political environment. Religious identity, language, military training and political loyalty did not form one simple ethnic category.
Unequal sources preserve different versions of the past
The Arab conquest of Sindh is difficult to reconstruct because the evidence is uneven. Arabic histories preserve short accounts written after the events. The fullest narrative, the Chachnama, survives as a Persian work composed in 1226, about five centuries after the conquest. Its author said that he translated an older Arabic account that is now lost.
The Chachnama supplies names, places, speeches and administrative stories that do not survive elsewhere. It is essential evidence, but it is not an eyewitness transcript. Its surviving form also reflects the language and political questions of the thirteenth century. A direct fact supported by several kinds of evidence deserves more confidence than a dramatic speech or a detailed personal story found only in this later text.
An Arabic history written by al-Baladhuri in the ninth century is closer in time, but gives a much shorter conquest account. Reading the two together does not mean choosing one as completely true. Their dates, purposes and access to earlier material differ. Agreement can strengthen a broad sequence; disagreement reveals where certainty ends.
Ghaznavid and Ghurid history has a different problem. Court writers often knew rulers, commanders or earlier records, but they wrote to praise patrons and explain victory. They could turn conquest into proof of royal greatness or religious service. Later histories added still larger armies, sharper moral lessons and heroic episodes. Coins, inscriptions, buildings and archaeological layers can test parts of these accounts, yet none provides a complete campaign diary.
Al-Utbi wrote about the early Ghaznavid court and celebrated Mahmud's victories. Al-Biruni observed languages, knowledge and social practices, but did not write a neutral campaign history.
For the Ghurid period, Hasan Nizami began his surviving narrative with the second battle of Tarain and left gaps, while Minhaj al-Siraj wrote several decades later using Ghurid and early Sultanate traditions. Their proximity to courts gave them information and incentives to praise. Much later writers are especially weak guides to army numbers or battlefield conversations.
The practical rule is straightforward: a court text may prove that a ruler claimed victory, but the claim must be separated from lasting control. Exact army numbers, casualties and speeches are especially weak. A destroyed building layer does not identify an attacker without secure dating and context. A coin carrying a ruler's name shows an act of authority, not automatic control over every place where one example is found.
Arab conquest produced regional rule in Sindh
Islam emerged in Arabia in the seventh century, and Arab-led armies soon created a large state under political leaders called caliphs across West Asia and beyond. Sindh lay near its eastern frontier. The conquest did not arise from one cause. Existing sea trade, conflict along Makran, imperial expansion, frontier security and stories about ships and captives all formed part of the setting.
The governor al-Hajjaj appointed the young commander Muhammad ibn Qasim to lead a new campaign. Around 711–12, his army crossed Makran and attacked Debal, a port in the lower-Indus region. The exact archaeological location of Debal remains debated. The strategic fact is clearer: the army approached by land while receiving equipment and support by sea. Conquest depended on transport and siege work as well as battlefield skill.
From Debal to the Indus centres
After taking Debal, the army moved through settlements and forts of the Indus region. The ruler Dahir organised resistance, but was defeated and killed during the campaign. Arab forces then advanced towards centres remembered as Brahmanabad, Aror and Multan. These names do not describe one sudden occupation of a modern province. Each place required its own march, negotiation or fight.
The conquest was violent. Assaulted towns could face killing, enslavement and seizure of wealth. The records also remember local people who supplied information, made agreements or served the new authority. These facts do not cancel one another. A conquering army could punish resistance in one place and confirm local leaders in another because it lacked the people and knowledge required to govern every settlement directly.
Stories about Muhammad ibn Qasim's recall and death vary sharply. Some later accounts connect his fall to court politics or dramatic accusations. The secure conclusion is narrower: his command ended soon after the conquest, during a change of rulers at the centre of the Umayyad state. The competing stories cannot support one certain biography.
Governing required local society
Winning Indus towns did not allow a small Arab military group to replace the society beneath them. Cultivators still had to produce crops. Irrigation and river transport required local knowledge. Towns needed merchants, craftspeople, scribes and religious institutions. New governors therefore collected resources through arrangements that often used existing notables and officials.
Later narratives describe different taxes and forms of protected status for some non-Muslim communities. They also describe temples or religious specialists continuing under conditions set by the new rulers. These arrangements should not be turned into a timeless story of either perfect tolerance or constant persecution. Policy could differ by place, political loyalty, social status and period. The evidence often tells us what rulers ordered more clearly than what every household experienced.
Arab authority remained concentrated in parts of Sindh and around Multan. Later armies pushed beyond this region, but met resistance from several powers in western India. No Arab conquest of the whole subcontinent followed. Over time, rulers based at centres such as Mansura and Multan became increasingly rooted in regional politics even while using Arabic and Islamic titles.
Central control from the caliphate also weakened over time. Governors and local ruling houses in Sindh had to respond to nearby communities and routes rather than merely repeat distant orders. Mansura developed as a political centre in lower Sindh, while Multan followed its own regional history farther north. The result was not a permanently unified Arab province with fixed borders. It was a set of changing Indus-based states connected to, but not fully directed by, wider Islamic powers.
Sindh also remained a zone of commerce and intellectual contact. Traders connected its towns with the Gulf and western Indian ports. Mathematical, astronomical and medical knowledge moved between South Asia and Arabic-speaking centres through translators and learned patrons. Conquest did not create all these exchanges, and political rule did not determine them by itself. It altered the institutions and routes through which some contacts developed.
The Ghaznavids governed Punjab but many farther campaigns remained raids
More than two centuries separated the first Arab conquest from the major Ghaznavid campaigns. The Ghaznavids emerged from the changing political world of Afghanistan and eastern Iran. Their base at Ghazni faced the Punjab, where the Hindu Shahi rulers controlled important forts and routes. This was an active frontier contest between regional powers, not a clash between two timeless civilisations.
The Hindu Shahi frontier and the Punjab base
The Ghaznavid ruler Sabuktigin fought the Shahi ruler Jayapala in the late tenth century. When Mahmud of Ghazni succeeded in 998, he continued the struggle. Jayapala was defeated in 1001. Anandapala and other Shahi leaders kept resisting, and later campaigns were needed against their successors and allied forces.
These wars gave the Ghaznavids more than occasional booty. Control over routes and forts in the Punjab developed into a durable eastern base. Lahore eventually became an important Ghaznavid centre. Taxes, garrisons—troops stationed to defend key places—and regional political relationships could therefore support later activity. This is why the Punjab campaigns must be separated from attacks on places that Mahmud entered briefly and then left.
Mahmud also campaigned against Multan, where a Muslim ruling group followed a different Islamic tradition and defended its own political interests. This case alone shows why “Muslim invader versus Hindu India” is an unusable model. Mahmud fought Muslim and non-Muslim opponents, while local allies and soldiers cannot be sorted into two uniform religious camps.
The Hindu Shahi defeat also did not end resistance in one battle. Successive rulers and fort-holders regrouped east of lost positions, while the Ghaznavids needed repeated expeditions to secure routes and compel some rulers to send payments or service. A victory became durable only when Lahore and other centres could support officials, troops and revenue collection. The frontier changed through accumulation, not through one dramatic gate-opening event.
Mahmud's deeper campaigns
During his reign from 998 to 1030, Mahmud led repeated campaigns into the subcontinent. Later summaries often give the fixed number seventeen. The campaigns were recorded and counted in different ways, so the number should not replace explanation. Their targets, routes and outcomes were not identical.
The attack on Thanesar had political and religious symbolism. The campaign towards Mathura and Kannauj in 1018–19 struck wealthy and prestigious centres, but did not create routine Ghaznavid government across the middle Ganga plain. The famous raid on Somnath in 1025–26 reached a major temple and pilgrimage centre on the Gujarat coast. Its wealth and public importance made it a political, economic and religious target.
Temple attacks in this period require all three dimensions. Seizing treasure could pay troops and strengthen a court. Defacing a celebrated sanctuary could damage a rival's authority. Court writers could then present the act as religious victory. The proportions differed in each campaign. It is therefore wrong to say that Mahmud attacked temples only for money, but equally wrong to treat every campaign as one continuous religious war against every Hindu place.
Somnath did not become a permanent Ghaznavid province. The army had travelled far from its Punjab base and faced serious difficulty on the return. Later accounts expanded the event with enormous figures, dramatic speeches and stories about images and treasure. The safe historical conclusion is strong enough: the raid caused major violence and plunder, carried enormous symbolic value and displayed long-range military capacity, but did not annex Gujarat.
Distance explains much of the difference between a raid and a province. A fast force could live from prepared supplies, local seizure and temporary cooperation long enough to reach a target. Routine government required officers, communications, revenue and defensible routes every season. Mahmud could repeatedly project power far beyond the Punjab without trying—or being able—to administer every conquered city as part of one continuous territory.
Mahmud's armies killed, captured and displaced people. War captives and seized wealth contributed to Ghazni's resources, while the court also drew on taxation and a wider empire extending through Afghanistan and eastern Iran. Poets and scholars gathered at Ghazni under royal patronage. Al-Biruni's study of Indian knowledge and society emerged from this connected but unequal world; it should not be treated as an eyewitness record of all Mahmud's campaigns.
The Ghaznavid case therefore contains two different outcomes. The Punjab became a governed frontier base; most deeper targets remained raids. That distinction prepares the next phase, when the Ghurids tried to hold centres farther inside northern India.
The Ghurids changed direction after defeat
The Ghaznavid state weakened and eventually retained its eastern base around Lahore after losing Ghazni. A new ruling house had risen in Ghor. Ghiyath al-Din led the wider Ghurid realm, while his brother Mu'izz al-Din Muhammad, often called Muhammad Ghori, directed much of its eastern expansion. Mu'izz al-Din used Ghazni as an eastern base, but he did not belong to the old Ghaznavid dynasty.
In the mid-1170s, Ghurid forces took Multan and Uch, strengthening their position near the Indus routes. An advance towards Gujarat in 1178 ended in defeat by Chaulukya forces. The defeat matters because it disproves any story of effortless conquest. It also encouraged a strategy centred more firmly on the Punjab, where the remaining Ghaznavid power could be removed before farther advances.
Ghurid pressure on the Punjab continued through several campaigns. In 1186, Mu'izz al-Din captured Lahore and ended the last Ghaznavid rule there. The Ghurids now possessed a closer base, access to Punjab routes and a stronger position from which to challenge the Chahamana kingdom of Prithviraja III.
The two battles of Tarain had opposite results
The immediate conflict began when Ghurid forces seized the fort of Tabarhinda, also known as Bhatinda, in the eastern Punjab. Prithviraja III responded. At the first battle of Tarain in 1191, his forces defeated Mu'izz al-Din, who withdrew. Later writers give vivid details of his wound and rescue, but the firm fact is the Chahamana victory.
Mu'izz al-Din returned in 1192 with a reorganised force. The second battle of Tarain ended in a decisive Ghurid victory. Prithviraja was captured, but accounts of his immediate fate differ. Later heroic poems transform him into a romantic defender and supply episodes that cannot be used as contemporary reporting.
Why did the result change? Ghurid cavalry could use speed and mounted archery to attack, disengage and attack again. Commanders could divide forces, keep reserves and exploit disorder. Chahamana armies also possessed cavalry, archers, infantry, elephants and troops supplied by subordinate rulers; they were not technologically frozen. The exact second-battle plan comes through later narratives and cannot be reconstructed like a modern operations report.
The better explanation combines preparation, command, intelligence, mobility, coordination among parts of an army and decisions made during battle. The Ghurids learned from defeat and returned. The Chahamana side had to coordinate a different coalition and respond to repeated movement. Choices and changing battlefield conditions still mattered. Neither cavalry nor “Rajput disunity” alone explains Tarain.
The relationship between the two battles is more important than a hero story. In 1191, a regional power defeated an invading army. In 1192, that army returned with a stronger plan and changed the political balance. Even then, victory on the field did not automatically deliver Delhi, Ajmer or their surrounding countryside.
Ghurid commanders had to turn victory into rule
After Tarain, Mu'izz al-Din returned west and left senior commanders to hold and extend his gains. Qutb al-Din Aibak became the most important of these commanders in northern India. He had been enslaved, trained for elite military service and later given high command. In this system, some military slaves were freed and could gain wealth, troops and political authority, though their careers began without freedom.
Delhi and Ajmer already contained courts, forts, markets and local elites. Ghurid commanders did not create these places from nothing. They placed forces at strategic centres, sometimes worked through a local ruler and changed arrangements when revolt occurred. Several campaigns were required. This reveals the basic difference between victory and government: a garrison had to remain supplied after the main army departed.
Early arrangements were deliberately uneven. A commander might occupy a fort while leaving a subordinate local ruler in a nearby centre. Tribute and obedience could be demanded before detailed administration was possible. Rebellion could then lead to removal, a new governor or another negotiated settlement. This flexibility extended control, but it also made the new order dependent on personal relationships and continuing force.
Chandawar and the upper Ganga region
In 1194, Mu'izz al-Din returned to fight Jayachandra, the Gahadavala ruler, at Chandawar near the Yamuna. The Ghurid army won and Jayachandra was killed during the conflict. The later claim that he betrayed Prithviraja is not supported by contemporary evidence. He and Prithviraja had competing regional interests; rivalry was not treason against a modern nation-state.
The victory weakened Gahadavala royal power and allowed attacks on important centres, including Varanasi. It did not erase every Gahadavala officer, landholder, temple, settlement or eastern branch. Control of the upper Ganga routes still required further campaigns, garrisons and cooperation with local groups.
Aibak's forces also moved against forts and rulers around Bayana, Gwalior and the central Indian approaches. Some centres were assaulted; others submitted on negotiated terms or resisted again. A conquest list can make these acts look simultaneous and complete. In practice, each fort posed a separate problem of siege, supply, surrender and control.
These campaigns often brought competing layers of authority. A Ghurid commander could claim supremacy, a local ruler could continue to manage part of a district, and village or town groups could retain everyday responsibilities. The arrangement was not equality, and coercive demands remained real. It shows why a change of ruler at a fort did not instantly redesign the whole region beneath it.
Eastern campaigns widened the field
Another commander, Bakhtiyar Khalji, led forces into Bihar and Bengal around the turn of the thirteenth century. Buddhist monastic centres in Bihar suffered attacks during these campaigns. Literary accounts are dramatic, while archaeological destruction layers and the fate of individual sites do not always match one simple date or attacker.
Bakhtiyar later seized a position in western Bengal, but Sena authority continued in other regions. His small mobile force depended on speed, surprise and new local bases; it did not govern all Bengal in one movement. The eastern campaigns show again that a successful entry, damage to a centre and durable regional rule are separate historical claims.
The main Ghurid sequence can now be held in six movements:
- 1178: defeat in Gujarat showed the limits of the first eastern approach.
- 1186: capture of Lahore removed the Ghaznavid Punjab rival.
- 1191: defeat at the first Tarain proved that Ghurid expansion could be reversed.
- 1192: victory at the second Tarain opened Delhi–Ajmer routes but did not settle control.
- 1194 onward: Chandawar and delegated campaigns widened claims through repeated war, garrisons and negotiation.
- 1206: Mu'izz al-Din's death left senior commanders competing over an unfinished political system.
This sequence is not a march of inevitable victories. It contains defeat, return, local resistance, temporary arrangements and rival successor claims.
Military advantage worked only with political organisation
Good horses mattered. Many Ghurid forces had access to Central Asian and Afghan horse networks and strong traditions of mounted archery. A mounted archer could strike while moving and avoid close combat until conditions were favourable. Speed over long distances helped commanders choose routes, surprise opponents and concentrate forces.
Yet horses required fodder, water, replacement and skilled riders. Bows did not capture forts by themselves. Elephants could disrupt cavalry or create fear, but they also required control and could cause disorder if driven back. Indian rulers used cavalry and imported horses, while Ghurid armies also contained varied troops. There was no permanent technological divide between two fixed civilisations.
Political organisation converted a military advantage into a durable gain. Commanders needed intelligence about roads, rivers and rivals. They needed forts to guard routes, local suppliers to feed troops and claims on revenue to pay them. They could retain a cooperative ruler, recruit local soldiers, place a governor or remove an opponent. The choice depended on distance, resistance and available manpower.
Rivalry among north Indian rulers affected coordination, but rivalry existed inside Ghurid politics as well. Regional kingdoms had different priorities and no reason to behave like departments of a modern national government. Their defeat cannot be explained by moral failure called “disunity.” The relevant questions are which alliances existed, how armies were assembled, how quickly information travelled and whether forces could remain together in a long campaign.
The Ghurid system of delegating power to senior commanders was effective and risky. Personal service could produce capable leaders such as Aibak. It could also create several men with their own troops and ambitions. When the ruler died, those relationships did not automatically pass to one successor.
Conquest brought coercion, negotiation and cultural change
The campaigns brought real suffering. Chronicles celebrate killing, enslavement, plunder and the destruction of selected temples and monasteries. Such claims cannot be dismissed merely because the writers praised conquest. They also cannot be converted into exact casualty totals or proof that every sacred institution was destroyed.
Political and religious meaning often overlapped. A wealthy temple could hold donations, represent a ruler's prestige and serve a community's ritual life. Attacking it could seize resources, announce victory and be praised in religious language at the same time. Other institutions continued, changed patrons or were rebuilt. Regional evidence matters more than a universal formula.
Conquerors also negotiated because they needed the society they had entered. Cultivators produced the revenue base. Scribes and local officials knew assessments and records. Merchants maintained routes and credit. Craftspeople supplied armies and towns. Chiefs and landed groups could help collect resources or organise resistance. Their participation did not make conquest peaceful; it explains how some new authorities lasted.
The same dependence shaped trade. Armies consumed horses, grain, metal, cloth and transport, while merchants needed safer routes and predictable dues. Warfare could damage a market or interrupt a road, yet a garrisoned centre might later attract suppliers and officials. No single pattern covered Sindh, the Punjab, Delhi, the Ganga plain and Bengal. Political change altered older networks rather than creating economic life from nothing.
Persian became increasingly important in courts and record-making, and Muslim religious institutions gained new patrons. Migrants, scholars, soldiers and traders joined older regional populations. These developments widened connections with Afghanistan, Iran and Central Asia. They did not erase Sanskrit, Prakrits or regional languages, nor did military victory produce instant mass conversion. Religious and linguistic change followed longer, unequal and region-specific histories.
The Delhi Sultanate began through an unsettled succession
Mu'izz al-Din was killed in 1206 after his authority had already faced serious pressure in the north-west. He left no simple hereditary transfer covering all Ghurid territories. Senior commanders held different centres: Aibak had strong positions in northern India and the Punjab, while other rivals controlled Ghazni, Uch and neighbouring routes.
Aibak claimed independent rule and is conventionally treated as the first ruler of the Delhi Sultanate, a Delhi-centred state governed by rulers titled sultan. This date marks a foundation, not the completion of one uniform state. Lahore, Delhi and other centres still had to be defended. Rival commanders, regional rulers and revolts continued to test the new order. The institutions later associated with the Sultanate developed through further conflict and consolidation.
The long history now returns to the opening distinction. Arab armies created durable rule in parts of Sindh but remained regionally bounded. Ghaznavids governed the Punjab while using deeper raids for several aims. Ghurid commanders extended garrisoned rule farther into northern India, yet their gains remained unequal and fragile. Conquest became durable only where military force was joined to routes, resources, institutions and local relationships.
The political order changed sharply for many courts, forts and sacred centres. It did not reset the whole subcontinent in 1206. Cultivators, towns, trade routes, local rulers, Rajput identities and religious communities continued under altered conditions. The next history is therefore not the story of a completely new world appearing overnight. It is the story of how Delhi-centred rulers tried to consolidate an incomplete inheritance.