Helvetic Republic
Under the Helvetic Republic (1798–1803), it was the district capital.