Hoorn was officially granted city rights in 1357, but it had been a settlement long before that.