Under the organization based on the Ritsuryo system in Tang, officials were classified into four ranks, such as Chokan (minister), Tsuhangan (vice minister), Hangan (inspector) and Sakan (secretary).
唐律令官制では、長官・通判官・判官・主典の4等級による組織体系がとられた。