Sage Mandavya (also spelled Mardanya in some traditions) cursed Yama, the god of death, to be born as a human named Vidura. This curse was a consequence of Yama inflicting punishment on Mandavya when he was wrongfully accused. Vidura, born from this curse, became known for his wisdom and righteousness in the Mahabharata epic, serving as a key advisor to the Kuru throne.