MIAMI — More Floridians voted for John McCain than Barack Obama on Election Day, but the Democrat sealed his victory in the state by winning more early and absentee votes.

An Associated Press study of 94 percent of the state's total shows that the Republican beat Obama by almost 5 percentage points on Nov. 4, but Obama trumped McCain by 11 percentage points in early and absentee balloting. Overall, Obama beat McCain 51.4 percent to 48.6 percent in Florida, becoming only the third Democrat in 11 presidential elections to carry the state.

The results reflect the Obama campaign's heavy emphasis on early voting in critical states such as Florida, which had the most electoral votes of any swing state — 27 — and decided the presidency for George W. Bush in 2000.

The AP analyzed election results reported by 55 Florida counties, separating the absentee and early ballots from the votes cast on Election Day.

More than 2.6 million of Florida's 11.2 million registered voters cast their ballots in the early period between Oct. 20 and Nov. 2. Florida's total turnout for the presidential election was 8.4 million voters; it was not yet clear how many voters mailed in their ballots.