According to the earliest known writings from the ancient Hindu texts, the Bhavishya Puranas, Chitraguptavanshi Kayasthas descended from the Hindu god, Chitragupta, who was conceived from the body of the Hindu god, Brahma, who gave Chitragupta and his descendants the duties to separate good from evil.