Battle of Chach, was fought in 1008 AD between the Ghaznavid army of Sultan Mahmud bin Sebuktigin (Mahmud of Ghazni) and the Hindu Shahi army of Anandapala, near Mirpur, resulting in the latter's defeat. This left the north Indian region vulnerable to further invasions.[1]