The Nuttall Encyclopedia
In the Hindu mythology "a solar hero who rules over the dead; might have lived as an immortal, but chose to die; was the first to traverse the road from which there is no return, tracing it for future generations; in the remotest extremity of the heavens, the abode of light and the eternal waters, he reigns in peace and in union with Varuna (q. v .); there by the sound of his flute, under the branches of the mythic tree, he assembles around him the dead who have lived nobly, they reach him in a crowd, convoyed by Agni ( q. v .), grimly scanned as they pass by two monstrous dogs that are the guardians of the road."
Wood, James, ed. Entry for 'Yama'. The Nuttall Encyclopedia. https://www.studylight.org/encyclopedias/eng/nut/y/yama.html. Frederick Warne & Co Ltd. London. 1900.