He defeated McCain in the election on November 4 by a wide electoral majority of 365 to 173 , meaning that he won the most votes in enough states to send 365 people to officially elect him . On November 4 , Obama won the presidency with 365 electoral votes to 173 received by McCain .