After Mahmood Ghaznavi, Mohammad Gauri of Gaur state attacked India and sowed
seeds of Muslim rule in India. Gauri fought many battles in India but the battles of Tarain with the ruler of Ajmer, Prithviraj, were the most significant. In the first battle of Tarain with Prithviraj Chauhan, Gauri was defeated. But in the second battle, Prithviraj Chauhan was defeated. This was the decisive battle in the history of India. After this victory, foreign invaders, Turks got an opportunity to establish their rule in India.