Growth of the Old Swiss Confederacy
The Old Swiss Confederacy began as a late medieval alliance between the communities of the valleys in the Central Alps, at the time part of the Holy Roman Empire, to facilitate the management of common interests such as free trade and to ensure the peace along the important trade routes through the mountains.
The Hohenstaufen emperors had granted these valleys reichsfrei status in the early 13th century. As reichsfrei regions, the cantons of Uri, Schwyz, and Unterwalden were under the direct authority of the emperor without any intermediate liege lords and thus were largely autonomous.
With the rise of the Habsburg dynasty, the kings and dukes of Habsburg sought to extend their influence over this region and to bring it under their rule; as a consequence, a conflict ensued between the Habsburgs and these mountain communities who tried to defend their privileged status as reichsfrei regions. The three founding cantons of the Schweizerische Eidgenossenschaft, as the confederacy was called, were joined in the early 14th century by the city states of Lucerne, Zürich, and Bern, and they managed to defeat Habsburg armies on several occasions. They also profited from the fact that the emperors of the Holy Roman Empire, for most of the 14th century, came from the House of Luxembourg and regarded them as potential useful allies against the rival Habsburgs.
By 1460, the confederates controlled most of the territory south and west of the Rhine to the Alps and the Jura mountains. At the end of the 15th century, two wars resulted in an expansion to thirteen cantons : in the Burgundian Wars of the 1470s, the confederates asserted their hegemony on the western border, and their victory in the Swabian War in 1499 against the forces of the Habsburg emperor Maximilian I ensured a de facto independence from the empire. During their involvement in the Italian Wars, the Swiss brought the Ticino under their control.
Two similar federations sprang up in neighboring areas in the Alps in the 14th century: in the Grisons, the federation of the Three Leagues was founded, and in the Valais, the Seven Tithings were formed as a result of the conflicts with the Dukes of Savoy. Neither federation was part of the medieval Eidgenossenschaft but both maintained very close connections with it.
Image:1550 illustration for the 1393 Sempacherbrief.jpeg|thumb|upright|1550 illustration for the Sempacherbrief of 1393, one of the major alliance contracts of the Old Swiss Confederacy
Territorial development
Under the Hohenstaufen dynasty of the Holy Roman Empire, the three regions of Uri, Schwyz and Unterwalden had gained Imperial immediacy, the first two because the emperors wanted to place the strategically important St. Gotthard Pass under their direct control, the latter because most of its territory belonged to immediate monasteries. The cities of Bern and Zürich had also become immediate when the dynasty of their patrons, the Zähringer, had died out.When Rudolph I of Habsburg was elected "King of the Germans" in 1273, he also became the direct liege lord of these reichsfrei regions. He instituted a strict rule and raised the taxes to finance wars and further territorial acquisitions. When he died in 1291, his son Albert I got involved in a power struggle with Adolf of Nassau for the German throne, and the Habsburg rule over the alpine territories weakened temporarily. Anti-Habsburg insurgences sprang up in Swabia and Austria, but were quashed quickly by Albert in 1292. Zürich had participated in this uprising. Albert besieged the city, which had to accept him as its patron.
This time of turmoil prompted the Waldstätten to cooperate more closely, trying to preserve or regain their immediacy. The first alliance started in 1291 when Rudolph bought all the rights over the town of Lucerne and the abbey estates in Unterwalden from Murbach Abbey in Alsace. The Waldstätten saw their trade route over Lake Lucerne cut off and feared losing their independence. When Rudolph died on July 15, 1291, the Communities prepared to defend themselves. On August 1, 1291, an Everlasting League was made between the Forest Communities for mutual defense against a common enemy. Uri and Schwyz got their status reconfirmed by Adolf of Nassau in 1297, but to no avail, for Albert finally won the power struggle and became King of Germany in 1298 after Adolf was killed in the Battle of Göllheim.
Nucleus
The Federal Charter of 1291 is one of the oldest surviving written documents of an alliance between Uri, Schwyz, and Unterwalden, the founding cantons of the Old Swiss Confederacy. It is possible that it was written a few decades later than the given date of 1291, which would put it in the same date range as the pact of Brunnen of 1315. The traditional date given for the foundation of the Swiss Confederacy in Swiss historiography of the 16th century is 1307.King Rudolf I died in 1291, and 1307 falls into the reign of King Albert I, both members of the House of Habsburg ruling in a time of political instability, when the Holy Roman Empire had been without an emperor for several decades. The politically weak kings of this period had to make frequent concessions to their subjects and vassals in order to remain in power. The founding cantons received confirmations of the Freibriefe establishing their immediate status. Even Unterwalden was finally properly granted this status by Albert's successor Henry VII in 1309. This did not prevent the dukes of Habsburg, who originally had their homelands in the Aargau, from trying to reassert their sovereignty over the territories south of the Rhine.
In the struggle for the crown of the Holy Roman Empire in 1314 between duke Frederick I of Austria and the Bavarian king Louis IV, the Waldstätten sided with Louis for fear of the Habsburgs trying to annex their counties again, like Rudolph I had done. When a long-simmering conflict between Schwyz and the abbey of Einsiedeln escalated once more, the Habsburgs responded by sending a strong army of knights against these peasants to subdue their insurrection, but the Austrian army of Frederick's brother Leopold I was utterly defeated in the Battle of Morgarten in 1315.
The three cantons renewed their alliance in the pact of Brunnen, and Louis IV reconfirmed their Imperial immediacy.
The Swiss chronicles of the Burgundy Wars period refer to a rebellion against the local bailiffs, with a coordinated destruction of their forts or castles, known as the Burgenbruch in Swiss historiography. The earliest reference for this is the White Book of Sarnen, which records that
The text names Zwing Uri at Amsteg as the first castle slighted, followed by castle Schwandau in Schwyz, Rötzberg in Stans, and finally the castle at Sarnen, the storming of which is told in a graphic manner.
The Burgenbruch was long seen as historical, substantiated by the numerous ruined castles in Central Switzerland, but archaeological excavations have shown that these castles were abandoned gradually, not during a sudden uprising, during the period of roughly 1200 to 1350. By the 1970s, the "demythologization" of the foundational period of the Confederacy was at its peak, and the default view was to regard the reports of the late-15th-century chronists as essentially legendary. Since the late 1970s, systematic surveys of medieval castles in Central Switzerland have shown that a number of castles were indeed destroyed during the early 14th century, so that a possible historical nucleus of the Burgenbruch accounts may be granted, even though the destruction of these forts in itself was of limited military import and could not have resulted in a lasting political change.
Expansion to the
Subsequently, the three communities followed a slow policy of expansion. Uri entered a pact with the previously Habsburg valley of Urseren in 1317. In 1332, the city of Lucerne, trying to achieve immediacy from the Habsburgs, joined the alliance. In 1351, these four communities were joined by the city of Zürich, where a strong citizenship had gained power following the installation of the Zunftordnung and the banning of the noble authorities in 1336. The city also sought support against the Habsburg city of Rapperswil, which had tried to overthrow mayor Rudolf Brun in Zürich in 1350. With the help of its new allies, Zürich was able to withstand the siege of duke Albert II of Austria, and the confederates even conquered the city of Zug and the valley of Glarus in 1352. They had to return both Glarus and Zug to the Habsburgs in the peace treaty of Regensburg in 1356; emperor Charles IV in return recognized the guild government of Zürich and confirmed its immediate status in spite of his having forbidden any confederations within the empire in his Golden Bull issued in January of that same year.Image:Battle of Laupen.jpg|thumb|upright|Illustration from the late fifteenth century of the Battle of Laupen. The confederate forces are on the right.
The confederacy had signed "perpetual" pacts with both Glarus and Zug in 1352, and thus, even if these pacts apparently were disregarded only a few years later. This date is often considered the entry of these two cantons into the confederation despite their remaining under Habsburg rule for a few more years.
In the west, the Vier Waldstätten had already formed an alliance with the city of Bern in 1323, and even sent a detachment to help the Bernese forces in their territorial expansion against the dukes of Savoy and the Habsburgs in the Battle of Laupen in 1339. In 1353, Bern entered an "eternal" alliance with the confederation, completing the "Confederacy of the Eight Cantons".
This alliance of the Eight Cantons was not a homogeneous state but rather a conglomerate of eight independent cities and lands, held together not by one single pact but by a net of six different "eternal" pacts, none of which included all eight parties as signatories. Only the three Waldstätten Uri, Schwyz, and Unterwalden were part of all these treaties. All eight parties would still pursue their own particular interests, most notably in the cases of the strong cities of Zürich and Bern. Zürich was also part of an alliance of cities around Lake Constance which also included Konstanz, Lindau and Schaffhausen and for some time included cities as far away as Rottweil or Ulm, and Bern followed its own hegemonial politics, participating successively in various alliances with other cities including Fribourg, Murten, Biel or Solothurn. This Bernese "Burgundian Confederation" was a more volatile construct of varying alliances, and in the Battle of Laupen, Fribourg even sided against Bern. Bern's position after that battle was strong enough that such alliances often ended with the other party becoming a Bernese dependency, as happened with e.g. Burgdorf or Payerne.
An external threat during this time arose in the form of the Guglers, marauding mercenary knights from France who were beaten back under the leadership of Bern in December 1375.