Ranked positions in the pre-Heian Imperial court were established; and this organizational structure remained largely intact until the Meiji Restoration (1868).
What put a hierarchical structure in place?
the pre-Heian Imperial court