Republican John McCain no relation United States of America
The 2008 United States presidential election in Nebraska took place on November 4, 2008, as part of the 2008 United States presidential election. Voters chose five electors to the Electoral College, who voted for president and vice president. However, Nebraska is one of the two states of the U.S. that, instead of giving all of its electors to the winner based on its statewide results, allocates just two electoral votes to the winner of the statewide popular vote. The other three electors vote based on their individual congressional district results.
Nebraska, statewide, was not a swing state in 2008. Located in the Great Plains of the United States, it is one of the most staunchly Republican states in the country. While some hypothetical general election match-up polls between Republican John McCain and Democrat Barack Obama showed the race to be seemingly close, they were largely regarded as outliers as more polls released showed McCain leading in double digits. McCain wound up carrying the popular vote in Nebraska by 14.93 points, taking in 56.53% of the total statewide vote. However, Obama narrowly defeated McCain in Nebraska's 2nd congressional district, which contains Omaha and the surrounding areas. 
Due to Nebraska's system of allocating electoral votes to winners of Congressional Districts, Obama was able to win one electoral vote while John McCain received the state's other four electoral votes. On top of this, his 41.6% of the statewide popular vote is the highest a Democratic presidential candidate has won in the Cornhusker State since Lyndon B. Johnson carried the state in his 1964 landslide. This was the first election ever that Nebraska split its electoral votes, and the first since 1964 that a Democrat won an electoral vote from the state. 
2008 was the first presidential election ever where Nebraska voted to the left of Arkansas. As of 2020, this remains the last time that a Democrat has won more than 40% of the vote in Nebraska.
no relation