Why did Mahmud of Ghazni attack India?

Ans – To establish his empire in India