Flags and arms of cantons of Switzerland there is overlap; Unterwalden and Solothurn share the same colours, as do Basel and Appenzell, and with the accession of the modern cantons, Valais and Basel-City, and St. Gallen and Thurgau. Of the 26 cantons since 1999 (22 cantons in 1848, accession of Jura in 1979, three half-cantons designated "canton" in 1999): Distinctively, Swiss cantons use square flags. Historically, the number of cantons was: Nidwalden and Obwalden form traditional subdivisions of Unterwalden. Basel-Stadt and Basel-Landschaft, as well as Appenzell Inner- and Ausserrhoden, are half cantons, resulting from the division of Basel and Appenzell, respectively. The Swiss Federal Constitution of 1999
Switzerland in the Napoleonic era cantons with equal rights. The Congress of Vienna of 1815 fully re-established Swiss independence and the European powers agreed to permanently recognise Swiss neutrality. At this time, the territory of Switzerland was increased for the last time, by the new cantons of Valais, Neuchâtel and Geneva. The Restoration, the time leading up to the "Sonderbundskrieg", was marked with turmoil, and the rural population struggling against the yoke of the urban centres, for example in the Züriputsch of 1839. During the last years of the Ancien Régime, the growing conflicts throughout the Confederation (aristocratic cities against peasant farmers, Protestant against Catholic,