Thun in the past, History of Thun