The shrine was moved to Nara by Agata no INUKAI no Michiyo's daughters Empress Komyo and Murono Okimi when the capital city was relocated to Heijo-kyo, and was again moved further up Kizu-gawa River.
平城京への遷都の際に、県犬養三千代の娘である光明皇后と牟漏女王によって奈良に遷座し、さらに木津川の上流に遷座した。