One legend is that the "croissant" was invented in Vienna, either in 1683 or during the earlier siege in 1529, to celebrate the defeat of the Ottoman attack on the city, with the shape referring to the crescents on the Ottoman flags. This version of the origin of the croissant is supported by the fact that croissants in France are a variant of "Viennoiserie", and by the French popular belief that Vienna-born Marie Antoinette introduced the pastry to France in 1770.