The work was composed after Diabelli, a well-known music publisher and composer, in the early part of 1819 sent a waltz of his creation to all the important composers of the Austrian Empire, including Franz Schubert, Carl Czerny, Johann Nepomuk Hummel, and the Archduke Rudolph, asking each of them to write a variation on it. His plan was to publish all the variations in a patriotic volume called "Vaterländischer Künstlerverein", and to use the profits to benefit orphans and widows of the Napoleonic Wars. Franz Liszt was not included, but it seems his teacher Czerny arranged for him to also provide a variation, which he composed at the age of 11.