According to the more popular legend, during the Turkish occupation of the territory in 1687, the people of Mohács fled the town, and moved into the nearby swamps of Danube and woods, to avoid Ottoman troops.
They made scary masks and weapons. On a stormy night, they go back by boats, crossing the river Danube to Mohács, making as much noise as possible.
The Turks were so frightened from the noise , the masks and the storm in the night, that they thought that demons had attacked them, and ran away from the town before sunrise.
The other, less popular legend is that the winter had been scared away.