Ancient Peshawar was a capital of the Gandharan kingdom from the second century AD, when it was known as Purushapura.