Gersau is a municipality and district in the canton of Schwyz in Switzerland, sitting on the shores of Lake Lucerne. Gersau was for many centuries an independent micro-state in permanent alliance with the Swiss Confederation. Gersau is first mentioned in 1064 as Gersouwe. The estates of Gersau gradually came into the hands of the Habsburgs, but in 1333, under dukes Albert II and Otto IV the Merry of Austria, the jurisdiction and rights over Gersau fell into the hands of Lucerne nobility. On 1359, Gersau allied with the Old Swiss Confederacy as a protectorate of the Confederacy, for its protection and to gain arms from the confederates. On 9 July 1386, the citizens of Gersau fought with the Swiss for the first time, on the battlefield of Sempach, where the banner of Count Rudolf of Hohenzollern was captured. Republic of Gersau The Republic of Gersau (called "altfrye Republik Gersau", literal "old-free Republik Gersau", in early modern times) was an independent small state in the area of today's Canton of Schwyz in Switzerland. It was created in 1390 when the residents of the village of Gersau bought themselves free from the rule by bailiffs from Lucerne and from then on exercised their rights themselves. In 1433 they were officially granted the status of a direct imperial free state in the Holy Roman Empire by Emperor Sigismund. After that, Gersau took care of its internal affairs for over three and a half centuries. Within the Confederation, the republic was a place that turned towards it and was under the protection and patronage of the four forest sites (Luzern, Schwyz, Uri and Unterwalden). With the French invasion of 1798, the republic fell and was assigned to the canton of Waldstätten during the time of the Helvetic Republic. The mediation constitution decreed by Napoleon Bonaparte attached the village to the canton of Schwyz. After the end of Napoleon's rule, the inhabitants again proclaimed the Republic of Gersau in 1814, which was recognized by the old umbrella towns.