mahmood ghaznavi a looter?

Stop this hindu-muslim fight.

although gaznavi did attacks merely for loot but it also benefit local muslims. muslims at that time in india were mostly converted frm shudra caste i.e were non-martial
people. so were in constant danger of annihilation.
attacks of these powerful invaders used to put fear in hindus and they could'nt touch muslims bcoz mahmud like afghans were sitting across indus who have always indian muslims at time of need.