The state of Yamato, as early Japan was known, was organized into uji, or clusters of clans, together with subordinate guilds of farmers, fishermen, hunters, weavers, and potters, all subject to the dominant uji of the imperial family.