The history of India begins with the Indus Valley Civilization, which spread and flourished in the north-western part of the Indian subcontinent, from c. 3300 to 1300 BCE. Its Mature Harappan period lasted from 2600-1900 BCE. This Bronze Age civilization collapsed at the beginning of the second millennium BCE and was followed by the Iron Age Vedic period, which extended over much of the Indo-Gangetic plains and which witnessed the rise of major kingdoms known as the Mahajanapadas. In one of these kingdoms Magadha, Mahavira and Gautama Buddha were born in the 6th century BCE, who propagated their Shramanic philosophies among the masses.
Later, successive empires and kingdoms ruled the region and enriched its culture - from the Achaemenid Persian empire around 543 BCE, to Alexander the Great in 326 BCE. The Indo-Greek Kingdom, founded by Demetrius of Bactria, included Gandhara and Punjab from 184 BCE; it reached its greatest extent under Menander, establishing the Greco-Buddhist period with advances in trade and culture.
The subcontinent was united under the Maurya Empire during the 4th and 3rd centuries BCE. It subsequently became fragmented, with various parts ruled by numerous Middle kingdoms for the next ten centuries. Its northern regions were united once again in the 4th century CE, and remained so for two centuries thereafter, under the Gupta Empire. This period, of Hindu religious and intellectual resurgence, is known among its admirers as the "Golden Age of India." During the same time, and for several centuries afterwards, Southern India, under the rule of the Chalukyas, Cholas, Pallavas and Pandyas, experienced its own golden age, during which Indian civilization, administration, culture, and religion (Hinduism and Buddhism) spread to much of south-east Asia.
Islam arrived on the subcontinent in 712 CE, when the Arab general Muhammad bin Qasim conquered Sindh and Multan in southern Punjab, setting the stage for several successive Islamic invasions between the 10th and 15th centuries CE from Central Asia, leading to the formation of Muslim empires in the Indian subcontinent, including the Ghaznavid, the Ghorid, the Delhi Sultanate and the Mughal Empire. Mughal rule came to cover most of the northern parts of the subcontinent. Mughal rulers introduced middle-eastern art and architecture to India. In addition to the Mughals, several independent Hindu kingdoms, such as the Maratha Empire, the Vijayanagara Empire and various Rajput kingdoms, flourished contemporaneously, in Western and Southern India respectively. The Mughal Empire suffered a gradual decline in the early eighteenth century, which provided opportunities for the Afghans, Balochis and Sikhs to exercise control over large areas in the northwest of the subcontinent until the British East India Company gained ascendancy over South Asia.
Beginning in the mid-18th century and over the next century, India was gradually annexed by the British East India Company. Dissatisfaction with Company rule led to the First War of Indian Independence, after which India was directly administered by the British Crown and witnessed a period of both rapid development of infrastructure and economic decline.
During the first half of the 20th century, a nationwide struggle for independence was launched by the Indian National Congress, and later joined by the Muslim League. The subcontinent gained independence from Great Britain in 1947, after being partitioned into the dominions of India and Pakistan. Pakistan's eastern wing became the nation of Bangladesh in 1971.
Isolated remains of Homo erectus in Hathnora in the Narmada Valley in Central India indicate that India might have been inhabited since at least the Middle Pleistocene era, somewhere between 200,000 to 500,000 years ago. The Mesolithic period in the Indian subcontinent covered a timespan of around 25,000 years, starting around 30,000 years ago. Modern humans seem to have settled the subcontinent towards the end of the last Ice Age, or approximately 12,000 years ago. The first confirmed permanent settlements appeared 9,000 years ago in the Rock Shelters of Bhimbetka in modern Madhya Pradesh. Early Neolithic culture in South Asia is represented by the Mehrgarh findings (7000 BCE onwards) in present day Balochistan, Pakistan. Traces of a Neolithic culture have been found submerged in the Gulf of Khambat, radiocarbon dated to 7500 BCE. Late Neolithic cultures sprang up in the Indus Valley region between 6000 and 2000 BCE and in southern India between 2800 and 1200 BCE.
The region of the subcontinent that is now the country of Pakistan has been inhabited continuously for at least two million years. The ancient history of the region includes some of South Asia's oldest settlements and some of its major civilizations.
The earliest archaeological site in Pakistan is the palaeolithic hominid site in the Soan River valley. Village life began with the Neolithic site of Mehrgarh, while the first urban civilization of the region was the Indus Valley Civilization, with major sites at Mohenjo Daro and Harappa.
The Bronze Age on the Indian subcontinent began around 3300 BCE with the beginning of the Indus Valley Civilization. Inhabitants of the ancient Indus river valley, the Harappans, developed new techniques in metallurgy and produced copper, bronze, lead and tin.
The Indus Valley Civilization which flourished from about 2600 BCE to 1900 BCE marked the beginning of the urban civilization on the subcontinent. The ancient civilization included urban centers such as Harappa and Mohenjo-daro (in modern day Pakistan), Dholavira and Lothal (in modern day India). It was centred on the Indus River and its tributaries, and extended into the Ghaggar-Hakra River valley, the Ganges-Yamuna Doab, Gujarat, and northern Afghanistan.
The civilization is noted for its cities built of brick, road-side drainage system and multi-storied houses. Among the settlements were the major urban centres of Harappa and Mohenjo-daro, as well as Dholavira, Ganweriwala, Lothal, Kalibangan and Rakhigarhi. It is thought by some that geological disturbances and climate change, leading to a gradual deforestation may ultimately have contributed to the civilization's downfall. The decline of the Indus Valley Civilization also included a break down of urban society and of the use of distinctively urban traits such as the use of writing and seals.
The Vedic culture is the Indo-Aryan culture associated with the Hindu sacred texts of Vedas, which were orally composed in Vedic Sanskrit. Vedas are some of the oldest extant texts. This period lasted from about 1500 BCE to 500 BCE, and during which time the definitions of much of latter Indian language, culture and most importantly, religion were laid down. However, the timing of this period is disputed by some nationalist Indian historians who posit the earlier date of 3000 BCE. Properly speaking, the first 500 years (1500 - 1000 BCE) of the Vedic Age correspond to Bronze Age India and the next 500 years (1000 - 500 BCE) to Iron Age India. Many scholars today postulate an Indo-Aryan migration into India, proposing that early Indo-Aryan speaking tribes migrated into the north-west regions of the Indian subcontinent in the early 2nd millennium BCE. Some scholars postulate these Indo-Aryan tribes as originating in Central Asia and Afghanistan from where they migrated east into India, and west into Mesopotamia and finally assimilating with them whilst spreading their language and culture. This has been opposed by the proponents of Out of India theory, who claim Aryans were indigenous to the Indian subcontinent. It is to be noted that the 19th century "Aryan Invasion theory" has long been abandoned by scholars. Instead the various scenarios of an "Aryan Immigration" are presently researched.
Early Vedic society consisted of largely pastoral groups, with late Harappan urbanization being abandoned for unknown reasons. After the Rigveda, Aryan society became increasingly agricultural, and was socially organized around the four Varnas. In addition to the principal texts of Hinduism (the Vedas), the epics (the Ramayana and Mahabharata) are said to have their ultimate origins during this period. Early Indo-Aryan presence probably corresponds, in part, to the presence of Ochre Coloured Pottery in archaeological findings. The kingdom of the Kurus corresponds to the Black and Red Ware and Painted Gray Ware culture and the beginning of the Iron Age in Northwestern India, around 1000 BCE (roughly contemporaneous with the composition of the Atharvaveda, the first Indian text to mention Iron, as , literally "black metal"). The Painted Grey Ware culture spanning much of Northern India were prevalent from about 1100 to 600 BCE. This later period also corresponds with a change in outlook towards the prevalent tribal system of living leading to establishment of kingdoms called Mahajanapadas.
In the later Vedic Age, a number of small kingdoms or city states had covered the subcontinent, many mentioned during Vedic, early Buddhist and Jaina literature as far back as 1000 BCE. By 500 BCE, sixteen monarchies and 'republics' known as the Mahajanapadas — Kasi, Kosala, Anga, Magadha, Vajji (or Vriji), Malla, Chedi, Vatsa (or Vamsa), Kuru, Panchala, Machcha (or Matsya), Surasena, Assaka, Avanti, Gandhara, Kamboja — stretched across the Indo-Gangetic plains from modern-day Afghanistan to Bengal and Maharastra. This period was that of the second major urbanisation in India after the Indus Valley Civilization. Many smaller clans mentioned within early literature seem to have been present across the rest of the subcontinent. Some of these kings were hereditary; other states elected their rulers. The educated speech at that time was Sanskrit, while the dialects of the general population of northern India are referred to as Prakrits. Many of the sixteen kingdoms had coalesced to four major ones by 500/400 BCE, that is by the time of Siddhartha Gautama. These four were Vatsa, Avanti, Kosala and Magadha.
Hindu rituals at that time were complicated and conducted by the priestly class. It is thought that the Upanishads, late Vedic texts dealing mainly with incipient philosophy, were composed in the later Vedic Age and early in this period of the Mahajanapadas (from about 600 - 400 BCE). Upanishads had a substantial effect on Indian philosophy, and were contemporary to the development of Buddhism and Jainism, indicating a golden age of thought in this period. It is believed that in 537 BCE, that Siddhartha Gautama attained the state of "enlightenment", and became known as the 'Buddha' - the awakened one. Around the same time, Mahavira (the 24th Jain Tirthankara according to Jains) propagated a similar theology, that was to later become Jainism. However, Jain orthodoxy believes it predates all known time. The Vedas are believed to have documented a few Jain Tirthankars, and an ascetic order similar to the sramana movement. The Buddha's teachings and Jainism had doctrines inclined toward asceticism, and were preached in Prakrit, which helped them gain acceptance amongst the masses. They have profoundly influenced practices that Hinduism and Indian spiritual orders are associated with namely, vegetarianism, prohibition of animal slaughter and ahimsa (non-violence).
Much of the northwestern Indian Subcontinent (present day Eastern Afghanistan and Pakistan) came under the rule of the Persian Achaemenid Empire in c. 520 BCE during the reign of Darius the Great, and remained so for two centuries thereafter. In 334 BCE, Alexander the Great conquered Asia Minor and the Achaemenid Empire, reaching the north-west frontiers of the Indian subcontinent. There, he defeated King Puru in the Battle of the Hydaspes (near modern-day Jhelum, Pakistan) and conquered much of the Punjab; however, Alexander's troops refused to go beyond the Hyphases (Beas) River near modern day Jalandhar, Punjab. Alexander left many Macedonian veterans in the conquered regions; he himself turned back and marched his army southwest.
The Persian and Greek invasions had important repercussions on Indian civilization. The political systems of the Persians was to influence future forms of governance on the subcontinent, including the administration of the Mauryan dynasty. In addition, the region of Gandhara, or present-day eastern Afghanistan and north-west Pakistan, became a melting pot of Indian, Persian, Central Asian and Greek cultures and gave rise to a hybrid culture, Greco-Buddhism, which lasted until the 5th century CE and influenced the artistic development of Mahayana Buddhism.
Amongst the sixteen Mahajanapadas, the kingdom of Magadha rose to prominence under a number of dynasties. According to tradition, the Haryanka dynasty founded the Magadha Empire in 684 BC whose capital was Rajagriha, later Pataliputra, near the present day Patna. This dynasty was succeeded by the Shishunaga dynasty which, in turn, was overthrown by the Nanda dynasty in 424 BCE. The Nandas were followed by the Maurya dynasty.
In 321 BCE, exiled general Chandragupta Maurya, under direct patronage of the genius of Chanakya, founded the Maurya dynasty after overthrowing the reigning king Dhana Nanda. Most of the subcontinent was united under a single government for the first time under the Maurya rule. Mauryan empire under Chandragupta would not only conquer most of the Indian subcontinent, but also push its boundaries into Persia and Central Asia, conquering the Gandhara region. Chandragupta Maurya is credited for the spread of Jainism in southern Indian region.
Chandragupta was succeeded by his son Bindusara, who expanded the kingdom over most of present day India, barring Kalinga, and the extreme south and east, which may have held tributary status. Bindusara's kingdom was inherited by his son Ashoka the Great who initially sought to expand his kingdom. In the aftermath of the carnage caused in the invasion of Kalinga, he renounced bloodshed and pursued a policy of non-violence or ahimsa after converting to Buddhism. The Edicts of Ashoka are the oldest preserved historical documents of India, and from Ashoka's time, approximate dating of dynasties becomes possible. The Mauryan dynasty under Ashoka was responsible for the proliferation of Buddhist ideals across the whole of East Asia and South-East Asia, fundamentally altering the history and development of Asia as a whole. Ashoka's grandson Samprati adopted Jainism and helped spread Jainism.
The Sunga Dynasty was established in 185 BCE, about fifty years after Ashoka's death, when the king Brihadratha, the last of the Mauryan rulers, was murdered by the then commander-in-chief of the Mauryan armed forces, Pusyamitra Sunga. The Kanva dynasty replaced the Sunga dynasty, and ruled in the eastern part of India from 71 BCE to 26 BCE. In 30 BCE, the southern power swept away both the Kanvas and Sungas. Following the collapse of the Kanva dynasty, the Satavahana dynasty of the Andhra kingdom replaced the Magadha kingdom as the most powerful Indian state.
The middle period was a time of notable cultural development. The Satavahanas, also known as the Andhras, were a dynasty which ruled in Southern and Central India starting from around 230 BCE. Satakarni, the sixth ruler of the Satvahana dynasty, defeated the Sunga dynasty of North India. Gautamiputra Satakarni was another notable ruler of the dynasty. Kuninda Kingdom was a small Himalayan state that survived from around the 2nd century BCE to roughly the 3rd century CE. The Kushanas invaded north-western India about the middle of the 1st century CE, from Central Asia, and founded an empire that eventually stretched from Peshawar to the middle Ganges and, perhaps, as far as the Bay of Bengal. It also included ancient Bactria (in the north of modern Afghanistan) and southern Tajikistan. The Western Satraps (35-405 CE) were Saka rulers of the western and central part of India. They were the successors of the Indo-Scythians (see below) and contemporaneous with the Kushans who ruled the northern part of the Indian subcontinent, and the Satavahana (Andhra) who ruled in Central India.
Different empires such as the Pandyan Kingdom, Early Cholas, Chera dynasty, Kadamba Dynasty, Western Ganga Dynasty, Pallavas and Chalukya dynasty dominated the southern part of the Indian peninsula, at different periods of time. Several southern kingdoms formed overseas empires that stretched across South East Asia. The kingdoms warred with each other and Deccan states, for domination of the south. Kalabhras, a Buddhist kingdom, briefly interrupted the usual domination of the Cholas, Cheras and Pandyas in the South.
The north-western hybrid cultures of the subcontinent included the Indo-Greeks, the Indo-Scythians, the Indo-Parthians, and the Indo-Sassinids. The first of these, the Indo-Greek Kingdom, founded when the Greco-Bactrian king Demetrius invaded the region in 180 BCE, extended over various parts of present-day Afghanistan and Pakistan. Lasting for almost two centuries, it was ruled by a succession of more than 30 Greek kings, who were often in conflict with each other. The Indo-Scythians were a branch of the Indo-European Sakas (Scythians), who migrated from southern Siberia first into Bactria, subsequently into Sogdiana, Kashmir, Arachosia, Gandhara and finally into India; their kingdom lasted from the middle of the 2nd century BCE to the 1st century BCE. Yet another kingdom, the Indo-Parthians (also known as Pahlavas) came to control most of present-day Afghanistan and northern Pakistan, after fighting many local rulers such as the Kushan ruler Kujula Kadphises, in the Gandhara region. The Sassanid empire of Persia, who were contemporaries of the Guptas, expanded into the region of present-day Pakistan, where the mingling of Indian and Persian cultures gave birth to the Indo-Sassanid culture.
The trade started by Eudoxus of Cyzicus in 130 BCE kept increasing, and according to Strabo (II.5.12.), by the time of Augustus up to 120 ships were setting sail every year from Myos Hormos to India. So much gold was used for this trade, and apparently recycled by the Kushans for their own coinage, that Pliny (NH VI.101) complained about the drain of specie to India:
These trade routes and harbour are described in detail in the 1st century CE Periplus of the Erythraean Sea.
In the 4th and 5th centuries, the Gupta Dynasty unified northern India. During this period, known as India's Golden Age of Hindu renaissance, Hindu culture, science and political administration reached new heights. Chandragupta I, Samudragupta, and Chandragupta II were the most notable rulers of the Gupta dynasty. The Vedic Puranas are also thought to have been written around this period. The empire came to an end with the attack of the Huns from central Asia. After the collapse of the Gupta Empire in the 6th century, India was again ruled by numerous regional kingdoms. A minor line of the Gupta clan continued to rule Magadha after the disintegration of the empire. These Guptas were ultimately ousted by the Vardhana king Harsha, who established an empire in the first half of the seventh century.
The White Huns, who seem to have been part of the Hephthalite group, established themselves in Afghanistan by the first half of the fifth century, with their capital at Bamiyan. They were responsible for the downfall of the Gupta dynasty, and thus brought an end to what historians consider a golden age in northern India. Nevertheless, much of the Deccan and southern India were largely unaffected by this state of flux in the north.
The classical age in India began with the resurgence of the north during Harsha's conquests around the 7th century, and ended with the fall of the Vijayanagar Empire in the South, due to pressure from the invaders to the north in the 13th century. This period produced some of India's finest art, considered the epitome of classical development, and the development of the main spiritual and philosophical systems which continued to be in Hinduism, Buddhism and Jainism.
King Harsha of Kannauj succeeded in reuniting northern India during his reign in the 7th century, after the collapse of the Gupta dynasty. His kingdom collapsed after his death. From the 7th to the 9th century, three dynasties contested for control of northern India: the Pratiharas of Malwa and later Kannauj; the Palas of Bengal, and the Rashtrakutas of the Deccan. The Sena dynasty would later assume control of the Pala kingdom, and the Pratiharas fragmented into various states. These were the first of the Rajputs, a series of kingdoms which managed to survive in some form for almost a millennium until Indian independence from the British. The first recorded Rajput kingdoms emerged in Rajasthan in the 6th century, and small Rajput dynasties later ruled much of northern India. One Rajput of the Chauhan dynasty, Prithviraj Chauhan, was known for bloody conflicts against the encroaching Islamic Sultanates. The Shahi dynasty ruled portions of eastern Afghanistan, northern Pakistan, and Kashmir from the mid-seventh century to the early eleventh century. Whilst the northern concept of a pan-Indian empire had collapsed at the end of Harsha's empire, the ideal instead shifted to the south.
The Chalukya Empire ruled parts of southern and central India from 550 to 750 from Badami, Karnataka and again from 970 to 1190 from Kalyani, Karnataka. The Pallavas of Kanchi were their contemporaries further to the south. With the decline of the Chalukya empire, their feudatories, Hoysalas of Halebidu, Kakatiya of Warangal, Seuna Yadavas of Devagiri and a southern branch of the Kalachuri divided the vast Chalukya empire amongst themselves around the middle of 12th century. Later during the middle period, the Chola kingdom emerged in northern Tamil Nadu, and the Chera kingdom in Kerala. By 1343 A.D., all these kingdoms had ceased to exist giving rise to the Vijayanagar empire. Southern Indian kingdoms of the time expanded their influence as far as Indonesia, controlling vast overseas empires in Southeast Asia. The ports of southern India were involved in the Indian Ocean trade, chiefly involving spices, with the Roman Empire to the west and Southeast Asia to the east. Literature in local vernaculars and spectacular architecture flourished till about the beginning of the 14th century when southern expeditions of the sultan of Delhi took their toll on these kingdoms. The Hindu Vijayanagar dynasty[Karnata Rajya] came into conflict with Islamic rule (the Bahmani Kingdom) and the clashing of the two systems, caused a mingling of the indigenous and foreign culture that left lasting cultural influences on each other. The Vijaynagar Empire eventually declined due to pressure from the first Delhi Sultanates who had managed to establish themselves in the north, centered around the city of Delhi by that time.
After the Arab invasion of India's ancient western neighbour Persia, expanding forces in that area were keen to invade India, which was the richest classical civilization, with a flourishing international trade and the only known diamond mines in the world. After resistance for a few centuries by various north Indian kingdoms, short lived Islamic empires (Sultanates) got established and spread across the northern subcontinent over a period of a few centuries. But, prior to Turkic invasions, Muslim trading communities had flourished throughout coastal South India, particularly in Kerala, where they arrived in small numbers, mainly from the Arabian peninsula, through trade links via the Indian Ocean. However, this had marked the introduction of an Abrahamic Middle Eastern religion in Southern India's pre-existing dharmic Hindu culture, often in puritanical form. Later, the Bahmani Sultanate and Deccan sultanates flourished in the south.
A Turco-Mongol conqueror Timur began a trek starting in 1398 to invade the reigning Sultan Nasir-u Din Mehmud of the Tughlaq Dynasty in the north Indian city of Delhi. The Sultan's army was defeated on December 17, 1398. Timur entered Delhi and the city was sacked, destroyed, and left in ruins.
In 1526, Babur, a Timurid (Turco-Persian) descendant of Timur and Genghis Khan, swept across the Khyber Pass and established the Mughal Empire, which lasted for over 200 years. The Mughal Dynasty ruled most of the Indian subcontinent by 1600; it went into a slow decline after 1707 and was finally defeated during the 1857 war of independence also called the Indian rebellion of 1857. This period marked vast social change in the subcontinent as the Hindu majority were ruled over by the Mughal emperors, some of whom showed religious tolerance, liberally patronising Hindu culture, and some of whom destroyed historical temples and imposed taxes on non-Muslims. During the decline of the Mughal Empire, which at its peak occupied an area slightly larger than the ancient Maurya Empire, several smaller empires rose to fill the power vacuum or themselves were contributing factors to the decline. The Mughals were perhaps the richest single dynasty to have ever existed. In 1739, Nader Shah defeated the Mughal army at the huge Battle of Karnal. After this victory, Nader captured and sacked Delhi, carrying away many treasures, including the Peacock Throne.
During the Mughal era, the dominant political forces consisted of the Mughal Empire and its tributaries and, later on, the rising successor states - including the Maratha confederacy - who fought an increasingly weak and disfavoured Mughal dynasty. The Mughals, while often employing brutal tactics to subjugate their empire, had a policy of integration with Indian culture, which is what made them successful where the short-lived Sultanates of Delhi had failed. Akbar the Great was particularly famed for this. Akbar declared "Amari" or non-killing of animals in the holy days of Jainism. He rolled back the Jazia Tax for non-Muslims. The Mughal Emperors married local royalty, allied themselves with local Maharajas, and attempted to fuse their Turko-Persian culture with ancient Indian styles, creating unique Indo-Saracenic architecture. It was the erosion of this tradition coupled with increased brutality and centralisation that played a large part in their downfall after Aurangzeb, who unlike previous emperors, imposed relatively non-pluralistic policies on the general population, that often inflamed the majority Hindu population.
The post-Mughal era was dominated by the rise of the Maratha suzerianity as other small regional states (mostly post-Mughal tributary states) emerged, and also by the increasing activities of European powers (see colonial era below). The Maratha Kingdom was founded and consolidated by Shivaji. By the 18th century, it had transformed itself into the Maratha Empire under the rule of the Peshwas. By 1760, the Empire had stretched across practically the entire subcontinent. This expansion was brought to an end by the defeat of the Marathas by an Afghan army led by Ahmad Shah Abdali at the Third Battle of Panipat (1761). The last Peshwa, Baji Rao II, was defeated by the British in the Third Anglo-Maratha War.
Mysore was a kingdom of southern India, which was founded around 1400 CE by the Wodeyar dynasty. The rule of the Wodeyars was interrupted by Hyder Ali and his son Tippu Sultan. Under their rule Mysore fought a series of wars sometimes against the combined forces of the British and Marathas, but mostly against the British with some aid or promise of aid from the French. Hyderabad was founded by the Qutb Shahi dynasty of Golconda in 1591. Following a brief Mughal rule, Asif Jah, a Mughal official, seized control of Hyderabad declaring himself Nizam-al-Mulk of Hyderabad in 1724. It was ruled by a hereditary Nizam from 1724 until 1948. Both Mysore and Hyderabad became princely states in British India.
The Punjabi kingdom, ruled by members of the Sikh religion, was a political entity that governed the region of modern day Punjab. This was among the last areas of the subcontinent to be conquered by the British. The Anglo-Sikh wars marked the downfall of the Sikh Empire. Around the 18th century modern Nepal was formed by Gorkha rulers, and the Shahs and the Ranas very strictly maintained their national identity and integrity.
The British East India Company had been given permission by the Mughal emperor Jahangir in 1617 to trade in India. Gradually their increasing influence led the de-jure Mughal emperor Farrukh Siyar to grant them dastaks or permits for duty free trade in Bengal in 1717. The Nawab of Bengal Siraj Ud Daulah, the de facto ruler of the Bengal province, opposed British attempts to use these permits. This led to the Battle of Plassey in 1757, in which the 'army' of East India Company, led by Robert Clive, defeated the Nawab's forces. This was the first political foothold with territorial implications that the British acquired in India. Clive was appointed by the Company as its first 'Governor of Bengal' in 1757. After the Battle of Buxar in 1764, the Company acquired the civil rights of administration in Bengal from the Mughal Emperor Shah Alam II; it marked the beginning of its formal rule, which was to engulf eventually most of India and extinguish the Moghul rule and dynasty itself in a century. The East India Company monopolized the trade of Bengal. They introduced a land taxation system called the Permanent Settlement which introduced a feudal like structure (See Zamindar) in Bengal. By the 1850s, the East India Company controlled most of the Indian sub-continent, which included present-day Pakistan and Bangladesh. Their policy was sometimes summed up as Divide and Rule, taking advantage of the enmity festering between various princely states and social and religious groups. The colonial period included some of worst famines in India, most notably Great Famine of 1876–78 and the Indian famine of 1899–1900, in which 1.25 to 10 million people died.
The first major movement against the British Company's high handed rule resulted in the Indian Rebellion of 1857, also known as the "Indian Mutiny" or "Sepoy Mutiny" or the "First War of Independence". After a year of turmoil, and reinforcement of the East India Company's troops with British soldiers, the British overcame the rebellion. The nominal leader of the uprising, the last Mughal emperor Bahadur Shah Zafar, was exiled to Burma, his children were beheaded and the Moghul line abolished. In the aftermath all power was transferred from the East India Company to the British Crown, which began to administer most of India as a colony; the Company's lands were controlled directly and the rest through the rulers of what it called the Princely states.
The first step toward Indian independence and western-style democracy was taken with the appointment of Indian councillors to advise the British viceroy, and with the establishment of provincial Councils with Indian members the councillors' participation was subsequently widened in legislative councils. From 1920 leaders such as Mohandas Gandhi began mass movements to campaign against the British Raj. Revolutionary activities against the British rule also took place throughout the Indian sub-continent, these movements succeeded in bringing Independence to the Indian sub-continent in 1947.
British Indian territories gained independence in 1947, after being partitioned into the Union of India and Dominion of Pakistan. Following the division of pre-partition Punjab and Bengal provinces, rioting broke out between Sikhs, Hindus and Muslims in several parts of India, including Punjab, Bengal and Delhi, leaving some 500,000 dead. Also, this period saw one of the largest mass migrations ever recorded in modern history, with a total of 12 million Hindus, Sikhs and Muslims moving between the newly created nations of India and Pakistan.