Introduction
Dharma, also called Yama, is the god of righteousness and of death. In the Mahabharata he is the divine father of Yudhishthira, and Vidura is regarded as his incarnation.
This article primarily follows the Mahabharata. Where a well-known detail comes from a Puranic or later source, the article identifies it.
Yudhishthira
Kunti called on Dharma with the mantra given by Durvasa, and had Yudhishthira. In the Vana Parva, Dharma appears as a Yaksha to test Yudhishthira with questions, and is pleased by his answers.
Vidura
The sage Mandavya cursed Yama to be born as a human because of a childhood punishment. Yama was born as Vidura, the son of Vyasa and a maid.