McCain, who has died at the age of 81, 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."
Rest in Peace John McCain.