The Old Swiss Confederacy was the precursor of modern-day Switzerland. The Swiss Eidgenossenschaft, as the Confederacy was called, was a loose federation of largely independent small states called cantons that existed from the late 13th century until 1798, when it was invaded by the French Republic, who transformed it into the short-lived Helvetic Republic.
The nucleus of the Old Swiss Confederacy was an alliance between the communities of the valleys in the Central Alps 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 Federal Charter of 1291 among the rural communes of Uri, Schwyz, and Unterwalden is traditionally considered the founding document of the confederacy, although similar alliances may have already existed a few decades earlier.
This initial pact was gradually augmented with additional pacts with the cities of Lucerne, Zürich, and Berne. This rare union of rural and urban communes, all of which had the status of imperial immediacy within the Holy Roman Empire, was caused by them all being under pressure by the Habsburg dukes and kings, who once had ruled much of these lands. In several battles against Habsburg armies, the Swiss remained victorious and even conquered the rural areas of Glarus and Zug, which became independent members of the confederacy, too.
From 1353 to 1481, this federation of eight cantons, known in German as the Acht Orte (Eight Places), consolidated its position. The individual members, especially the cities, enlarged their territories at the cost of the local counts in the neighbourhood, mostly by buying the judicial rights, but sometimes also by force. The Eidgenossenschaft as a whole expanded through military conquests. The Aargau was conquered in 1415, the Thurgau in 1460. Both times, the Swiss profited from a weakness of the Habsburg dukes. In the south, Uri led a military territorial expansion that would—after many setbacks—by 1515 lead to the conquest of the Ticino.
None of these territories became members of the confederacy, though; instead, they had a status as condominiums, regions administered commonly by several cantons.
At the same time, the eight cantons gradually increased their influence on neighbouring cities and regions through additional alliances. Not the Eidgenossenschaft as a whole, but several (or only one) individual cantons concluded pacts with Fribourg, Appenzell, Schaffhausen, the abbot and the city of St. Gallen, Biel, Rottweil, Mulhouse, and others. These allies, called the Zugewandte Orte, became closely associated to the confederacy, but were not accepted as full members.
The Burgundy Wars prompted a further enlargement of the union with new members. Fribourg and Solothurn were accepted into the confederacy in 1481. In the Swabian War against emperor Maximilian I, Holy Roman Emperor, the Swiss again remained victorious and were exempted from the imperial legislation. The previously associated cities of Basel and Schaffhausen joined the confederacy as a direct result of that conflict. Appenzell followed in 1513 as the 13th member. This federation of thirteen cantons (Dreizehn Orte) constituted the Old Swiss Confederacy until its demise in 1798.
The military expansion of the confederacy was stopped by the loss of the Swiss in the battle of Marignano in 1515. Only Berne and Fribourg were still able to conquer the Vaud in 1536, which mostly became part of the canton of Berne, with only a small part coming under the rule of Fribourg.
The confessional division led to civil war — the wars of Kappel — and separate alliances with foreign powers of the Catholic and Protestant factions, but the confederacy as a whole continued to exist. A common foreign policy was blocked, though, by the stand-off of the two equally strong camps. In the Thirty Years' War, the deep religious disagreements among the cantons kept the confederacy neutral and spared it from all belligerent devastations. At the Peace of Westphalia, the Swiss delegation was granted formal recognition of the confederacy as an independent state, separate from the Holy Roman Empire.
Growing social differences and an increasing absolutism in the city cantons during the Ancien Régime of Switzerland led to various local popular revolts. Only the uprising in 1653 during the post-war depression after the Thirty Years' War escalated to the general Swiss peasant war in the territories of Lucerne, Berne, Basel, Solothurn, and in the Aargau. The revolt was put down by force with the help of the other cantons.
The religious differences were increasingly accentuated by an ever-growing economic discrepancy. The Catholic and predominantly rural central Swiss cantons were surrounded by Protestant cantons with a flourishing economy that slowly became industrialised. The politically dominant cantons were Zürich and Berne, both Protestant, but in the common agencies of the confederation, the Catholic cantons had the upper hand since the second war of Kappel in 1531. An attempt in 1655, led by Zürich, to restructure the federation was blocked by a Catholic opposition, which led to the first war of Villmergen in 1656, which the Catholic party won, cementing the status quo. But the problems remained unsolved and erupted again in 1712 in the second war of Villmergen. This time, the Protestant cantons won, and thenceforth dominated the federation. A true reform, however, was not possible: the individual interests of the thirteen members were too diverse and the absolutist cantonal governments resisted all attempts at centralisation or at introducing a federation-wide administration or a modern bureaucracy. The foreign politics remained fragmented.
In 1798, the confederacy was invaded by the troops of Napoleon I. It succumbed with only insignificant resistance against the French armies. The Ancien Régime and the Old Swiss Confederacy were replaced by the Helvetic Republic by grace of Napoleon.
Initially, the Eidgenossenschaft was not united by one single pact, but rather by a whole set of overlapping pacts and separate bilateral treaties between various members, with only minimum liabilities. The parties generally agreed to preserve the peace in their territories, help each other in military endeavours, and defined some arbitration in case of disputes. Only slowly did the members begin to understand the federation itself as a unifying entity. In the Pfaffenbrief, a treaty of 1370 among six of the eight members (Glarus and Berne did not participate) that forbade feuds and that denied clerical courts any jurisdiction over the confederacy, the cantons referred for the first time to themselves using the singular term Eidgenossenschaft. The first treaty uniting all of the then eight members of the confederacy became the Sempacherbrief of 1393. This treaty was concluded after the important victories over the Habsburgs at Sempach and Näfels (1386 and 1388) and declared that no member was to unilaterally begin a war without the consent of the other cantons. Subsequently, a kind of federal diet, the Tagsatzung, developed in the 15th century.
Other pacts and renewals or modernizations of earlier alliances between some of the members reinforced the confederacy. Yet the individual interests of the cantons clashed in the Old Zürich War (1436 – 1450), which was caused by a territorial conflict among Zürich and the central Swiss cantons over the succession of the Count of Toggenburg. Zürich even entered an alliance with the Habsburg dukes, but finally re-joined the confederacy. The confederation had grown into a political alliance so close that it no longer tolerated separatist tendencies of its members.
The Tagsatzung served as the council of the confederation and typically met several times a year. Each canton delegated two representatives; including the associate states, who, however, had no vote. Initially, the canton where the delegates met chaired the gathering, but in the 16th century, Zürich permanently assumed the chair (Vorort), and Baden became the sessional seat. The Tagsatzung dealt with all inter-cantonal affairs and also served as the final arbitral court to settle disputes between member states, or to decide on sanctions against dissenting members. It also organized and oversaw the administration of the condominiums; the reeves were delegated for two years, each time by a different canton.
An important unifying treaty of the Old Swiss Confederacy was the Stanser Verkommnis of 1481. Conflicts between the rural and the urban cantons and disagreements about the repartition of the bounty of the Burgundian Wars had led to several skirmishes. The city states of Fribourg and Solothurn wanted to join the confederacy, but were met with distrust by the central Swiss rural cantons. The compromise of the Tagsatzung in the Stanser Verkommnis restored order and accounted for the rural cantons' complaints; Fribourg and Solothurn were accepted into the federation. While the treaty also restricted the freedom of assembly (many skirmishes were caused by unauthorised expeditions of groups of soldiers from the Burgundian Wars), it also reinforced the agreements amongst the cantons of the earlier Sempacherbrief and Pfaffenbrief.
The civil war during the Reformation brought about a stalemate. The victorious Catholic cantons could block any decisions of the council, but due to their geographic and economic situation could not overcome the Protestant cantons. Both factions began to hold separate councils, but still met at a common Tagsatzung, even though this common council remained effectively blocked by the disagreements of the two factions until 1712, when the Protestant cantons reversed the situation after their victory in the second war of Villmergen. The Catholic cantons were excluded from the administration of the condominiums in the Aargau, the Thurgau, and the Rhine valley; in their place, Berne became a co-sovereign of these regions.
Two federations were known as Ewige Mitverbündete:
Sieben Zenden, an independent federation in the Valais — Became a Zugewandter Ort in 1416 through an alliance with Uri, Unterwalden and Lucerne, followed by a treaty with Berne in 1446.
Three Leagues were independent federations on the territory of the Grisons and became an associates of the Old Swiss Confederacy in 1497/98 through the events of the Swabian War. The Three Leagues together concluded an alliance pact with Berne in 1602.
Grey League, who had been allied with Glarus, Uri and Obwalden through pacts from 1400, 1407 and 1419, entered an alliance with seven of the old eight cantons (the Acht Orte without Berne) in 1497
Imperial City of Mulhouse — Concluded a first treaty with some cantons in 1466 and became an associate in 1515 through a treaty with all 13 members of the Confederacy, remaining so until events of the French Revolutionary Wars in 1797.
Imperial City of Geneva — 1536 treaty with Berne and a 1584 treaty with Zürich and Berne.
Stein am Rhein — from 1459 by treaty with Zürich and Schaffhausen; annexed by Zürich in 1484.
County of Gruyère — had been allied with Fribourg and Berne since the early 14th century, becoming a full associate of the Confederation in 1548. When the counts fell bankrupt in 1555, the country was partitioned in twain:
Lower Gruyère — from 1475 by treaty with Fribourg
Upper Gruyère — from 1403 by treaty with Berne; annexed by Berne in 1555:
Imperial City of Rottweil — from 1519–1632 through a treaty with all 13 members; a first treaty on military cooperation had already been concluded in 1463. In 1632, the treaty was renewed with Lucerne, Uri, Schwyz, Unterwalden, Zug, Solothurn and Fribourg.
Bishopric of Basel — 1579–1735 by treaty with Lucerne, Uri, Schwyz, Unterwalden, Zug, Solothurn and Fribourg.
Condominiums (German: Gemeine Herrschaften) were common subject territories under the administration of several cantons. They were governed by reeves delegated for two years, each time from another of the responsible cantons. Berne initially did not participate in the administration of some of the eastern condominiums, as it had no part in their conquest and its interests were focused more on the western border. In 1712, Berne replaced the Catholic cantons in the administration of the Freie Ämter ("Free Districts"), the Thurgau, the Rhine valley, and Sargans, and furthermore the Catholic cantons were excluded from the administration of the County of Baden.
Several Vogteien were generally referred to as the Bailiwicks beyond the Mountains — German: Ennetbergische Vogteien, Italian: Baliaggi Ultramontani. In 1440, Uri conquered the Leventina Valley from the Visconti, dukes of Milan. Some of this territory had previously been annexed between 1403 and 1422. Further territories were acquired in 1500; see History of Ticino for further details.
Three bailiwicks, all now in the Ticino, were condominiums of the Forest cantons of Uri, Schwyz and Nidwalden: