WASHINGTON -- The night of the living dead in New Hampshire was the dawn of a new campaign.
Sens. Hillary Rodham Clinton and John McCain, once written off as primary losers, resurrected their candidacies last night and set the presidential race on a new, potentially longer course that few would have predicted.
Clinton's comeback, even more astonishing than her husband's in 1992, when he finished second, reshaped a Democratic contest in which Illinois Sen. Barack Obama had begun to look unstoppable.
New Hampshire's independent and unpredictable voters also made a strong contender out of McCain, who completed an improbable personal recovery in a state he first carried in 2000. His victory means that the Republican campaign, which remains highly fluid, could take weeks, or longer, to sort out.
But it was Clinton's triumph, which took a sledgehammer to Obama's momentum, that was the story of the night. After election-eve polls showed Obama winning by double-digit margins, the New Hampshire vote thrilled supporters of Clinton, who had seemingly given up and was already signaling plans to launch a last-ditch fight to stop Obama from wrapping up the race on Feb. 5.
There were indications, in exit poll results and late polling, that independent voters, who can choose either a Republican or Democratic ballot on primary day, might have shifted to McCain in the belief that Obama was safely ahead. Also, a highly publicized and extremely emotional moment on the day before the election, when Clinton choked up at meeting with undecided voters at a cafe, might turn out to have been a turning point.
Clinton sought to make it that in her victory speech thanking the state's voters.
"Over the last week I listened to you, and in the process I found my own voice," she said. "I felt like we all spoke from our hearts, and I am so gratified that you responded.
The episode may have helped to humanize the New York senator and perhaps generated sympathy, especially among women, who swung behind her. Clinton defeated Obama among women by a margin of 47 percent to 34 percent and by an even larger percentage among women without children, according to network exit polling.
The abrupt disappearance of Obama's apparent lead may indicate that voters were not telling pollsters the truth, something that often has happened in contests involving a black candidate. Or New Hampshire voters may have been sending a message that they did not want the race to end quickly.
Obama, in his concession speech, acknowledged that voters had been asked to "pause for a reality check" by Clinton.
"We know the battle ahead will be long," he said, congratulating the winner but rejecting her argument that he isn't ready to lead.
Meanwhile, McCain kept his presidential chances alive.
His campaign had imploded last spring, and some had predicted that the Arizona senator would be out of the race by now. Instead, he pulled himself back into contention and put himself on a clear, if tortuous, path to the Republican nomination.
Getting there won't be easy. He faces difficult tests against different rivals over the next three weeks.
If he prevails, he'll enter the big round of Feb. 5 primaries as the clear front-runner. If he falters, the Republican race could stretch far beyond where most of the experts had expected. That would make later primaries, including Maryland's on Feb. 12, unexpectedly important.
McCain's war-hero image, his reputation as a leader on national security issues and his longtime connection to Granite State voters were keys to his victory, built on months of hand-to-hand contact with voters at town hall meetings and small gatherings over the past six months.
An Election Day survey of voters as they left polling places showed that McCain, a decorated Vietnam War veteran, was viewed as best qualified to be commander in chief. Better news out of Iraq also helped McCain, a leading proponent of the U.S. military surge, shred the campaign strategy of Mitt Romney, from neighboring Massachusetts.
Romney, the best financed Republican candidate, lost again, despite outspending McCain by roughly 3 to 1. After back-to-back defeats in contests he once was favored to win, he badly needs to win next week's Michigan primary.
Yesterday's vote was a close copy of McCain's 2000 upset victory in New Hampshire. He carried independent voters and registered Republicans, the exit poll showed, as he did eight years ago against George W. Bush.
"What has been missing in John's campaign has been electability. It's been a question mark: `Well, has his time passed?'" said Sen. Lindsey Graham of South Carolina, a McCain supporter. Now, "that question mark is removed."
Winning will also attract much-needed campaign funds heading into Michigan, where Romney was born and his father served as governor.
Independent voters could help McCain there, as they did in his victory over Bush eight years ago, because the Democratic primary is a one-sided affair, with Obama and John Edwards not on the ballot.