Maryland was won by Democratic nominee Barack Obama by a 25.4% margin of victory. Prior to the election, all 17 news organizations considered this a state Obama would win, or otherwise considered as a safe blue state. Maryland has voted for the Democratic presidential candidate of every election since 1992. In 2008, Obama easily captured the state's 10 electoral votes in a landslide victory, winning 61.92% of the popular vote to Republican John McCain's 36.47%.