Following the French invasion of 1798, the decentralized and aristocratic Old Swiss Confederation was replaced with the highly centralized and republican Helvetic Republic.
In July Napoleon withdrew French troops from Switzerland, ostensibly to comply with the Treaty of Amiens, but really to show the Swiss that their best hopes lay in appealing to him.
[2] While this rebellion was quieted through concessions, the following Stecklikrieg, so called because of the Stäckli or "wooden club" carried by the insurgents, led to the collapse of the Republic.
After several hostile clashes with the official forces of the Helvetic Republic, which were lacking both in equipment and motivation (Renggpass at Pilatus on 28 August, artillery attacks on Bern and Zürich during September, and a skirmish at Faoug on 3 October), the central government at first capitulated militarily (on 18 September, retreating from Bern to Lausanne) and then collapsed entirely.
[3] With Napoleon acting as a mediator, representatives of the Swiss cantons met in Paris to end the conflict and officially dissolve the Helvetic Republic.
When the Act of Mediation was produced on 19 February 1803 it attempted to address the issues that had torn the Republic apart and provide a framework for a new confederation under French influence.
The highest body of government was the Tagsatzung or Diet which was held in one of the six vororten (or leading cities, which were: Fribourg, Bern, Solothurn, Basel, Zürich and Lucerne) each year.
In the Diet, six cantons which had a population of more than 100,000 (Bern, Zürich, Vaud, St Gallen, Graubünden and Aargau) were given two votes, the others having but one apiece.
The closing statement of the Act declared that Switzerland was an independent land and directed the new government to protect and defend the country.
The Austrians, supported by the reactionary party in Switzerland, and without any real resistance on the part of the Diet, crossed the border on 21 December 1813.
The Diet remained deadlocked until 12 September when Valais, Neuchâtel and Geneva were raised to full members of the Confederation.