Starting from the Hata clan's mountain
This head shrine sits in Fushimi Ward, Kyoto, dedicated to the god Inari, at the foot of Mount Inari. The mountain rises 233 metres and its loop trail runs about four kilometres, with small shrines strung along it one after another. Which came first, the mountain's name or the shrine's, is no longer clear.
The shrine's founding is set in 711 and tied to the Hata clan. This family of immigrants came from the Korean peninsula, settled in Yamashiro in the Kofun period, and brought irrigation, sericulture and brewing. The Yamashiro Fudoki records a legend: Hata no Irogu shot an arrow at a rice cake, which turned into a white bird, flew to the mountain peak, and where it landed rice grew — there he enshrined the deity.
Inari began as a god of rice and farming, and later merchants took it as a patron of business. In the early Heian period its rank rose; in 965 Emperor Murakami sent imperial messengers with proclamations to the guardian deities of the realm, and Inari was among the first sixteen shrines to receive one.