Ghazni played a very important role in plundering wealth. He looted many rich temples of India including somnath many times . Slowly he took all temple wealth. At that time temples were central to economy and they were very important in field of politics , culture and many others. So in this way, he plundered the wealth.