does it have an ancient history as well?
Yes, it was probably inhabited before the second millennium BCE.
Delhi
was probably inhabited before the second millennium BCE 
who address the delhi as one of the greatest cities in the world UNANSWERABLE where is this place located? In India
wiki:19582530
Delhi [SEP] Ancient and Early Medieval Periods
The area around Delhi was probably inhabited before the second millennium BCE and there is evidence of continuous inhabitation since at least the 6th century BCE. The city is believed to be the site of Indraprastha, the legendary capital of the Pandavas in the Indian epic "Mahabharata". According to the Mahabharata, this land was initially a huge mass of forests called 'Khandavaprastha' which was burnt down to build the city of Indraprastha. The earliest architectural relics date back to the Maurya period (c. 300 BCE); in 1966, an inscription of the Mauryan Emperor Ashoka (273–235 BCE) was discovered near Srinivaspuri.