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
History of Switzerland became cantons with equal rights. Napoleon and his enemies fought numerous campaigns in Switzerland that ruined many localities. The Congress of Vienna of 1814–15 fully reestablished Swiss independence and the European powers agreed to recognize permanent Swiss neutrality. At this time, Valais, Neuchâtel and Geneva also joined Switzerland as new cantons, thereby extending Swiss territory to its current boundaries. The long-term impact of the French Revolution has been assessed as (by William Martin): On 6 April 1814, the so-called "Long Diet" (delegates from all the nineteen cantons) met at Zurich to replace the constitution. Cantonal constitutions were worked out independently