Predating Kyoto's establishment as the national capital in 794, the Aoi Matsuri began in the 7th century, although its precise origins are uncertain. There were most likely natural disasters occurring that were believed to be caused by the deities of the Kamo Shrines. After the Emperor made offerings to the gods, the disasters subsided and a tradition was begun. The festival's official name remains Kamo Matsuri, because of its association with the shrines.