محمود الغزنوي
Thanesar was sacked and many of its temples were destroyed by Mahmud of Ghazni.