John McCain was the senior United States senator from Arizona from 1987 until his death in 2018 and was the 2008 Republican nominee for President of the United States; however, he lost the election to Senator Barack Obama of Illinois. McCain was involved in many elections on local, statewide and nationwide stage since his first election to the United States House of Representatives in 1982.