Mahmud of Ghazni was a 10th-century Muslim ruler who led numerous raids into northern India, amassing a vast treasury and spreading Islamic influence.