The Aoi Matsuri began in the 7th century. This was before Kyoto was made the national capital in 794. Its exact origins are not known. It is likely that natural disasters were happening, These were believed to be caused by the deities of the Kamo Shrines. After the Emperor made offerings to the gods, the disasters ended and a tradition was begun. The festival's official name is Kamo Matsuri because of the shrines.