WASHINGTON (CNN) -- Sen. Barack Obama raised millions more than his Democratic rival, Sen. Hillary Clinton, and presumptive Republican nominee Sen. John McCain in April. Obama brought in $31 million, his campaign announced Tuesday.
Clinton, the New York senator and former first lady, raised $22 million in April, campaign spokesman Howard Wolfson said. McCain's take of more than $18.5 million was a new high for the Arizona senator, according to his campaign's monthly finance report.
Obama, the Democratic front-runner, has $37.3 million remaining for his Democratic primary campaign, plus another $9.2 million set aside for a general election contest, his campaign announced.
According to CNN estimates, Obama claimed a majority of the pledged delegates in the Democratic race on Tuesday despite losing the Kentucky primary to Clinton by a wide margin. Results from the second contest of the night, in Oregon, were expected after 11 p.m. ET.
But Obama is short of the 2,026 total delegates needed to win the party's August nominating convention in Denver, Colorado, where the race is likely to be settled by the party's "superdelegates" -- unpledged elected officials and party leaders.
Wolfson said Tuesday that Clinton has the resources to compete in the remaining contests and that the Democratic campaign was far from over.
"We don't have a nominee until we have a nominee," he said.
McCain's April fund-raising was a major turnaround from his campaign's cash woes last year. In March, his campaign reported about $15 million in contributions.
The McCain campaign had about $21 million on hand at the end of April, it reported.
CNN's Rebecca Sinderbrand contributed to this report.
All About U.S. Presidential Election