In 1291 the three forest cantons - Uri, Schwyz and Unterwalden - swore their perpetual league (the Rutli oath), at first a self-defense union of communes within the Holy Roman Empire against the Habsburgs. At Sempach (1386) the mountain pikemen broke the Habsburg knights; the league grew to eight cantons, then thirteen, and its mercenaries became the troops all Europe bid for. After the defeat at Marignano (1515) it drew back into armed neutrality; through the Reformation Protestant and Catholic cantons stood together under the loose confederation. The Peace of Westphalia (1648) confirmed its independence of the Empire; the Congress of Vienna (1815) confirmed its permanent neutrality, and for two centuries since it has stood apart from Europe's wars. The confederacy continues today; its band is drawn to the canvas end at 1912.
Editorial note on dating The Ruetli oath three-canton alliance of 1291 grew inside the Holy Roman Empire; victory over the Habsburgs at Sempach (1386); armed neutrality from 1515, independence confirmed at Westphalia (1648) and permanent neutrality in 1815; ongoing, band drawn to the canvas end.