The historic town's 'energy, creativity and community' were highlighted as key factors behind its selection.