The Indian capital city of Delhi has a long history, and has been an important political centre of India as the capital of several empires. Much of Delhi's ancient history finds no record and this may be regarded as a lost period of its history. Extensive coverage of Delhi's history begins with the onset of the Delhi Sultanate in the 12th century. Since then, Delhi has been the centre of a succession of mighty empires and powerful kingdoms, making Delhi one of the longest serving Capitals and one of the oldest inhabited cities in the world. It is considered to be a city built, destroyed and rebuilt several times, as outsiders who successfully invaded the Indian Subcontinent would ransack the existing capital city in Delhi, and those who came to conquer and stay would be so impressed by the city's strategic location as to make it their capital and rebuild it in their own way. The core of Delhi's tangible heritage is Hindu, Islamic (spanning over seven centuries of Islamic rule over the city) with expansive British-era architecture in Lutyens' Delhi dating to the British rule in India.
Significant prehistoric sites in Delhi include Anangpur (in the Badarpur region), as well as Harappan excavations near Narela and Nand Nagari.
References to Delhi's history in ancient literature are based on myths and legends. According to the Hindu epic Mahabharata, a city called Indraprastha, “City of the God Indra”, was the capital of the Pandavas. There is a strong belief that Purana Qila was built over the site of ancient Indraprastha. Northern Black Polished Ware (c700-200 BC) have been excavated at the site, and pieces of Painted Grey Ware were found on the surface, suggesting an even older settlement, possibly going back to ca. 1000 B.C.
In 1966, an inscription of the Mauryan Emperor Ashoka (273-236 BC) was discovered near Srinivaspur. Two sandstone pillars inscribed with the edicts of Ashoka were brought to by Firuz Shah Tughluq in the 14th century. The famous Iron pillar near the Qutub Minar was commissioned by the emperor Kumara Gupta I of the Gupta dynasty (320-540) and transplanted to Delhi during the 10th century.