historic town with castle and river