Source: Ehon Sugawara jikki (1842 edition); text and illustration by Kose Hidenobu

In 888, while Michizane was the Governor of Sanuki Province, there was a severe drought. Michizane first performed Buddhist rituals and wrote Chinese poems in an attempt to bring the rain back. The following excerpt is from Michizane's introduction to a poem on the subject :

The poem itself contains the following lines:

When his prayers to the Buddhas failed, Michizane addressed a prayer directly to the kami of Fortress Mountain (Kiyama), at the top of which a local shrine was located. This prayer was apparently more successful and rain is said to have fallen the next day. The picture above is supposed to portray Michizane's successful prayer to the kami. It seems likely that this incident was one reason that Michizane initially was associated with the kami of thunder and lightning.