WASHINGTON - Barack Obama, who rewrote the book on presidential fund-raising, amassed more than $745 million during his marathon campaign, more than twice the amount obtained by his rival, Republican John McCain.

In his latest finance report, Obama reported raising $104 million in more than five weeks immediately before and after Election Day. It was his second biggest fund-raising period and a fitting coda to a successful presidential bid that shattered fund-raising records.

Obama far exceeded the combined finances of the two major parties' nominees four years ago. George W. Bush and John Kerry together pulled in $653 million in the 2004 primary and general election campaigns, including federal public financing money.

Obama's prowess at attracting money, one of the many characteristics that defined his campaign, could well spell the end of a 30-year experiment in public financing of presidential contests.

After initially vowing to take public funds if McCain did, Obama became the first presidential candidate since the campaign finance reforms of the 1970s to raise private donations during the general election.

The final numbers underscore how pivotal the two candidates' strategies were for funding their general election campaigns: McCain accepted $84 million in taxpayer money through the public financing system; Obama gambled that he could raise far more from private money.

The two campaigns spent identical amounts in June, $25.6 million each. But from there the numbers diverged widely in September and October when the Obama financial juggernaut swamped McCain. By the end, the Democrat was outspending his rival, 4-1.

McCain relied heavily on the Republican National Committee to help narrow the financial discrepancy. But even with the party resources, Obama had a vast money advantage.

Obama's campaign said nearly four million donors contributed.

But while Obama has made much of his large number of donors, the nonpartisan Campaign Finance Institute found that Obama collected about 26 percent of his total haul from people who gave less than $200 - about the same as President George W. Bush in his 2004 campaign.

And like other campaigns, Obama's relied for nearly half of its fund-raising on big donors, those who gave $1,000 or more, a finding that "should make one think twice before describing small donors as the financial engine of the Obama campaign," the institute reported.

Obama reported having nearly $30 million in the bank at the end of the reporting period and nearly $600,000 in debts. McCain reported $4 million in the bank, nearly $5 million in debts and $1 million owed to the campaign committee. McCain also filed a report for a compliance fund, used to cover expenses associated with his acceptance of public funds. He reported $25 million left over in that account.