Senator John McCain, the Vietnam war hero turned senator and presidential candidate, has died aged 81.
Mr McCain died on Saturday surrounded by his family, a short statement released by his office said.
He was diagnosed with an aggressive brain tumour in July 2017 and had been undergoing medical treatment.
Whenever America was in a fight during his long lifetime, John McCain was in the thick of it.
McCain was a naval bomber pilot, prisoner of war, conservative maverick, giant of the Senate, twice-defeated presidential candidate and an abrasive American hero with a twinkle in his eye.
The Arizonan warrior politician, who survived plane crashes, several bouts of skin cancer and brushes with political oblivion, often seemed to be perpetually waging a race against time and his own mortality while striving to ensure that his five-and-a-half years as a Vietnam prisoner of war did not stand as the defining experience of his life.
He spent his last few months out of the public eye in his adopted home state of Arizona, reflecting on the meaning of his life and accepting visits from a stream of friends and old political combatants.
In a memoir published in May, McCain wrote that he hated to leave the world, but had no complaints.
“It’s been quite a ride. I’ve known great passions, seen amazing wonders, fought in a war, and helped make peace,” McCain wrote. “I’ve lived very well and I’ve been deprived of all comforts. I’ve been as lonely as a person can be and I’ve enjoyed the company of heroes. I’ve suffered the deepest despair and experienced the highest exultation.
“I made a small place for myself in the story of America and the history of my times.”
McCain had not been in Washington since December, leaving a vacuum in the corridors of the Senate and the television news studios he roamed for decades.
In recent months, he was not completely quiet, however, blasting President Donald Trump in a series of tweets and statements that showed that while he was ailing he had lost none of his appetite for the political fight.
The Arizona Senator repeatedly made clear that he saw Trump and his America First ideology as a departure from the values and traditions of global leadership that he saw epitomized in the United States.
McCain had been planning his funeral services over the last year and his family made clear that Trump is not invited, a position that has not changed, two family friends said Saturday. Former rivals and Presidents Barack Obama and George W. Bush were asked to give eulogies, people close to both former presidents and a source close to the senator told CNN earlier this year.
McCain’s two losing presidential campaigns meant he fell short of the ultimate political prize, one his story once seemed to promise after he came home from Vietnam and caught the political bug. In the end, he became a scourge of presidents rather than President himself.
At the time of his death, he was largely an anomaly in his own party — as one of the few Republicans willing to criticize Trump and a believer in the idealized “shining city on a hill” brand of conservatism exemplified by his hero Ronald Reagan that has been dislodged by the nativist and polarizing instincts of the current President. He was also a throwback to an earlier era when political leaders, without betraying their own ideology, were willing on occasion to cross partisan lines.
In a Washington career that spanned 40 years, first as a Navy Senate liaison, then as a member of the House and finally as the occupant of the Senate seat he took over from Barry Goldwater, McCain was a conservative and a foreign policy hawk. But he was not always a reliable Republican vote, and sometimes in a career that stretched into a sixth Senate term, he confounded party leaders with his maverick stands. He defied party orthodoxy to embrace campaign finance reform, and excoriated President George W. Bush’s defense secretary, Donald Rumsfeld, for not taking enough troops to Iraq.