Disclaimer: This translation does not guarantee complete accuracy, please confirm with the original page text.
In the Harivamsha Purana:
The king accepted the child abandoned by the queen, named Enipuṭra. When the king asked how the child came to him, the sage narrated the entire story. The sage revealed that she had become a goddess after her death, and out of affection for the growing child, the king, Shilayudha, accepted him as his own son.
Later, the king initiated Enipuṭra as the ruler and himself took sannyāsa and attained the heavenly abode. Thereafter, Enipuṭra's daughter, named Priyaṃgusundarī, was born, who was of dark complexion like the Priyaṃgu flower and extremely beautiful. When she came of age, she held a svayaṃvara ceremony, but being disinclined towards sensual pleasures, she rejected all the royal suitors.
One day, when Priyaṃgusundarī saw the sage (the narrator) and the king's companion Bandhūmatī in the royal palace, she was pierced by the arrows of Cupid. The sage then asked the king to unite with her, assuring him that she was not given to anyone else. The sage claimed to be the authority in the matters of this royal lineage, and said that she had been given to the king by her own father and brothers. The sage fixed an auspicious night for their union in the temple of the god of love. When the king humbly requested the boon that whenever he remembers the goddess, she should grace him, the goddess agreed.