The Chauhan Kingdom became the leading state in Northern India under King Prithviraj III (1165–1192 CE), also known as Prithvi Raj Chauhan or Rai Pithora. Prithviraj III has become famous in folk tales and historical literature as the Chauhan king of Delhi who resisted and repelled the invasion by Mohammed of Ghor at the First Battle of Tarain in 1191. Armies from other Rajput kingdoms, including Mewar, assisted him. The Chauhan kingdom collapsed after Prithviraj and his armies faced defeat from Mohammed of Ghor in 1192 at the Second Battle of Tarain.