 This position gave him the opportunity of learning the topography, history, laws, and legal relations of the canton.In 1822 he was made official secretary; in 1825 he became a member of the great council of the canton and was appointed chancellor.On account of his knowledge of business he was selected, in 1831, for the position of Landammann, or chief magistrate of the canton, and held the office until 1846.