<page_title> 2008 United States presidential election in Maryland </page_title> <section_title> Results </section_title> <table> <cell> Barack Obama <col_header> United States presidential election in Maryland, 2008 </col_header> <col_header> Candidate </col_header> <row_header>  </row_header> </cell> <cell> 61.92% <col_header> United States presidential election in Maryland, 2008 </col_header> <col_header> Percentage </col_header> <row_header>  </row_header> </cell> <cell> 10 <col_header> United States presidential election in Maryland, 2008 </col_header> <col_header> Electoral votes </col_header> <row_header>  </row_header> </cell> <cell> Republican <col_header> United States presidential election in Maryland, 2008 </col_header> <col_header> Party </col_header> <row_header>  </row_header> </cell> <cell> John McCain <col_header> United States presidential election in Maryland, 2008 </col_header> <col_header> Candidate </col_header> <row_header>  </row_header> </cell> <cell> 36.47% <col_header> United States presidential election in Maryland, 2008 </col_header> <col_header> Percentage </col_header> <row_header>  </row_header> </cell> </table>
In 2008, Obama captured the state's 10 electoral votes, winning 61.92% of the popular vote to Republican John McCain's 36.47%.