According to the ancient Indian texts known as the "Puranas", "Chitraguptavanshi" Kayasthas are descended from the Hindu god Chitragupta, who is responsible for recording the deeds of humanity, upholding the rule of law, and judging whether human beings go to heaven or hell upon death. 