Śrīmad-Bhāgavatam · Text 3.5.20
Who is speaking and story frame
माण्डव्यशापाद्भगवान् प्रजासंयमनो यम: ।
भ्रातु: क्षेत्रे भुजिष्यायां जात: सत्यवतीसुतात् ॥ २० ॥
māṇḍavya-śāpād bhagavān
prajā-saṁyamano yamaḥ
bhrātuḥ kṣetre bhujiṣyāyāṁ
jātaḥ satyavatī-sutāt
I know that you are now Vidura due to the cursing of Māṇḍavya Muni and that formerly you were King Yamarāja, the great controller of living entities after their death. You were begotten by the son of Satyavatī, Vyāsadeva, in the kept wife of his brother.
Read Śrīla Prabhupāda's purport on Vedabase.io