They then went on to conquer Hansi, Thaneshvar, Nagarkot and other cities taken by the Ghaznavids and marched against Lahore and besieged it.