Obama ( D-Ill . ) won 53.6 percent of the Loudoun vote , compared with 45.5 percent for Republican Sen. John McCain ( Ariz . ) , very close to their share of the state vote , according to unofficial results .