medieval towns with unique history