Heeding the mysterious dream, the shugendō monk created a special sweet and offered it at En-no-Gyōja-yama.
A short time later the epidemic fizzled out.
These same sweets he gifted to local people, who attributed their good health to the 'sacred' rice cakes.