According to historian Romila Thapar, ignoring the Hindu mythological accounts, the first historic mention of the city dates back to the 7th century, when the Chinese pilgrim Xuanzang described it as a Buddhist site.