محمود الغزنوي
The city was sacked and many of its temples destroyed by Mahmud of Ghazni in 1018 and again by Sikandar Lodhi, who ruled the Sultanate of Delhi from 1489 to 1517.