The Hindu Shahis were in control of Lahore .
The city has been controlled by numerous empires throughout the course of its history , including the Hindu Shahis , Ghaznavids , Ghurids , and Delhi Sultanate by the medieval era .
Lahore