Padma Purana after stating the legend says: “Shree Chitragupta was placed near Dharamaraj to register the good and evil actions of all sentient beings,that he was possessed of supernatural wisdom and became the partaker of sacrifices offered to the gods and fire. It is for this reason that the twice−born always give him oblations from their food. As he sprang from the body of Lord Brahma he was called Kayastha of numerous gotras on the face of the earth.”