The Battle of Vaihind (1008–09) was fought between Mahmud Ghaznavi and Anandpal, the Hindu Shahi ruler. Anandpal organized several Rajput chiefs to resist Mahmud’s advance, but internal disunity weakened the confederacy. Mahmud’s superior cavalry and tactics led to his victory, paving the way for further Ghaznavid invasions into northwestern India. ANSWER: (A) Mahmud Ghaznavi and Anandpal