The old system of government perished in Zürich, as elsewhere in Switzerland, with the French invasion in the spring of 1798, and under the Helvetic constitution the country districts obtained political liberty.