Grouping by original line based on the paternal line through a hidden ranking system, etc., was advanced, and ujigami as a guardian god of those who were from the same ancestors through their paternal lines and ujisha which worshipped this ujigami was established.
また、蔭位制度などを通じた父系による出自集団化が進み、父系を通じて同じ祖先を有する者たちの守護神としての氏神及びそれを祀る氏社が成立するようになる。