Maghadevasutta

Suttapiṭaka · Majjhimanikāya · Vol. 13 · Section 454

[454] Then, Ānanda, King Maghadeva, having given a village grant to the barber and having thoroughly instructed the prince, his eldest son, in kingship, shaved off his hair and beard, put on the ochre robes, and went forth from the household life into homelessness in this very Maghadeva Mango Grove. He dwelt pervading one direction with a mind (citta) imbued with loving-kindness (mettā); likewise the second, likewise the third, likewise the fourth. Thus above, below, across, everywhere, and to all as to himself, he dwelt pervading the entire world with a mind imbued with loving-kindness — abundant, exalted, immeasurable, without hostility, without ill will. With a mind imbued with compassion (karuṇā) … with a mind imbued with altruistic joy (muditā) … he dwelt pervading one direction with a mind imbued with equanimity (upekkhā); likewise the second, likewise the third, likewise the fourth. Thus above, below, across, everywhere, and to all as to himself, he dwelt pervading the entire world with a mind imbued with equanimity — abundant, exalted, immeasurable, without hostility, without ill will. Now, Ānanda, King Maghadeva played the games of a boy for eighty-four thousand years; he exercised viceroyalty for eighty-four thousand years; he ruled the kingdom for eighty-four thousand years; and for eighty-four thousand years, having gone forth from the household life into homelessness in this very Maghadeva Mango Grove, he lived the holy life. Having developed the four divine abidings (brahmavihāra), with the breakup of the body, after death, he went to the Brahmā-world.

English translation from the Pali (Siam Raṭṭha edition) — under review, not for citation.