The Nepali civil code Muluki Ain was commissioned by Jung Bahadur Rana after his European tour and enacted in 1854. It was rooted in traditional Hindu Law and codified social practices for several centuries in Nepal. The law also comprised "Prāyaścitta" (avoidance and removal of sin) and "Ācāra" (the customary law of different castes and communities). It was an attempt to include the entire Hindu as well as the non-Hindu population of Nepal of that time into a single hierarchic civic code from the perspective of the Khas rulers.