Lord Yama is the lord of justice and he is sometimes referred to as Dharma in reference to his unswerving dedication to maintaining order and adherence to harmony. His chief assistant Chitragupta is assigned with the task of keeping complete records of actions of human beings on the earth, and upon their death, deciding to have them reincarnated as a superior or inferior organism depending on their action (karma) on the earth.