← Back to History Overview

Subject: History | Published: 25 November 2025

The First Mughal-Afghan Contest: Babur, Humayun, and the Rise of Sher Shah (1525-1555)

📚

Recommended UPSC Book List

Access the curated list of standard books and resources used by top aspirants for all subjects.

Join Channel Now →

Introduction: The Crumbling Edifice of the Delhi Sultanate

By the early 16th century, the once-mighty Delhi Sultanate, which had dominated North India for over three centuries, was a pale shadow of its former self. The Lodi dynasty, under its final ruler Ibrahim Lodi, presided over a fragmented and fractious kingdom. The authority of the Sultan barely extended beyond Delhi and Agra. Powerful Afghan nobles, driven by tribal loyalties and personal ambition, openly challenged the central authority. In the west, the formidable Rajput confederacy, led by the valiant Rana Sanga of Mewar, dreamed of re-establishing Hindu sovereignty over North India. The political landscape was a volatile chessboard of shifting alliances and simmering rebellions, a power vacuum waiting to be filled.

It was into this chaotic arena that a new, formidable player emerged from the northwest. Zahir-ud-din Muhammad Babur, a descendant of both Timur (from his father’s side) and Genghis Khan (from his mother’s side), was a soldier of fortune with an unyielding ambition. Having lost his ancestral kingdom of Ferghana in Central Asia, he had established a base in Kabul. With his eyes set on the fabled wealth of Hindustan and armed with military technology unseen in India, Babur prepared to cross the Indus. This marked the beginning of a three-decade-long struggle for empire, a dramatic contest between the nascent Mughal dynasty and the resilient Afghan powers, a period that would fundamentally reshape the destiny of the Indian subcontinent.

The Advent of Babur and the Dawn of a New Military Era

Babur’s ambitions were not born of whim. They were forged in the harsh school of Central Asian warfare. He was a seasoned commander, a charismatic leader, and a keen observer of military innovation. His small, disciplined army possessed two key advantages that would prove decisive: gunpowder weapons, specifically cannon and matchlock muskets, and a superior tactical system. He brought with him the Ottoman (Rumi) device of warfare, which involved lining up carts (araba) to shield the infantry and artillery, with gaps for cavalry to charge through. This was combined with the classic Central Asian cavalry tactic of Tulghuma, a flanking maneuver designed to encircle and annihilate the enemy from all sides.

His initial forays into Punjab tested the political waters. Sensing the deep divisions within the Lodi camp, and spurred by invitations from disaffected nobles like Daulat Khan Lodi (the governor of Punjab) and Alam Khan (Ibrahim’s uncle), Babur launched his full-scale invasion. The stage was set for a confrontation that would be a clash of epochs: the age of massed cavalry and elephants against the new age of gunpowder.

The Trifecta of Foundational Battles

The Mughal empire was not built in a day or by a single victory. Its foundation rested on three crucial battles that systematically dismantled the existing power structures.

  1. The First Battle of Panipat (1526): On the historic plains of Panipat, Babur’s small army of around 12,000 faced Ibrahim Lodi’s colossal force, estimated at over 100,000 men and 1,000 elephants. Babur’s genius lay in his preparation. He anchored his right flank against the city of Panipat and his left flank with a trench and felled trees. In the center, he arranged 700 carts tied together with leather ropes, creating a formidable defensive wall for his artillery, commanded by the master gunners Ustad Ali and Mustafa. When the Lodi army charged, it was met with a hail of cannon fire. The noise and smoke terrified the war elephants, which turned and trampled their own troops. As the Lodi forces were compressed and disoriented, Babur unleashed his masterstroke: the Tulghuma flanking parties wheeled around and attacked the Afghans from the rear. Caught in a deadly pincer, the vast Lodi army was annihilated within hours. Ibrahim Lodi fell on the battlefield, and with him, the Delhi Sultanate.

  2. The Battle of Khanwa (1527): Babur’s victory at Panipat gave him Delhi and Agra, but not the empire. His most formidable rival was Rana Sanga of Mewar, who had built a powerful confederacy of Rajput chiefs and Afghan nobles who had fled after Panipat. Sanga viewed Babur as just another raider who would plunder and leave, paving the way for his own supremacy. The clash at Khanwa, near Agra, was even more fiercely contested than Panipat. Babur’s army was demoralized by the Rana’s reputation and reports of Rajput valor. In a masterstroke of leadership, Babur broke his wine cups, poured out his stores of liquor, and swore an oath on the Quran to renounce alcohol, framing the battle as a jihad (holy war) to galvanize his troops. He employed the same tactics of araba and Tulghuma, but the Rajputs fought with suicidal bravery. The battle hung in the balance until a stray arrow struck Rana Sanga, rendering him unconscious. The leaderless Rajput confederacy fell into disarray, and Babur secured another decisive victory. Khanwa shattered the dream of a Rajput empire and firmly established Mughal dominance in the heartland of India.

  3. The Battle of Ghaghra (1529): The final piece of the puzzle was to crush the remaining Afghan resistance in the east. The Afghan chiefs had regrouped in Bihar and Bengal under Mahmud Lodi, Ibrahim’s brother. Babur marched east and met the combined Afghan forces at the confluence of the Ganga and Ghaghra rivers. This battle was unique as it was fought on both land and water. Babur’s superior planning and coordination of his artillery and riverine flotilla once again proved decisive. The Afghan alliance was scattered, and while the threat was not entirely extinguished, their capacity for a large-scale, unified challenge was broken for the time being.

Mnemonic for Babur’s Foundational Victories: To remember the sequence and nature of Babur’s three critical battles, use the phrase: “Panipat’s Kingdom Gained.”

  • P - Panipat (1526): Defeated Ibrahim Lodi, ended the Delhi Sultanate.
  • K - Khanwa (1527): Defeated Rana Sanga, broke the Rajput confederacy.
  • G - Ghaghra (1529): Defeated the Afghan alliance, secured the eastern flank.

Humayun’s Inheritance: A Throne of Thorns

Babur died in 1530, leaving his 23-year-old son, Nasir-ud-Din Muhammad Humayun, an empire that was more a military occupation than a consolidated state. The treasury was depleted by years of warfare and Babur’s lavish generosity. The Afghans, though defeated, were not subdued and yearned for a resurgence. Most critically, Humayun inherited the fatal Timurid legacy—a tradition that viewed the empire not as a single, indivisible entity but as the patrimony of the entire ruling family. This meant his brothers—Kamran, Askari, and Hindal—saw themselves as co-sharers in the empire, not as subordinate governors.

This structural weakness was immediately apparent. Kamran, who already held Kabul and Qandahar, seized the strategically vital and prosperous province of Punjab. To avoid a civil war so early in his reign, Humayun acquiesced. This was a grave error. It legitimized fraternal insubordination and deprived him of the rich recruiting grounds of the northwest, a loss that would come back to haunt him. Humayun’s character—cultured, generous, and brave but also indecisive, prone to bouts of indolence, and a poor judge of character—was ill-suited to the treacherous political landscape he inherited.

Fun Fact: Humayun had a deep passion for astrology and mysticism. He organized his court and even his own clothing based on the planets, wearing different colors on different days of the week. This fascination with the esoteric often came at the expense of pragmatic statecraft.

The Twin Storms: Gujarat and the Afghan Resurgence

Humayun’s reign was immediately beset by two major threats. In the west, Bahadur Shah of Gujarat, an ambitious and capable ruler, had annexed Malwa and was providing shelter to Mughal rebels. In the east, a brilliant Afghan sardar named Sher Khan was quietly consolidating his power in Bihar, emerging as the new nucleus of Afghan resistance.

Humayun first turned his attention to Gujarat. After initial delays, he launched a campaign in 1535, cornering Bahadur Shah at Mandasor. Instead of launching a direct assault, Humayun blockaded the Gujarati camp, cutting off supplies and forcing Bahadur Shah to flee. The Mughals pursued him, and in a daring feat, Humayun led a small party to scale the walls of the supposedly impregnable fortress of Champaner, capturing an immense treasure. The rich provinces of Malwa and Gujarat were now in Mughal hands. However, the victory was ephemeral. Humayun left his inexperienced and mutually distrustful brothers in charge and returned to Agra. The Mughal administration failed to establish roots, and as soon as Humayun’s back was turned, a popular uprising allowed Bahadur Shah to reclaim his kingdom. The entire Gujarat campaign, despite its initial brilliance, ended in a net loss of resources and prestige.

This distraction in the west proved to be a fatal strategic error, for it gave his most dangerous adversary the time he needed. While Humayun was chasing Bahadur Shah, Sher Khan was transforming himself from a regional chieftain into the undisputed master of Bihar. He was a political and military genius of the highest order, combining administrative skill with strategic cunning and tactical brilliance.

The Master Strategist: Sher Shah Suri’s Ascent

Sher Khan (born Farid) was the son of a minor Afghan jagirdar. He learned administration by managing his father’s estates, where he implemented revenue reforms that protected the peasants while ensuring a stable income—a microcosm of his future imperial policy. Cunning and ambitious, he steadily grew his power base, eventually becoming the virtual ruler of Bihar.

Humayun, finally recognizing the threat, marched east and laid siege to Sher Khan’s stronghold of Chunar in 1537. The siege dragged on for months. In a critical miscalculation, Humayun accepted Sher Khan’s nominal submission, allowing him to keep the fort in exchange for a promise of loyalty. This was a classic case of winning a battle but losing the war. Sher Khan had bought precious time. While Humayun dallied, Sher Khan captured the mighty Rohtas fort through treachery, securing a safe haven for his family and treasure, and then overran the rich province of Bengal.

Humayun, realizing his mistake, marched into Bengal. Sher Khan executed a brilliant strategic retreat, allowing Humayun to advance deep into the province, unopposed. It was a trap. Humayun found himself in a “gilded cage,” enjoying the pleasures of the Bengali capital, Gaur, while Sher Khan’s forces systematically cut off his supply lines and communication with Agra. To make matters worse, his brother Hindal declared himself emperor back in Agra, further fracturing the Mughal camp.

The Decisive Confrontations: Chausa and Kanauj

What followed were two of the most decisive battles in Indian history, both masterclasses in strategy by Sher Khan.

  1. Battle of Chausa (1539): After months stranded in Bengal, a weary and demoralized Humayun led his army back towards Agra. He found his path blocked by Sher Khan at Chausa, on the banks of the Ganga. For three months, the two armies faced each other. Sher Khan lulled the Mughals into a false sense of security with protracted peace negotiations. Then, on a stormy night, he launched a devastating surprise attack. The Mughal camp was caught completely off guard. Panic ensued, and the army was routed. Humayun himself had to be saved from drowning by a water-carrier (a bhisti) named Nizam. The defeat was total and humiliating. In its wake, Sher Khan declared himself Sultan, taking the title Sher Shah.

  2. Battle of Kanauj (or Bilgram) (1540): This was the final act. Humayun managed to reach Agra and assemble another army, but the Mughal house was hopelessly divided. His brother Kamran, who had a fresh army of 10,000 troops, refused to commit them to the fight, fearing Humayun would turn on him after the battle. This fraternal suspicion proved fatal. At Kanauj, the demoralized and poorly organized Mughal army faced Sher Shah’s confident and disciplined forces. The Mughal charge faltered, and the army broke and fled. The battle turned into a rout. Humayun became a fugitive, a king without a kingdom. The struggle was over. The throne of Delhi now belonged to Sher Shah Suri.

The Sur Interregnum: A Legacy of Revolutionary Governance (1540-1555)

The 15-year period of Sur rule was far more than a mere interregnum. It was a period of revolutionary administrative reform that laid the groundwork for the future glory of the Mughal Empire under Akbar. Sher Shah was not just a brilliant general; he was a visionary state-builder.

Sher Shah’s Administrative ReformsDescription and Impact
Revenue SystemHe established a standardized land measurement system (jarib). Land was classified into good, middling, and bad categories, and the state’s share was fixed at one-third of the average produce, payable in cash or kind. He issued formal deeds (patta) to peasants and collected agreements (qabuliyat), ensuring security of tenure and a predictable state revenue. This system, further refined by Todar Mal, became the basis of the Mughal revenue administration.
Currency ReformHe introduced a standardized silver coin, the rupiya, and a copper coin, the dam, with fixed metallic content and weight. This replaced the debased mixed-metal currency of the Sultanate, facilitating trade and commerce across the empire. This standard was so effective that it remained the basis of Indian currency for centuries.
Infrastructure & TradeHe revitalized and extended the ancient Grand Trunk Road (Sadak-i-Azam) from Sonargaon in Bengal to the Indus. He built four other major roads connecting key cities. Along these highways, he constructed sarais (inns) at every two kos (about 8 km), providing lodging, security, and fresh horses for merchants and the state postal service (dak chowki). These roads and sarais were the arteries of the empire, boosting trade and improving administrative control.
Justice SystemSher Shah was renowned for his impartial justice. He declared that “justice is the most excellent of religious rites.” He was the highest court of appeal, and he established a hierarchy of courts. A key principle was local responsibility: the village headman (muqaddam) was held accountable for crimes committed within his jurisdiction, a powerful deterrent that made the highways remarkably safe.
Military OrganizationHe maintained a large, disciplined standing army directly paid by the central treasury. He revived the Sultanate-era practice of branding horses (dagh) and maintaining descriptive rolls of soldiers (chehra) to prevent fraud.

Sher Shah’s reign was short (1540-1545), ending with an accidental gunpowder explosion during the siege of Kalinjar. His successor, Islam Shah, was a capable ruler who maintained his father’s administrative system but whose reign was marked by suspicion and conflict with the Afghan nobility. After Islam Shah’s death in 1553, the Sur empire disintegrated into civil war among several claimants, creating the very power vacuum that had allowed Babur to succeed three decades earlier.

The Return of the Emperor and the End of the Struggle

While the Sur dynasty crumbled, Humayun was a wanderer. He journeyed through the deserts of Sindh, where his son Akbar was born in 1542. He finally found refuge at the court of Shah Tahmasp of Persia. With Persian military aid, he captured Qandahar and Kabul from his own brother, Kamran, in 1545. For a decade, he consolidated his power in Afghanistan, patiently waiting for his opportunity.

In 1555, with the Sur empire in disarray, Humayun launched his campaign to reconquer India. He defeated the Afghan forces at the Battle of Sirhind and triumphantly re-entered Delhi in July 1555. The Mughal-Afghan struggle for empire had come full circle. Humayun had reclaimed his father’s throne. However, he did not live long to enjoy his restored kingdom. Just six months later, in January 1556, he tumbled down the stone steps of his library (the Sher Mandal, ironically built by his great rival) and died. His tumultuous, rollercoaster reign was over, leaving the throne to his 13-year-old son, Akbar, who would go on to build the grand edifice of the Mughal Empire on the foundations laid by both Babur and Sher Shah.


** Analytical Lens: UPSC Focus (Mains & Prelims)**

Conceptual Basis

The core conceptual conflict of this era was between two competing ideas of sovereignty. The first was the Timurid Principle of Corporate Kingship, where the empire was seen as the shared property of the ruling family, leading to the fraternal strife that was Humayun’s undoing. The second was the Afghan ideal of a confederacy of equals, where the king was often seen as first among equals, leading to the chronic rebellions that plagued the Lodis and later the Surs. Sher Shah’s and later Akbar’s success lay in their ability to move towards a more centralized, absolutist model of monarchy where all power and loyalty flowed directly to the sovereign.

UPSC Integration: Connecting the Dots

  • GS Paper 1 (History): This topic is central to Medieval Indian History, bridging the decline of the Sultanate and the rise of the Mughals. It highlights themes of military innovation, state formation, and the role of individual leadership.
  • GS Paper 2 (Governance): Sher Shah’s administrative reforms are a classic case study in good governance. His land revenue system, infrastructure projects, and emphasis on justice offer timeless lessons. Questions can be framed comparing his model with modern welfare state principles.
  • GS Paper 3 (Economy & Infrastructure): The standardization of currency (the Rupiya) and the creation of the Grand Trunk Road were monumental economic steps. They illustrate the direct link between state-led infrastructure development and the facilitation of trade and economic integration.

Long-Term Impact and Policy Relevance

The 1525-1555 period was foundational. It introduced gunpowder warfare on a large scale, permanently altering the military landscape of India. More importantly, the administrative blueprint created by Sher Shah Suri out of necessity was so effective that it was adopted and perfected by his rival’s son, Akbar. This demonstrates a crucial historical lesson: state systems and administrative structures often have more continuity than the dynasties that rule them. The Sur interregnum was not an interruption but a crucial, if unintentional, preparatory phase for the Mughal golden age. It proved that a stable, prosperous empire required not just military might but a sophisticated and equitable administrative machine.

Prelims Practice Question (MCQ)

Question: Which of the following administrative reforms is correctly attributed to Sher Shah Suri?

  1. Introduction of the Mansabdari system.
  2. Establishment of a department for charity called Diwan-i-Khairat.
  3. The branding of horses (dagh) and maintenance of descriptive soldier rolls (chehra).
  4. The creation of a network of canals for irrigation in the Punjab region.

Answer and Explanation: Correct Answer: 3. Sher Shah revived and rigorously enforced the system of dagh (branding horses) and chehra (descriptive rolls of soldiers) first introduced by Alauddin Khalji. This was crucial for maintaining a strong, centrally controlled army and preventing corruption by nobles who might otherwise fail to maintain their required quota of troops. Option 1 is incorrect; the Mansabdari system was the cornerstone of Akbar’s administration. Option 2 is incorrect; the Diwan-i-Khairat was established by Firoz Shah Tughlaq. Option 4 is incorrect; the network of canals was also a major project of Firoz Shah Tughlaq.

Mains Sample Question (15 Marks)

Question: “The Sur interregnum was not a mere interruption in Mughal rule, but a critical and formative period that laid the administrative foundations for Akbar’s empire.” Critically analyze this statement.


Mind Map Outline (Revision Structure)

  • Struggle for North India (1525-1555)
    • I. Pre-Mughal Political Landscape
      • Decline of the Delhi Sultanate (Ibrahim Lodi)
      • Rise of Rajput Confederacy (Rana Sanga)
      • Fragmented Afghan Nobility
    • II. The Advent of Babur (1526-1530)
      • Central Asian Origins & Military Innovations
        • Gunpowder: Artillery (Araba)
        • Tactics: Flanking (Tulghuma)
      • The Three Foundational Battles
        • First Battle of Panipat (1526) - vs. Ibrahim Lodi
        • Battle of Khanwa (1527) - vs. Rana Sanga
        • Battle of Ghaghra (1529) - vs. Eastern Afghans
    • III. Humayun’s First Reign (1530-1540)
      • Inheritance Issues
        • Timurid Principle of Succession
        • Fraternal Rivalry (Kamran, Askari, Hindal)
      • External Threats
        • Bahadur Shah of Gujarat (Western Campaign)
        • Rise of Sher Khan (Eastern Threat)
      • Decisive Defeats
        • Battle of Chausa (1539)
        • Battle of Kanauj/Bilgram (1540)
    • IV. The Sur Interregnum (1540-1555)
      • Sher Shah Suri’s Reign (1540-1545)
        • Visionary Administrative Reforms
          • Revenue System (Patta, Qabuliyat)
          • Currency Reform (Rupiya, Dam)
          • Infrastructure (Grand Trunk Road, Sarais)
          • Justice System (Local Responsibility)
          • Military Organization (Dagh, Chehra)
      • Decline of the Sur Dynasty
        • Islam Shah’s Reign
        • Civil War and Fragmentation
    • V. Humayun’s Exile and Return
      • Refuge in Persia (Shah Tahmasp)
      • Recapture of Kabul and Qandahar
      • Reconquest of India (1555)
        • Battle of Sirhind
      • Death and Legacy (1556)
    • VI. Critical Appraisal
      • Legacy of Babur: Military Foundation
      • Legacy of Sher Shah: Administrative Blueprint
      • Legacy of Humayun: Perseverance and Continuity

[NEW_TOPIC_NAME:mughal-afghan-struggle-for-north-india-1525-1555]

From the makers of these notes

Revise this on your phone — in your own language

EduOrbex turns the UPSC, State PSC, SSC and RRB syllabus into narrated study songs, step-by-step aptitude video-lessons and an interactive India map quiz — in English, Hindi, Telugu, Tamil, Kannada and Malayalam. Completely free.

  • Narrated aptitude lessons, every step explained aloud
  • Thousands of practice questions with hints
  • Map quiz on real Survey of India boundaries
  • Download and study with no network