[citation needed] A confederacy of Indian rulers led by Yashodharman, and possibly even supported by the Gupta King Narasimhagupta, decisively defeated the Hunnic armies at Sondani in 528 CE.
[5] In a part of the Sondani inscription Yasodharman thus praises himself for having defeated king Mihirakula:[9] He (Yasodharman) to whose two feet respect was paid, with complimentary presents of the flowers from the lock of hair on the top of (his) head, by even that (famous) king Mihirakula, whose forehead was pained through being bent low down by the strength of (his) arm in (the act of compelling) obeisanceThe Gupta King Narasimhagupta is also credited in helping repulse Mihirakula, after the latter had conquered most of India, according to the reports of Chinese monk Xuanzang.
He later spared Mihirakula's life on the intercession of his mother, as she perceived the Hun ruler "as a man of remarkable beauty and vast wisdom".
[citation needed] In the Mandsaur pillar inscription, Yashodharman claims he vanquished his enemies and now controls the territory from the neighbourhood of the (river) Lauhitya (Brahmaputra River) to the "Western Ocean" (Western Indian Ocean), and from the Himalayas to mountain Mahendra.
[15][16] Yashodharman thus conquered vast territories from the Hunas and the Guptas,[17] although his short-lived empire would ultimately disintegrate between c. 530-540 CE.