Where did Kipferl orginate ?
The legends include tales that it was invented in Europe to celebrate the defeat of the Umayyad forces at the Battle of Tours by the Franks in 732 , with the shape representing the Islamic crescent ; that it was invented in Buda , or , according to other sources in Vienna in 1683 to celebrate the defeat of the Ottomans by Christian forces in the siege of the city , as a reference to the crescents on the Ottoman flags , when bakers staying up all night heard the tunneling operation and gave the alarm .