WASHINGTON (AP) " Arizona Sen. John McCain, a political maverick and unflinching supporter of the war in Iraq, clinched the Republican presidential nomination Tuesday night.
Barack Obama defeated Hillary Rodham Clinton in the Democratic primary in Vermont, and the two rivals dueled in Ohio, Texas and Rhode Island in a riveting race for their party's presidential nomination.
McCain, 71, gained the 1,191 delegates needed to claim the Republican nomination with a series of primary victories, completing a remarkable comeback that began in the snows of New Hampshire six weeks ago. President Bush invited him to the White House for a show of support on Wednesday.
The former Vietnam prisoner of war is making his second try for the White House, after losing the GOP nomination to Bush in 2000.
McCain went over the top in the Associated Press' delegate count based on his performance in the night's primaries as well as a late show of support from Republican National Committee members who are delegates to the party convention next summer in St. Paul, Minn.
Campaign aides readied an enormous banner bearing the magic number to serve as a backdrop for a victory celebration in Dallas.
In the Democratic race, Obama took an early lead in Texas based almost entirely on votes cast before primary day.
The Ohio count was delayed by heavy voting that kept some polls in Sandusky and Cleveland open for 90 minutes past the scheduled 7:30 p.m. close.
In all, there were 370 Democratic delegates at stake in Rhode Island, Vermont, Ohio and in Texas, which used an unusual primary-caucus system.
Hispanics, a group that has favored Clinton in earlier primaries, cast nearly one-third of the Election Day votes in Texas, up from about one quarter of the ballots four years ago, according to interviews with voters as they left their polling places.
Blacks, who have voted heavily for Obama this year, accounted for roughly 20 percent of the votes cast, roughly the same as four years ago.
The economy was the No. 1 concern on the minds of Democratic voters in Texas, Rhode Island and especially in Ohio. But in Vermont, almost as many voters said the war in Iraq was their top concern.
More than three-quarters of Ohio Democrats said international trade had cost their state more jobs than it had created. The interviews did not take into account early voting, which was heavy in Texas and in parts of Ohio.
Roughly six in 10 of the Democrats who were questioned said that so-called superdelegates, who are party officials, should vote at the national convention based on the results of primaries and caucuses.
That was unwelcome news for Clinton, who trails Obama among delegates picked in the states but holds a lead among superdelegates.
After 11 straight victories, Obama had the momentum and the lead in the delegate chase in The Associated Press count, 1,389-1,276.
His margin was larger " 1,187-1,035 " among pledged delegates chosen in primaries and caucuses. The former first lady had an advantage among superdelegates, but Obama picked up three during the day, narrowing her advantage to 241-202.
That left Clinton in desperate need of a comeback with time running out " if it hadn't already.
Some of her supporters, her husband the former president among them, said she needed to outpoll Obama in both Texas and Ohio to sustain her candidacy.
Without conceding anything, Obama's allies said even that wouldn't be enough, given his lead in the delegate count and party rules that virtually assure primary losers a significant share of the spoils.
Nevertheless in appearances Tuesday, Clinton sounded like she might continue her campaign if she won only Ohio, and Obama sounded almost resigned to an extension of the nomination battle.
"You don't get to the White House as a Democrat without winning Ohio," Clinton said in Houston.
"My husband didn't get the nomination wrapped up until June (in 1992). That has been the tradition," she added, without mentioning that this year most primaries were held much earlier than in 1992. "This is a very close race."
In San Antonio, Obama called Clinton "a tenacious and determined candidate" and predicted little shift in his delegate lead no matter who won Texas and Ohio, "which means that either way, we'll go on through Mississippi and Wyoming next week." Pennsylvania, the biggest single prize left, follows on April 22.
"All those states coming up are going to make a difference," he said. "What we want to do is make sure we're competing in every single state."
It takes 2,025 delegates to win the Democratic nomination, and slightly more than 600 remained to be picked in the 10 states that vote after Tuesday.
The Democratic marathon was in contrast to a Republican race that was fierce while it lasted, but has long since been settled.
McCain's Vermont victory left him with 1,062 delegates out of the 1,191 needed for the nomination at the party convention next summer in St. Paul, Minn. There were 256 Republican delegates at stake in the four states on the night's ballot.
McCain's sole major remaining rival, former Arkansas Gov. Mike Huckabee, had 257 delegates, and posed no threat.
It was McCain's second run at the nomination, after his loss to George W. Bush in 2000. The Arizona senator was the early front-runner in the GOP race this time, but his campaign nearly imploded last summer.
He regrouped, reassuming the underdog role that he relishes, and methodically dispatched one rival after another in a string of primaries in January and early February.
In the Democratic half of the most wide-open presidential campaign in a half-century, Obama looked for the knockout blow while Clinton sought a revival.
As before, he outspent her in television commercials, an advantage padded by unions working in his behalf.
Rhode Island and Vermont received little attention from either of the candidates, who devoted most of their time to Ohio and Texas. They debated once in each big state, and stressed issues that varied from one to the other.
NAFTA was a focus of the Ohio race.
Obama sent out mass mailings that said Clinton had supported the free trade agreement when it was passed during her husband's administration, and that he had opposed it. She angrily accused him of distorting her record.
But roles were reversed in the campaign's final hours after a memo surfaced in which a Canadian official described a meeting in which Obama's senior economic adviser was said to have described the Illinois senator's criticisms of the trade agreement as political positioning.
Clinton said Obama had given a "wink-wink" to Canada on the issue.
Obama said, "Nobody reached out to the Canadians to try to assure them of anything."
The Texas campaign revolved more around readiness to serve as commander in chief.
Clinton aired a television commercial that showed children asleep in their beds. "It's 3 a.m. and your children are safely asleep. Who do you want answering the phone?" the announcer said.
Obama wasn't mentioned, but responded quickly.
He told reporters that Clinton had already had her "red phone moment," " and voted for the Iraq war.
He launched his own ad, with sleeping children and a telephone ringing ominously.
"In a dangerous world, it's judgment that matters," the announcer said.