Boston City Hall, notoriously considered among the world’s ugliest buildings, has been designated a local historic landmark.