The history of Pakistan preceding the country's independence in 1947Pakistan was created as the Dominion of Pakistan on 14 August 1947 after the start of British rule in, and partition of British India. is shared with that of Afghanistan, India, and Iran. Spanning the western expanse of the Indian subcontinent and the eastern borderlands of the Iranian plateau, the region of present-day Pakistan served both as the fertile ground of a major civilization and as the gateway of South Asia to Central Asia and the Near East. Quote: "Numerous passageways through the northwestern frontiers of the Indian subcontinent in modern Pakistan and Afghanistan served as migration routes to South Asia from the Iranian plateau and the Central Asian steppes. Prehistoric and protohistoric exchanges across the Hindu Kush, Karakoram, and Himalaya ranges demonstrate earlier precedents for routes through the high mountain passes and river valleys in later historical periods. Typological similarities between Northern Neolithic sites in Kashmir and Swat and sites in the Tibetan plateau and northern China show that 'Mountain chains have often integrated rather than isolated peoples.' Ties between the trading post of Shortughai in Badakhshan (northeastern Afghanistan) and the lower Indus valley provide evidence for long-distance commercial networks and 'polymorphous relations' across the Hindu Kush until c. 1800 B.C.' The Bactria-Margiana Archaeological Complex (BMAC) may have functioned as a 'filter' for the introduction of Indo-Iranian languages to the northwestern Indian subcontinent, although routes and chronologies remain hypothetical. (page 55)" Quote: "Here also, in ancient days, was the meeting-place of three great trade-routes, one, from Hindustan and Eastern India, which was to become the `royal highway' described by Megasthenes as running from Pataliputra to the north-west of the Maurya empire; the second from Western Asia through Bactria, Kapisi and Pushkalavati and so across the Indus at Ohind to Taxila; and the third from Kashmir and Central Asia by way of the Srinagar valley and Baramula to Mansehra and so down the Haripur valley. These three trade-routes, which carried the bulk of the traffic passing by land between India and Central and Western Asia, played an all-important part in the history of Taxila. (page 1)"

Situated on the first coastal migration route of Homo sapiens out of Africa, the region was inhabited early by modern humans. Quote: "The record from South Asia (Pakistan, India and Sri Lanka) has been pivotal in discussions of the archaeological signature of early modern humans east of Africa because of the well-excavated and well-dated sites that have recently been reported in this region and because of the central role South Asia played in early population expansion and dispersals to the east. Genetic studies have revealed that India was the gateway to subsequent colonisation of Asia and Australia and saw the first major population expansion of modern human populations anywhere outside of Africa. South Asia therefore provides a crucial stepping-scone in early modern migration to Southeast Asia and Oceania. (pages 81–2)" The 9,000-year history of village life in South Asia traces back to the Neolithic (7000–4300 BCE) site of Mehrgarh in Pakistan, Quote: ""Mehrgarh remains one of the key sites in South Asia because it has provided the earliest known undisputed evidence for farming and pastoral communities in the region, and its plant and animal material provide clear evidence for the ongoing manipulation, and domestication, of certain species. Perhaps most importantly in a South Asian context, the role played by zebu makes this a distinctive, localised development, with a character completely different to other parts of the world. Finally, the longevity of the site, and its articulation with the neighbouring site of Nausharo (c. 2800—2000 BCE), provides a very clear continuity from South Asia's first farming villages to the emergence of its first cities (Jarrige, 1984)." Quote: "page 33: "The earliest discovered instance in India of well-established, settled agricultural society is at Mehrgarh in the hills between the Bolan Pass and the Indus plain (today in Pakistan) (see Map 3.1). From as early as 7000 BCE, communities there started investing increased labor in preparing the land and selecting, planting, tending, and harvesting particular grain-producing plants. They also domesticated animals, including sheep, goats, pigs, and oxen (both humped zebu [Bos indicus] and unhumped [Bos taurus]). Castrating oxen, for instance, turned them from mainly meat sources into domesticated draft-animals as well.", Quote: "(p 29) "The subcontinent's people were hunter-gatherers for many millennia. There were very few of them. Indeed, 10,000 years ago there may only have been a couple of hundred thousand people, living in small, often isolated groups, the descendants of various 'modern' human incomers. Then, perhaps linked to events in Mesopotamia, about 8,500 years ago agriculture emerged in Baluchistan." and the 5,000-year history of urban life in South Asia to the various sites of the Indus Valley Civilization, including Mohenjo Daro and Harappa.Quote: "During the second half of the fourth and early part of the third millennium B.C., a new development begins to become apparent in the greater Indus system, which we can now see to be a formative stage underlying the Mature Indus of the middle and late third millennium. This development seems to have involved the whole Indus system, and to a lesser extent the Indo-Iranian borderlands to its west, but largely left untouched the subcontinent east of the Indus system. (page 81)"

The ensuing millennia saw the region of present-day Pakistan absorb many influences—represented among others in the ancient, mainly Hindu-Buddhist, sites of Taxila, and Takht-i-Bahi, the 14th-century Islamic-Sindhi monuments of Thatta, and the 17th-century Mughal monuments of Lahore. Dynasties emerging from the region encompassing modern day Pakistan during this period included the Soomra dynasty, Samma dynasty, Sayyid dynasty, Kalhora dynasty, Talpurs, Langah Sultanate, Sultanate of Swat, Sial dynasty and the Shah Mir Dynasty. In the first half of the 19th century, the region was appropriated by the East India Company, followed, after 1857, by 90 years of direct British rule, and ending with the creation of Pakistan in 1947, through the efforts, among others, of its future national poet Allama Iqbal and its founder, Muhammad Ali Jinnah. Since then, the country has experienced both civilian-democratic and military rule, resulting in periods of significant economic and military growth as well those of instability; significant during the latter, was the secession of East Pakistan as the new nation of Bangladesh.

Prehistory Paleolithic period The Soanian is an archaeological culture of the Lower Paleolithic, Acheulean. It is named after the Soan Valley in the Sivalik Hills, near modern-day Islamabad and is dated between c.774,000 and c.11,700 BCE.

Neolithic period

Mehrgarh is an important Neolithic site discovered in 1974, which shows early evidence of farming and herding, and dentistry. The site dates back to 7000–5500 BCE and is located on the Kachi Plain of Balochistan. The residents of Mehrgarh lived in mud brick houses, stored grain in granaries, fashioned tools from copper, cultivated barley, wheat, jujubes and dates, and herded sheep, goats and cattle. As the civilisation progressed (5500–2600 BCE) residents began to engage in crafts, including flint knapping, tanning, bead production, and metalworking. The site was occupied continuously until 2600 BCE,Possehl, Gregory L. 1996. "Mehrgarh." Oxford Companion to Archaeology, edited by Brian Fagan. Oxford University Press, Oxford when climatic changes began to occur. Between 2600 and 2000 BCE, region became more arid and Mehrgarh was abandoned in favour of the Indus Valley,The Centre for Archaeological Research Indus Balochistan , Musée National des Arts Asiatiques – Guimet where a new civilisation was in the early stages of development.Chandler, Graham. 1999. "Traders of the Plain". Saudi Aramco World.

Bronze Age Indus Valley Civilisation

The Bronze Age in the Indus Valley began around 3300 BCE with the Indus Valley Civilization. Along with Ancient Egypt and Mesopotamia, it was one of three early civilisations of the Old World, and of the three the most widespread, covering an area of 1.25 million km2. It flourished in the basins of the Indus River, in what is today the Pakistani provinces of Sindh, Punjab and Balochistan, and along a system of perennial, mostly monsoon-fed, rivers that once coursed in the vicinity of the seasonal Ghaggar-Hakra River in parts of north-west India. At its peak, the civilisation hosted a population of approximately 5 million spread across hundreds of settlements extending as far as the Arabian Sea to present-day southern and eastern Afghanistan, and the Himalayas. Inhabitants of the ancient Indus river valley, the Harappans, developed new techniques in metallurgy and handicraft (carneol products, seal carving), and produced copper, bronze, lead, and tin.

The Mature Indus civilisation flourished from about 2600 to 1900 BCE, marking the beginning of urban civilisation in the Indus Valley. The civilisation included urban centres such as Harappa, Ganeriwala and Mohenjo-daro as well as an offshoot called the Kulli culture (2500–2000 BCE) in southern Balochistan and was noted for its cities built of brick, roadside drainage system, and multi-storeyed houses. It is thought to have had some kind of municipal organisation as well.

During the late period of this civilisation, signs of a gradual decline began to emerge, and by around 1700 BCE, most of the cities were abandoned. However, the Indus Valley Civilisation did not disappear suddenly, and some elements of the Indus Civilisation may have survived. Aridification of this region during the 3rd millennium BCE may have been the initial spur for the urbanisation associated with the civilisation, but eventually also reduced the water supply enough to cause the civilisation's demise, and to scatter its population eastward. The civilisation collapsed around 1700 BCE, though the reasons behind its fall are still unknown. Through the excavation of the Indus cities and analysis of town planning and seals, it has been inferred that the Civilization had high level of sophistication in its town planning, arts, crafts, and trade.P. Biagi and E. Starnini 2021 – Indus Civilization. In Smith, C. (ed.) Encyclopedia of Global Archaeology. Springer Nature, Switzerland: 1–26. https://doi.org/10.1007/978-3-319-51726-1_3491-1

Early history – Iron Age Vedic period

The Vedic Period () is postulated to have formed during the 1500 BCE to 800 BCE. As Indo-Aryans migrated and settled into the Indus Valley, along with them came their distinctive religious traditions and practices which fused with local culture. The Indo-Aryans religious beliefs and practices from the Bactria–Margiana Culture and the native Harappan Indus beliefs of the former Indus Valley Civilisation eventually gave rise to Vedic culture and tribes.India: Reemergence of Urbanization. Retrieved 12 May 2007. Early Indo-Aryans were a Late Bronze Age society centred in the Punjab, organised into tribes rather than kingdoms, and primarily sustained by a pastoral way of life. During this period the Vedas, the oldest scriptures of Hinduism, were composed.

Ancient history Achaemenid Empire