The city was first called "Wangun" in the year of 815. During the Middle Ages, the city growed a lot thanks to its location near many Alpine cities. The extra money that the city earned from its trade helped expand its borders.