Helvetic Republic
From 1798 to 1803, it was in the canton of Léman of the Helvetic Republic as district capital.