In the 2012 presidential election, Democrat Barack Obama received 50.0% of the vote (1,702 cast), ahead of Republican Mitt Romney with 48.2% (1,641 votes), and other candidates with 1.7% (59 votes), among the 3,449 ballots cast by the borough's 5,449 registered voters (47 ballots were spoiled), for a turnout of 63.3%. In the 2008 presidential election, Republican John McCain received 1,928 votes (50.7% vs. 46.1% countywide), ahead of Democrat Barack Obama with 1,746 votes (45.9% vs. 52.1%) and other candidates with 72 votes (1.9% vs. 1.1%), among the 3,802 ballots cast by the borough's 5,129 registered voters, for a turnout of 74.1% (vs. 78.7% in Somerset County). In the 2004 presidential election, Republican George W. Bush received 1,998 votes (52.4% vs. 51.5% countywide), ahead of Democrat John Kerry with 1,741 votes (45.7% vs. 47.2%) and other candidates with 53 votes (1.4% vs. 0.9%), among the 3,812 ballots cast by the borough's 4,881 registered voters, for a turnout of 78.1% (vs. 81.7% in the whole county).