Lahore is the second-most populous city of Pakistan. In ancient times, its location on the Grand Trunk Road also benefitted the city.
The name supposedly stems from Lavapuri, meaning ''town of Lava'', with prince Lava being a legendary son of the Hindu god Rama. The Greeks possibly called the city Labokla and it was referred to as Lahur by the 10th and 11th centuries.
According to some scholars, the site of the later city of Lahore has been populated since around 2000 BCE. The Alexandrian geographer Ptolemy referred to a city called Labokla, which is believed to be Lahore, as being on the road from the Indus river to Patna, ancient Pataliputra, in the east. The Chinese traveller Xuanzang visited the city in the 7th century CE and described it as being ''chiefly inhabited by brahmins''. The later 10th century Persian geographical work Hudud al-'Alam refers to Lahore as a small city with ''impressive temples, large markets and huge orchards''.