Election in which de Blasio was elected mayor of New York City; he won the Democratic primary and general election.