Mayors of New York are almost automatically national figures.