The Bundeslied ("Song of the Confederacy") or Tellenlied ("Song of Tell") is a patriotic song of the Old Swiss Confederacy. Its original composition dates to the Burgundian Wars period (1470s). The oldest extant manuscript text was written in 1501, the first publication in print dates to 1545. It consists of stanzas of six lines each, with a rhyming scheme of A-A-B-C-C-B. It is one of the oldest existing records of the legend of Swiss national hero William Tell.
It is also known as Altes Tellenlied "Old Song of Tell", in order to distinguish it from later compositions known as Tellenlied, such as that by Hieronymus Muheim (1613) or that by Johann Caspar Lavater (1767), and as Lied von der Entstehung der Eidgenossenschaft "Song of the Origin of the Confederacy".
The song in its extant form was composed in several stages during the later 15th century. Since it ends with the death of Charles the Bold, it cannot have been completed before 1477. But since stanza 21 names the duchy of Milan as in league with the Confederacy, that portion was likely written earlier, in 1474 or 1475, as duke Galeazzo Maria Sforza also entered a pact with Burgundy in 1475, lending it military support against the Swiss, much to the discontent of the Confederacy, so that a Swiss poet writing in 1477 would probably not have mentioned Milan as an ally. The earliest part of the poem was probably just stanzas 1 to 13 (the Tell legend), to which the remaining text was added as the Burgundy War unfolded.
The earliest record of the poem is in a manuscript written by Ludwig Sterner in 1501, where it has the title von der eidgenossen pundt "of the pact of the confederates". The text was printed for the first time in 1545 by Augustin Fries under the title of Ein hüpsch lied vom ursprung der Eydgnoschaft und dem ersten Eydgnossen Wilhelm Thell genannt, ouch von dem bundt mit sampt einer Eydgnoschafft wider hertzog Karle von Burgund, und wie er erschlagen ist worden. A later edition was printed by Johann Schröter in 1623.
Although Max Wehrli, the last editor of the text supposes that this song was composed in the canton of Uri (Uri being mentioned explicitly in stanza 2 as the site of Tell's apple-shot and the place of origin of the Confederacy), the geographical origin of this early William Tell song is still a matter of debate.