Boston City Hall, notorious for being among the world’s ugliest buildings, has been designated a local historic landmark.