Born in 979 CE, Maḥmūd Ghaznavī became the Sultān of Ghaznī 20 years later. He was a brave leader and used to take part in all the battles his forces fought in.

He was very interested in extending his empire toward Central Asia, which forced him to invade South Asia. He came to South Asia 17 times and went back to Ghaznī every time with a great victory.

Sultān Maḥmūd Ghaznavī who was from Afghānistān is chiefly remembered as the plunderer of India. Between 1000 and 1026 he mounted at least 𝟏𝟕 𝐫𝐚𝐢𝐝𝐬 𝐚𝐠𝐚𝐢𝐧𝐬𝐭 𝐈𝐧𝐝𝐢𝐚 𝐰𝐢𝐭𝐡 𝐭𝐡𝐞 𝐚𝐢𝐦 𝐨𝐟 𝐞𝐱𝐭𝐢𝐫𝐩𝐚𝐭𝐢𝐧𝐠 𝐢𝐝𝐨𝐥-𝐰𝐨𝐫𝐬𝐡𝐢𝐩𝐢𝐧𝐠 𝐚𝐧𝐝 𝐭𝐞𝐦𝐩𝐥𝐞𝐬. He wanted to implement Islām.

Unlike other great conquerors like Alexander and Chengis Khān, Maḥmūd did not leave the areas conquered to the mercy of his soldiers. After becoming the first Muslim ruler to conquer Northern Punjab, he consolidated his rule in the area and established his provincial headquarters at Lahore. He established law and order in the areas that he ruled, giving special attention to the people he ruled. The department of police and post were efficient. His judicial system was very good as everybody was equal before the law and justice was the order of the day.