According to legend and documented in Yamashirokoku Fudoki, Irogu no Hatanokimi was practicing his archery in the early 8th century by shooting at rice cakes. One of them transformed into a swan and flew to the mountaintop. The landing spot then miraculously became an abundant rice field. The miracle was called Inari and the location enshrined to the god of rice.