The Ritsuryo System was put into place after the sankokyukei (administrative posts in the Qin and Han eras in China) in the Chinese rules governing administrative organizations, and the high officials were called kugyo.
中国の官制にある三公九卿に倣い律令制が整備され、高官を公卿と称した。