I want to know the answer to the following question:
Who was the ruler of Ghazni?
All the background I'm provided with is that "However, the army was hopeless in battle against the western forces, particularly against the young Mahmud of Ghazni.". Is that enough to answer the question?
Answer: yes