Complex sentence: Local people invited Gozu Tenno from Yasaka Shrine in Kyoto and held a big religious ceremony to pray for calming down of the epidemic, and then a big bee came from somewhere and stung people one after another.
Split into simpler sentences: Local people invited Gozu Tenno from Yasaka Shrine in Kyoto and held a big religious ceremony to pray for calming down of the epidemic. Then a big bee came from somewhere and stung people one after another.