He attempted suicide as a Vietnam prisoner of war. His young political career took a head-on blow in the Keating Five scandal. He's gone three rounds with melanoma. His quest of the presidency has been pronounced dead more than once.

"I felt those things once before," he says of his years in Vietnam. "I will never let them in again."

And so it is that John McCain, at 72, fights on, a battle-scarred warrior.

His refusal to quit, his willingness to stand up against the tide, his ability to come back against seemingly insurmountable odds, are the hallmarks of a lifetime in war and politics.

But McCain knows all too well that a fighting spirit may not be enough this time.

Two weeks out from the election, his back against the wall, McCain allowed a moment of reflection about "a life that's been blessed" when asked about the possibility that he could lose.

"Look, I've had a wonderful life," he said. "I'm the most fortunate man on earth."

___

BEFORE

So much of John McCain's identity revolves around his history as a prisoner of war that it is easy to overlook all that came before.

And there was a lot -- "a whole life," in McCain's own words.

By the time McCain was shot out of the sky over Vietnam at age 31, he'd already crashed a plane into Corpus Christi Bay, ejected from another jet that flamed out as he was flying solo, survived an explosion aboard the carrier Forrestal that left 134 dead, and generally lived large, as he once said of his grandfather.

He'd toyed with the idea of joining the French Foreign Legion. (That idea fizzled when he found out the legion required nine years of service.)

He'd been poised to fly into combat from the deck of the USS Enterprise during the Cuban Missile Crisis.

He'd knocked down power lines flying too low over southern Spain.

He'd romanced a Brazilian fashion model in Rio.

He'd married a beautiful divorcee, adopted the former model's two boys and had a daughter with her.

A predilection for what McCain describes as "quick tempers, adventurous spirits, and love for the country's uniform" was encoded in the family DNA.

His father and grandfather, the Navy's first father-and-son set of four-star admirals, had set such a low standard for good behavior at the Naval Academy that John Sidney McCain III's self-described "four-year course of insubordination and rebellion" got little more than a yawn from his family.

Speaking of his father, McCain once pronounced himself "little short of astonished by the old man's reckless disregard for the rules."

And yet, for all the raucous tales of misconduct, the midshipmen of the McCain family abided by the school's honor code not to lie, cheat or steal.

McCain now pronounces his son Jack an exception to the family pattern of misbehavior at Annapolis, and jokes, "I'm astonished."

___

DURING

Tucked away in a corner of McCain's Senate office, there is a yellowed, three-page telegram hanging in a simple black frame.

The once-secret cable recounts a conversation at the Paris Peace Talks between the top negotiators for the United States and North Vietnam.

In it, Averell Harriman, the U.S. negotiator, reports: "At tea break Le Duc Tho mentioned that DRV had intended to release Admiral McCain's son as one of the three pilots freed recently, but he had refused."

The cable was written in September 1968. It would be four and half more years before "Admiral McCain's son" came home.

His captors had hoped to use early release of McCain -- whose father was soon to become commander of U.S. forces in the Pacific -- as a propaganda ploy.

When McCain refused to play along, they told him: "Now it will be very bad for you, Mac Kane." And they were true to their word.

McCain returned home from his five and half years as a POW on crutches and unable to lift his arms. He still can't raise them above his head.

He says he's "never known a prisoner of war who felt he could fully explain the experience to anyone who had not shared it."

He seems more at ease joking about his incarceration than analyzing it.

More than once he's quipped after a distasteful chore: "That's the most fun I've had since my last interrogation."

When a Senate aide's child got into hot water at school, McCain once advised, "Tell him to confess. Say, 'I am a black air pirate and I have committed crimes against the peace-loving people at my school.' It always worked for me.'"

The advice evoked his darkest hour in Vietnam, when McCain's will was broken and he signed a confession that said, "I am a black criminal and I have performed deeds of an air pirate."

For all of that, though, McCain defied his guards. To his captors, just as to his superiors back at Annapolis, he was exasperating.

"He had to carry a different burden than most of us and he handled it beautifully," says Orson Swindle, a former POW cellmate who remains a close friend. "He didn't need any coping mechanism; that's just built into him."

Even in prison, McCain played to the bleachers, shouting obscenities at his captors loudly enough to bolster the spirits of fellow captives. Appointed by the POWs to act as camp "entertainment officer," a "room chaplain" and a "communications officer," McCain imparted comic relief, literary tutorials, news of the day, even religious sustenance.

It started with "Saturday night at the movies," Swindle says. That is, McCain rendering play-by-play action and line-by-line dialogue from famous films.

Soon enough, Swindle recalls, "Hells bells, we were having Monday night at the movies, Tuesday night at the movies, Wednesday night at the movies, featuring John McCain."

McCain expounded on the history of the American novel, too. "We only had the facts half right, but John said nobody knew the difference," Swindle says.

He also led Sunday church services, sounding "as good as any preacher that ever stood at a pulpit," remembers another former cellmate, Medal of Honor winner Bud Day.

McCain's POW experience, says Day, "took some great iron and turned him into steel."

McCain tells AP that Vietnam "wasn't a turning point in me as to what type of person I am, but it was a bit of a turning point in me appreciating the value of serving a cause greater than your self-interest."

It taught him, he says, "that if you put your country first, that everything will be OK."

___

AFTER

The choices in life, the friends and the enemies, would rarely be as black-and-white again as they had been for McCain in prison.

McCain's experience there gave him new confidence in himself and his judgment. But it did not tame his wild side, and his marriage was a casualty. McCain blames the failure of the marriage on "my own selfishness and immaturity" and has called it "my greatest moral failing."

One month after divorcing his first wife, Carol, McCain married Cindy Hensley, 17 years his junior.

(He'd lied about his age, telling her he was four years younger. She did too, telling him she was four years older.)

"He was everything I was looking for," Cindy McCain recalls of their first meeting, "and I wasn't looking."

McCain was lucky: Carol McCain, who had been in a crippling car accident while her husband was imprisoned in Vietnam, let him out of the marriage without theatrics or recriminations.

McCain's war story had made him a celebrity in Washington. And when he became the Navy's liaison to the Senate, he quickly established friendships with some of the younger senators, who would stop by his office, put their feet up, and chew over the events of the day. The experience opened McCain's eyes to the impact that politicians could have, and to the notion that he could be one of them.

His 1981 marriage to Cindy, the daughter of a wealthy beer distributor in Arizona, helped clear the path forward. In one day, McCain signed his Navy discharge papers and flew West with his new wife to his new life. By 1982, he'd been elected to the House and four years later to an open Senate seat. He and Cindy would have four children, to add to the three from his first marriage. Their youngest child was adopted from Mother Teresa's orphanage in Bangladesh.

McCain set about establishing a conservative voting record and a reputation as a tightwad with taxpayer dollars. But just months into his Senate career, he made what he's called "the worst mistake of his life." He participated in two meetings with banking regulators on behalf of Charles Keating, a friend, campaign contributor, constituent and savings and loan financier who was later convicted of securities fraud.

The S&L situation simmered for a few years, but eventually boiled over, and McCain got burned.

As the industry collapsed, McCain was tagged as one of the Keating Five -- five senators who, to varying degrees, were accused of trying to get regulators to ease up on Keating. McCain was cited for a lesser role than the others by the Senate Ethics Committee, which faulted his "poor judgment."

But to have his honor questioned, he said, was in some ways worse than the torture he endured in Vietnam.

"It had an indelible impression on him," says former Sen. Warren Rudman, who sat on the Ethics Committee at the time. "It was an assault on his integrity."

In the 1990s, McCain shouldered another wrenching issue, the long effort to account for American soldiers still missing from the war and to normalize relations with Vietnam.

"People don't remember how ugly the POW-MIA issue was," says former Democratic Sen. Bob Kerrey, a fellow Vietnam veteran, who credits McCain for standing up to significant opposition. "I heard people scream in his face, holding him responsible for the deaths of POWs. 'You came home alive in 1973. There are prisoners still alive and they're being tortured and mistreated because of you.'"

McCain spent years trying to live down the taint of Charlie Keating. Yet even in this campaign, he has been dogged by questions about the lobbying ties of his close advisers.

Over the years, he went to great lengths to prove himself. He became the standard-bearer for reforming campaign donations. He railed against pork-barrel spending for legislators' pet projects. He even attacked the senators' own perks of office, like free, reserved, up-close parking spots at Washington airports. Oh my.

That helps explain why John McCain is not the most popular senator on Capitol Hill. But it is not all.

"Everyone knows about his temper, his inability to get along with people," Senate Majority Leader Harry Reid, D-Nev., said earlier this year.

McCain is famous for expletive-laced outbursts at his colleagues: "Only an a------ would put together a budget like this," he once told the former Budget Committee chairman, Sen. Pete Domenici, R-N.M. Domenici later questioned whether McCain's temperament was suited to the presidency.

Opinions differ, though, on whether McCain deploys his anger tactically to achieve his goals, lets it loose as an expression of righteous indignation, or simply loses control.

"There's nothing strategic about being passionate about something," Cindy McCain told AP. "You are or you aren't. He's a very straight shooter."

Kerrey, who has endorsed Barack Obama, said McCain's blown up at him, but "there's nothing unbalanced about it. It always makes sense. It helps him get the job done."

But Kerrey also allows: "Nobody's going to recruit him to be a Zen master."

Republican Sen. Lindsey Graham, one of McCain's closest friends, says he and McCain have "had some doozies" of disagreements, but what matters more is that senators want to work with him.

"John's performance over 20 years shows a man who people seek out to do business with because they know he's effective," says Graham.

Former Republican Sen. Bob Smith remembers an altogether different dynamic, particularly between McCain and fellow Republicans.

"He definitely could intimidate people," says Smith. "He could mock you, he could needle you, he could belittle you. He did it to me on a couple of occasions."

Smith recounted instances when McCain fired the F-word at colleagues, hurled scatological references at senators, and came close to fisticuffs.

"Beware if he says, 'My friend,'" says Smith. "You better look out."

___

AHEAD

McCain loves the naval expression to "keep a steady strain" on the lines between ships. It's his way of telling aides and supporters not to get too cocky in the good times, too low when times are tough.

He's seen it all come together -- and apart -- more than once.

His upstart bid for the presidency in 2000 took flight in New Hampshire only to get flattened by an ugly whisper campaign against his family in South Carolina.

He settled back into Senate business, helping create the Gang of 14 senators, Republicans and Democrats, who pulled the Senate back from the brink of a disastrous blowup over judicial nominations.

Cindy McCain says his desire to be president never really went away, but he bided his time through nearly eight years of George Bush.

"He always said if the opportunity arises again, 'I would love to try it again,'" she said. "But it wasn't like a dream he couldn't live without."

McCain's campaign for the GOP nomination this time all but destructed last summer as he ran out of money, and there was a staff exodus after a power struggle and leadership shake-up. But he battled back, carrying his own luggage and sitting in the middle seat on Southwest Airlines.

"He put the campaign on his back and climbed up a mountain alone," says good friend Sharon Harper, who lives next door to McCain in Sedona.

His path to the nomination this time inevitably invited comparisons to his insurgent campaign of 2000; it seemed less freewheeling this time, more calculated.

His shifts on issues such as taxes and immigration seemed designed to placate the GOP right.

"He appears less flexible," says Kerrey. "He appears to be something different than what he was."

Former Sen. Lincoln Chafee, a Republican-turned-independent who backs Obama, credits McCain for going his own way in the Senate, but worries that in reaching out to the right during the campaign, he's "compromised his credibility."

Gary Hart, another Obama supporter, doubts McCain is a new man.

"I don't think you get to be 70 years old and then fundamentally change," says Hart. "McCain's gyrations have more to do with figuring out his own party than anything else. ... He's had to sublimate for obvious reasons."

McCain bats away that notion.

"In all due respect to my colleagues," he says, "They're drinking the Kool-Aid that somehow I have changed positions on the issues. All I can say is that we all grow. We all grow wiser. And we all refine our positions."

McCain points to his support for the surge in troops to Iraq, far from popular at its inception last year, as evidence he's unafraid to swim against the tide.

"He's attracted like a moth to the flame to the hard things," says Graham.

When John McCain was 64, he worried in print that the maverick "act might be getting a little tired for a man of my years."

"American popular culture admits few senior citizens to its ranks of celebrated nonconformists," he wrote in his memoir. "We lack the glamorous carelessness of youth and risk becoming parodies of our younger selves."

That was eight years ago.

Does McCain worry, in 2008, that his signature persona has lost its cachet?

"I hope it means I'll still put the country first and my party second," he says. "I hope it means that I'll still do what I think is right."