Town with a valuable older part of the town founded in the early 13th century as a settlement near the castle