Mahmud of Ghazni was a contemporary of Rajendra-I. During his campaigns in the subcontinent he attacked the temples of defeated kings and looted their wealth and idols. Sultan Mahmud was not a very important ruler at that time. But by destroying temples - especially the one at Somnath - he tried to win credit as a great hero of Islam. In the political culture of the Middle Ages most rulers displayed their political might and military success by attacking and looting the places of worship of defeated rulers.
This Question is Also Available in:
हिन्दी