Founded by Hungarians in times of great migration, this town received its title in 1466. Almost the entire city succumbed to fire in 1702.