 In ancient times, because of the overlap of political and religious power within a clan, it was the head of the clan who led the clansmen during religious functions, or else it could be another official.Later, the role evolved into a separate and more specialized form.The term appears in both the "Kojiki" (680 AD) and "Nihon Shoki" (720 AD).