It's told that Yato no Kami were killed and enshrined by a man named Yahazu no uji no Matachi during the time when Emperor Keitai was in reign. The Yato no kami vanished later when a man named Mibunomuroji Maro drove them away from disturbing him and his workers who were building a moat there.