<P> Sometime before 1187 CE, Jagaddeva Pratihara signed a peace treaty with Prithviraj Chauhan . According to Kharatara - Gachchha - Pattavali, a chief named Abhayada once sought Jagaddeva's permission to attack and rob the wealthy visitors from Sapadalaksha country (the Chahamana territory). In response, Jagaddeva told Abhayada that he had concluded a treaty with Prithviraj with much difficulty . Jaggadeva then threatened to have Abhayada sewn in a donkey's belly if he harassed the people of Sapadalaksha . Historian Dasharatha Sharma theorized that the Chahamana - Chaulukya conflict ended with some advantage for Prithviraj, as Jagaddeva appears to have been very anxious to preserve the treaty . </P> <P> Abu was ruled by the Chaulukya feudatory Dharavarsha, who belonged to a branch of the Paramara dynasty . Partha - Parakrama - Vyayoga by his younger brother Prahaladana describes Prithviraj's night attack on Abu . This attack, according to the text, was a failure for the Chahamanas . It probably happened during the Gujarat campaign of Prithviraj . </P> <P> The Gahadavala kingdom, centered around Kannauj and headed by another powerful king Jayachandra, was located to the east of the Chahamana kingdom . According to a legend mentioned in Prithviraj Raso, Prithviraj eloped with Jayachandra's daughter Samyogita, leading to a rivalry between the two kings . </P> <P> The legend goes like this: King Jaichand (Jayachandra) of Kannauj decided to conduct a Rajasuya ceremony to proclaim his supremacy . Prithviraj refused to participate in this ceremony, and thus, refused to acknowledge Jaichand as the supreme king . Jaichand's daughter Samyogita fell in love with Prithviraj after hearing about his heroic exploits, and declared that she would marry only him . Jaichand arranged a swayamvara (husband - selection) ceremony for his daughter, but did not invite Prithviraj . Nevertheless, Prithviraj marched to Kannauj with a hundred warriors and eloped with Samyogita . Two - third of his warriors sacrificed their life in fight against the Gahadavala army, allowing him to escape to Delhi with Samyogita . In Delhi, Prithviraj became infatuated with his new wife, and started spending most of his time with her . He started ignoring the state affairs, which ultimately led to his defeat against Muhammad of Ghor . </P>

Who defeated chauhan rulers and established his rule over delhi