During the Sui dynasty (581-618 CE), the official ritualTr. . restricted using fangxiangshi exorcists to funerals of higher-ranking shi "scholar-officials"; officers of the 1st-4th degrees could use fangxiang, but those of the 5th-7th degrees could only use qitou ghost masks.
