the written history of the town goes back to at least the ninth century