The legal system in imperial China that granted reduced sentences or immunity to eight privileged groups, including relatives of the emperor, old friends, and high-ranking officials. Those who committed the ten abominations were excluded from these privileges.