Prithviraja Chauhan (Prithviraj Chauhan) defeated Muhammad of Ghor in the First Battle of Tarain in 1191, temporarily halting the Ghurid invasion of North India. However, Muhammad of Ghor returned the next year and defeated Prithviraj in the Second Battle of Tarain in 1192, which ultimately led to the establishment of Islamic rule in Delhi.