In exchange for teaching the Akṣahṛdaya mantra to Nala, which offered mastery over gambling, he learnt the Aśvahṛdaya mantra, which offered him mastery over riding. After they reached Vidarbha, after a series of tests, he realised that the second svayamvara was a scheme by Damayanti, ultimately to reconcile with her husband, Nala. Bearing no resentment, Rituparna was glad about the reunion of the couple, and returned to his kingdom.
In exchange for teaching Nala the Akṣahṛdaya mantra, which granted mastery over gambling, he learned the Aśvahṛdaya mantra, granting him mastery over riding. After reaching Vidarbha, after a series of tests, Rituparna realized that the second svayamvara was a scheme by Damayanti to reconcile with her husband, Nala.  Bearing no resentment, Rituparna was pleased about the reunion of the couple and returned to his kingdom.