 Until 1798 it was the capital of the Herrschaft of Gaster and until 1831 it was the capital of the District.In the War of the Second Coalition, part of the French Revolutionary Wars, it was the site of several battles between the Habsburg forces and the French Revolutionary Army