Disclaimer: This translation does not guarantee complete accuracy, please confirm with the original page text.
In the Mahapurana, the Uttara Purana, in the Videha region, in the Mangalavati country, on the Khecharachala mountain, there was a city called Kanakaprabha, situated on the northern slopes of the mountain, shining like gold. || 22 || The king of this city was Kanakapundaka, a king of the Vidyadharas, and his beloved queen was Kanakamala, and their son was Kanakojjvala. || 222 || One day, Kanakojjvala went to the Mandara mountain to play with his wife, Kanakavalya. There, he saw the sage Priyamitra, a knower of the future. || 223 || Kanakojjvala, with devotion, circumambulated the sage and bowed down to him, asking, "O venerable one, please tell me the nature of Dharma." || 224 || The sage replied, "Dharma is full of compassion. Take refuge in Dharma. Through Dharma, you will attain liberation. Through Dharma, break the bonds of karma. Cultivate a good mind for Dharma. Do not abandon Dharma. Accept the servitude of Dharma. Remain steadfast in Dharma. Always think, 'O Dharma, protect me.'" || 225-226 || "By firmly establishing yourself in Dharma and constantly contemplating its various aspects, you will attain liberation in a short time." || 227 || Hearing these words, Kanakojjvala, filled with joy, took them to heart, and drank the nectar of Dharma, like a thirsty man drinking water. || 228 || He renounced all worldly possessions, freed himself from the bondage of desires, and practiced self-control for a long time. Finally, he attained liberation and became a god in the seventh heaven. || 229 || He enjoyed the pleasures of that heaven for the duration of thirteen oceans, and then, with a peaceful mind, he left that heaven. || 230 || He was reborn as the son of King Vajrasena, the ruler of Saketa, in the Kosala country, in this Jambudvipa, born to his queen, Shilavati. || 231 || His name was Harishena, and he was naturally endowed with qualities that brought joy to all. He subdued the goddess of fortune, making her his own, like a king's wife. || 232 || Finally, he renounced all worldly possessions, like a garland without its flowers, and sought liberation. He went to the great sage Shruta Sagar, who was adorned with the highest vows and knowledge of the scriptures, and took initiation from him. || 233 || Harishena, whose vows were constantly growing, attained liberation after his lifespan ended, and was reborn as a god in the Mahashukra heaven. There, he enjoyed the pleasures of that heaven for the duration of sixteen oceans. || 234 || Just as the rising sun sets, so too did this god reach the end of his lifespan.