From prehistoric times through the end of the 18th century, the Himachal region was primarily shaped by tribal formations, the rise and fall of regional kingdoms, and the influence of neighboring empires like the Delhi Sultanate and Sikh rule. Following the Anglo-Gorkha War (1814-1815) and concluding with Indian independence in 1947, British influence reorganized and consolidated the region, culminating in the formation of the state of Himachal Pradesh in 1971.