The 16th century town of Kecskemét, which is subjected to harassment by both the Turks and the Kuruc, wants a bey from the Pasha of Buda in exchange for four beautiful girls, but he only gets one robe. They did well though: all the faithful fall on their knees before the magical caftan, and it fulfills the wish of its wearer.