According to
Hemachandra, who was patronized by the
Chaulukyas, the Chaulukya king
Mularaja defeated Graharipu. No other Chaulukya-era accounts mention this victory. Jehula told Mularaja that Graharipu was a tyrant who tortured pilgrims and indulged in vices such as eating flesh, drinking wine and hunting deer in sacred places. Jambaka described Graharipu as a very strong king, and declared that only Mularaja was capable of defeating him. Both the ministers urged Mularaja to attack Graharipu. Mularaja launched a campaign against Graharipu on the day of
Vijayadashami. Graharipu attempted a peaceful resolution through a messenger, who informed Mularaja that Graharipu had no enmity with him. However, Mularaja turned the messenger away, and continued his march. Graharipu then started his war preparations. His allies included Medas, his friend's son Laksha, and a king named Sindhuraja. After the war began, he was joined by a
mleccha chief (who according to the Hemachandra's commentator Abhayatilaka Gani, was a
Turushka). Mularaja was supported by the kings Gangamaha of Gangadvara and his younger brother, Mahirata, Revatimitra, and Shailaprastha. The
Paramara king of
Abu and
Srimala also joined him. In addition, Mularaja was supported by the Bhillas and the Kauravas. After the battle began, several others including the king of Saptakashi and a number of Gujarati soldiers, joined him. The battle took place on the river Jambumali (identified as the
Bhogavo River in
Saurashtra). The battle continued for two days indecisively. On the third day, Mularaja entered battle on an elephant and Graharipu mounted his own elephant in rage. Mularaja overpowered Graharipu in
single combat, threw him down from his elephant, and had him tied up with ropes. Laksha, wearing white clothes, rushed in and abused Mularaja calling him Mula. He asked Mularaja to release Graharipu, but Mularaja refused to comply, on the grounds that the captive was a
beef-eater. This led to another single combat, in which Mularaja killed Laksha with a spear. The men of Saurashtra then made a submission before Mularaja, dressed as women. The queen and children of Graharipu requested for Mularaja to release him, which he did, before he visited Prabhasa. According to Abhayatilakagani, Mularaja prayed on the day of
Shivaratri. Within five to six days, Mularaja returned to his capital with 108 elephants. The fight between Mularaja and Laksha has also been mentioned by the 14th century writer
Merutunga in
Prabandhachintamani. According to this version, Laksha (or Lakha) was the ruler of
Kaccha. He was the son of Phulada and Kamalata, who was a daughter of the
Parmara king Kirtiraja. Laksha had repulsed Mularaja's attacks 11 times. However, in their 12th fight, Mularaja besieged his fort Kapilkot (now
Kera, Kutch), killed him, and trod him on his beard. Enraged by his insulting action, Laksha's mother cursed Mularaja's family to be afflicted with
leprosy. The similar account is also given in
Kumarapalacharita. According to K. K. Shastri, this account seems more trustworthy. Laksha appears to be a historical character, as he has been mentioned in several other chronicles as well. The other kings listed by Hemachandra appear to be fictional names. Historian Asoke Majumdar theorizes that Mularaja attacked Graharipu on "some flimsy pretext", as Mahadeva's-order-in-a-dream was a popular device used by Sanskrit authors to justify the otherwise inexcusable actions of their heroes. Mularaja's descendants continued to fight against the kings of Kaccha and Saurashtra, so it appears that he managed to subjugate these territories only partially. ==In bardic literature==