<P> The popular vote figures exclude Delaware and South Carolina . In both of these states, the Electors were chosen by the state legislatures rather than by popular vote . </P> <Table> <Tr> <Th_colspan="2"> </Th> <Th_colspan="3"> Andrew Jackson Democratic </Th> <Th_colspan="3"> John Quincy Adams National Republican </Th> <Th_colspan="2"> State Total </Th> </Tr> <Tr> <Th> State </Th> <Th> electoral votes </Th> <Th> #</Th> <Th>% </Th> <Th> electoral votes </Th> <Th> #</Th> <Th>% </Th> <Th> electoral votes </Th> <Th> #</Th> <Th> </Th> </Tr> <Tr> <Th> Alabama </Th> <Th> 5 </Th> <Td> 00013618 16,736 </Td> <Td> 89.89 </Td> <Td> 5 </Td> <Td> 00048669 1,878 </Td> <Td> 10.09 </Td> <Td> - </Td> <Td> 18,618 </Td> <Th> AL </Th> </Tr> <Tr> <Th> Connecticut </Th> <Th> 8 </Th> <Td> 4,448 </Td> <Td> 22.95 </Td> <Td> - </Td> <Td> 13,829 </Td> <Td> 71.36 </Td> <Td> 8 </Td> <Td> 19,378 </Td> <Th> CT </Th> </Tr> <Tr> <Th> Delaware </Th> <Th> </Th> <Td_colspan="3"> no popular vote </Td> <Td_colspan="2"> no popular vote </Td> <Td> </Td> <Td> - </Td> <Th> DE </Th> </Tr> <Tr> <Th> Georgia </Th> <Th> 9 </Th> <Td> 19,362 </Td> <Td> 96.79 </Td> <Td> 9 </Td> <Td> 642 </Td> <Td> 3.21 </Td> <Td> - </Td> <Td> 20,004 </Td> <Th> GA </Th> </Tr> <Tr> <Th> Illinois </Th> <Th> </Th> <Td> 9,560 </Td> <Td> 67.22 </Td> <Td> </Td> <Td> 4,662 </Td> <Td> 32.78 </Td> <Td> - </Td> <Td> 14,222 </Td> <Th> IL </Th> </Tr> <Tr> <Th> Indiana </Th> <Th> 5 </Th> <Td> 22,201 </Td> <Td> 56.62 </Td> <Td> 5 </Td> <Td> 17,009 </Td> <Td> 43.38 </Td> <Td> - </Td> <Td> 39,210 </Td> <Th> IN </Th> </Tr> <Tr> <Th> Kentucky </Th> <Th> 14 </Th> <Td> 39,308 </Td> <Td> 55.54 </Td> <Td> 14 </Td> <Td> 31,468 </Td> <Td> 44.46 </Td> <Td> - </Td> <Td> 70,776 </Td> <Th> KY </Th> </Tr> <Tr> <Th> Louisiana </Th> <Th> 5 </Th> <Td> 4,605 </Td> <Td> 53.01 </Td> <Td> 5 </Td> <Td> 4,082 </Td> <Td> 46.99 </Td> <Td> - </Td> <Td> 8,687 </Td> <Th> LA </Th> </Tr> <Tr> <Th> Maine </Th> <Th> 9 </Th> <Td> 13,927 </Td> <Td> 40.03 </Td> <Td> </Td> <Td> 20,773 </Td> <Td> 59.71 </Td> <Td> 8 </Td> <Td> 34,789 </Td> <Th> ME </Th> </Tr> <Tr> <Th> Maryland </Th> <Th> 11 </Th> <Td> 22,782 </Td> <Td> 49.75 </Td> <Td> 5 </Td> <Td> 23,014 </Td> <Td> 50.25 </Td> <Td> 6 </Td> <Td> 45,796 </Td> <Th> MD </Th> </Tr> <Tr> <Th> Massachusetts </Th> <Th> 15 </Th> <Td> 6,012 </Td> <Td> 15.39 </Td> <Td> - </Td> <Td> 29,836 </Td> <Td> 76.36 </Td> <Td> 15 </Td> <Td> 39,074 </Td> <Th> MA </Th> </Tr> <Tr> <Th> Mississippi </Th> <Th> </Th> <Td> 6,763 </Td> <Td> 81.05 </Td> <Td> </Td> <Td> 1,581 </Td> <Td> 18.95 </Td> <Td> - </Td> <Td> 8,344 </Td> <Th> MS </Th> </Tr> <Tr> <Th> Missouri </Th> <Th> </Th> <Td> 8,232 </Td> <Td> 70.64 </Td> <Td> </Td> <Td> 3,422 </Td> <Td> 29.36 </Td> <Td> - </Td> <Td> 11,654 </Td> <Th> MO </Th> </Tr> <Tr> <Th> New Hampshire </Th> <Th> 8 </Th> <Td> 20,212 </Td> <Td> 45.90 </Td> <Td> - </Td> <Td> 23,823 </Td> <Td> 54.10 </Td> <Td> 8 </Td> <Td> 44,035 </Td> <Th> NH </Th> </Tr> <Tr> <Th> New Jersey </Th> <Th> 8 </Th> <Td> 21,809 </Td> <Td> 47.86 </Td> <Td> - </Td> <Td> 23,753 </Td> <Td> 52.12 </Td> <Td> 8 </Td> <Td> 45,570 </Td> <Th> NJ </Th> </Tr> <Tr> <Th> New York </Th> <Th> 36 </Th> <Td> 139,412 </Td> <Td> 51.45 </Td> <Td> 20 </Td> <Td> 131,563 </Td> <Td> 48.55 </Td> <Td> 16 </Td> <Td> 270,975 </Td> <Th> NY </Th> </Tr> <Tr> <Th> North Carolina </Th> <Th> 15 </Th> <Td> 37,814 </Td> <Td> 73.07 </Td> <Td> 15 </Td> <Td> 13,918 </Td> <Td> 26.90 </Td> <Td> - </Td> <Td> 51,747 </Td> <Th> NC </Th> </Tr> <Tr> <Th> Ohio </Th> <Th> 16 </Th> <Td> 67,596 </Td> <Td> 51.60 </Td> <Td> 16 </Td> <Td> 63,453 </Td> <Td> 48.40 </Td> <Td> - </Td> <Td> 131,049 </Td> <Th> OH </Th> </Tr> <Tr> <Th> Pennsylvania </Th> <Th> 28 </Th> <Td> 101,457 </Td> <Td> 66.66 </Td> <Td> 28 </Td> <Td> 50,763 </Td> <Td> 33.34 </Td> <Td> - </Td> <Td> 152,220 </Td> <Th> PA </Th> </Tr> <Tr> <Th> Rhode Island </Th> <Th> </Th> <Td> 820 </Td> <Td> 22.91 </Td> <Td> - </Td> <Td> 2,755 </Td> <Td> 76.96 </Td> <Td> </Td> <Td> 3,580 </Td> <Th> RI </Th> </Tr> <Tr> <Th> South Carolina </Th> <Th> 11 </Th> <Td_colspan="2"> no popular vote </Td> <Td> 11 </Td> <Td_colspan="3"> no popular vote </Td> <Td> - </Td> <Th> SC </Th> </Tr> <Tr> <Th> Tennessee </Th> <Th> 11 </Th> <Td> 44,293 </Td> <Td> 95.19 </Td> <Td> 11 </Td> <Td> 2,240 </Td> <Td> 4.81 </Td> <Td> - </Td> <Td> 46,533 </Td> <Th> TN </Th> </Tr> <Tr> <Th> Vermont </Th> <Th> 7 </Th> <Td> 8,350 </Td> <Td> 25.43 </Td> <Td> - </Td> <Td> 24,363 </Td> <Td> 74.20 </Td> <Td> 7 </Td> <Td> 32,833 </Td> <Th> VT </Th> </Tr> <Tr> <Th> Virginia </Th> <Th> 24 </Th> <Td> 26,854 </Td> <Td> 68.99 </Td> <Td> 24 </Td> <Td> 12,070 </Td> <Td> 31.01 </Td> <Td> - </Td> <Td> 38,924 </Td> <Th> VA </Th> </Tr> <Tr> <Th> TOTALS: </Th> <Th> 261 </Th> <Th> 642,553 </Th> <Th> 55.97 </Th> <Th> 178 </Th> <Th> 500,897 </Th> <Th> 43.63 </Th> <Th> 83 </Th> <Th> 1,148,018 </Th> <Th> US </Th> </Tr> <Tr> <Th> TO WIN: </Th> <Th> 131 </Th> <Th_colspan="15"> </Th> </Tr> </Table> <Tr> <Th_colspan="2"> </Th> <Th_colspan="3"> Andrew Jackson Democratic </Th> <Th_colspan="3"> John Quincy Adams National Republican </Th> <Th_colspan="2"> State Total </Th> </Tr> <Tr> <Th> State </Th> <Th> electoral votes </Th> <Th> #</Th> <Th>% </Th> <Th> electoral votes </Th> <Th> #</Th> <Th>% </Th> <Th> electoral votes </Th> <Th> #</Th> <Th> </Th> </Tr>

Who was the first president to be defeated running for re-election