The "Great Qing Legal Code" (《大清律例》) was the last set of Chinese laws where the complete kinship terms were shown. The Qing code not only confirmed the importance of defining kinship relations, but also defined the legal and moral conducts between family relations. Although there was no specific statute in the Qing code to define kinship terms, it specified the mourning attire and ritual appropriate according to the relation between the mourner and the deceased. Kinship relationships also played a crucial role in the administration of justice under the Qing. Penalties were more severe for crimes committed against senior relatives within the family hierarchy. Crimes committed against those outside of the extended family were punished less harshly. Crimes committed by senior family members against their inferiors were least likely to elicit harsh sentences.