<page_title> 2008 United States presidential election in Massachusetts </page_title> <section_title> Results </section_title> <table> <cell> Barack Obama <col_header> United States presidential election in Massachusetts, 2008 </col_header> <col_header> Candidate </col_header> <row_header>  </row_header> </cell> <cell> 61.80% <col_header> United States presidential election in Massachusetts, 2008 </col_header> <col_header> Percentage </col_header> <row_header>  </row_header> </cell> <cell> 12 <col_header> United States presidential election in Massachusetts, 2008 </col_header> <col_header> Electoral votes </col_header> <row_header>  </row_header> </cell> <cell> John McCain <col_header> United States presidential election in Massachusetts, 2008 </col_header> <col_header> Candidate </col_header> <row_header>  </row_header> </cell> <cell> 35.99% <col_header> United States presidential election in Massachusetts, 2008 </col_header> <col_header> Percentage </col_header> <row_header>  </row_header> </cell> </table>
Barack Obama won Massachusetts's 12 electoral votes with 61.80% of the vote to John McCain's 35.99%.