situated on the route between the Indus river in a region described as extending along the rivers Bidastes or Vitasta (Jhelum), Sandabal or Chandra Bhaga (Chenab), and Adris or Iravati (Ravi).
The oldest authentic document about Lahore was written anonymously in 982 and is called Hudud-i-Alam.
There are no architectural remains of the old Hindu city of Lahore, a circumstance which might well be explained by the absence of stone material, and the numerous destructive invasions to which the city has been subjected.
But also, in accordance with what all Indian architectural researchers tend to show namely, that the northern Hindus were not, until a comparatively late period, in the habit of building temples, or durable edifices of any kind.
Moreover, some of the oldest and most sacred Hindu shrines are found within this locality, namely Bhairo ka sthain and the Chandrat.
The gate of the present city, known as the Lahori or Lohari Gate was so called as being the gateway looking in the direction of Lohawar or old Lahore just as the Kashmiri Gate looks towards Kashmir, and the Delhi Gate of modern Delhi to the ancient city of that name.
By the advice of the Bhati Rajput tribe, the Raja Jayapala formed an alliance with the Afghans, and, with their aid, was enabled to withstand the first invasion.
However, Sabuktigin later repeated his conquest on his succession to the throne of Ghazni.
A mythological legend, based on oral traditions, states that Lahore was named after Lava, son of the Hindu god Rama, who supposedly founded the city.A battle ensued in the vicinity of Lamghan ending with the defeat of the Raja and overtures being made for peace.His terms were accepted and persons were sent, on the part of Sabuktigin, to take the balance of the stipulated ransom.A war ensued, and in the space seventy battles were fought with varied success, until the Afghans, having formed an alliance with the Ghakkars, a wild tribe inhabiting the Salt Range of Punjab, compelled the Raja to cede a portion of his territory.The next mention of Lahore is in the Rajputana chronicles, where the Bussas of Lahore, a Rajput tribe, are mentioned as rallying to the defence of Chittore, when besieged by Muslim forces in the beginning of the ninth century.