<Table> New York City mayoral election, 2017 <Tr> <Th_colspan="2"> </Th> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Td> ← 2013 </Td> <Td> November 7, 2017 </Td> <Td> 2021 → </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Td> </Td> <Td> </Td> <Td> </Td> </Tr> <Tr> <Th> Nominee </Th> <Td> Bill de Blasio </Td> <Td> Nicole Malliotakis </Td> <Td> </Td> </Tr> <Tr> <Th> Party </Th> <Td> Democratic </Td> <Td> Republican </Td> </Tr> <Tr> <Th> Alliance </Th> <Td> Working Families </Td> <Td> Conservative (N.Y.) </Td> </Tr> <Tr> <Th> Popular vote </Th> <Td> 726,361 </Td> <Td> 303,742 </Td> </Tr> <Tr> <Th> Percentage </Th> <Td> 66.5% </Td> <Td> 27.8% </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td_colspan="2"> Results by Borough <Table> <Tr> <Td> <P> De Blasio </P> 70 - 80% 60 - 70% </Td> <Td> <P> Malliotakis </P> 70 - 80% </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Td> Mayor before election <P> Bill de Blasio Democratic </P> </Td> <Td> Elected Mayor <P> Bill de Blasio Democratic </P> </Td> </Tr> </Table> </Td> </Tr> </Table> <Tr> <Td_colspan="2"> <Table> <Tr> <Td> ← 2013 </Td> <Td> November 7, 2017 </Td> <Td> 2021 → </Td> </Tr> </Table> </Td> </Tr>

Who is running for mayor in new york city