North Dakota was won by Republican nominee John McCain by an 8.7% margin of victory. Prior to the election, most news organizations considered this a state McCain would narrowly win, or otherwise considered to be a red state. In the final weeks of the race, some news organizations considered the race a toss-up. The state has not been won by a Democratic presidential nominee since Lyndon B. Johnson in 1964. Polls showed McCain and Democrat Barack Obama running unusually close in a state that gave George W. Bush a 27.4% margin of victory over John Kerry in 2004. In the end, McCain kept North Dakota in the GOP column but by a much smaller margin than Bush's landslide in 2004.