People at that time considered a god protecting Jetavana วัดเชตวัน early buddhism center in India can protect Kyoto as well.
Thus started Gion festival. many juggernauts are moving through the streets of Kyoto in July.

祇園祭 祭神 瞿摩掲唎婆耶提婆囉惹 goma grivaya deva raja / gavagriva