(CNN) John McCain was admired by supporters and adversaries for his bravery as a military warrior and his courage to rise above party politics.

Here are some of the late senator's more memorable comments:

After his capture in North Vietnam

When given a chance to send a message back home after his A-4 Skyhawk was shot down in 1967 and he was captured in North Vietnam, he said:

"I would just like to tell my wife I'm, I'll get well. I love her, and hope to see her soon. I appreciate if you will tell her."

This picture taken in 1967 shows McCain lying on a bed in a Hanoi hospital.

Respecting his opponents

In the late 1980s, Mo Elleithee, a Democratic campaign strategist who was 16 at the time, met the senator.

Mo Elleithee: "I'm honored to meet you even though I disagree with you."

McCain: "Well, I'm honored to represent you even though you disagree with me."

Dear @SenJohnMcCain,



At 16, I got to meet my 1st term Sen.



Me: "I'm honored 2 meet u even though I disagree w/you."



You: "Well, I'm honored 2 represent u even though u disagree w/me."



Even when I worked against u, you were a role model. Just want u to know that. Thank you. pic.twitter.com/5OitjNZofH — Mo Elleithee (@MoElleithee) August 24, 2018

Taking the blame

When running for President in 2000, he changed his public stance about the Confederate battle flag after he told South Carolina voters the banner stood as a symbol of heritage.

"I did not do so for one reason alone. I feared that if I answered honestly, I could not win the South Carolina primary. So I chose to compromise my principles. I broke my promise to always tell the truth."

Then Republican presidential nomination hopefuls George W. Bush, Gary Bauer and John McCain debated in Durham, North Carolina in 2000.

Speaking up for Obama

A man said on the 2008 campaign trail that he had concerns about Barack Obama, telling McCain, "We're scared of an Obama presidency ... I'm concerned about someone that cohorts with domestic terrorists ..."

McCain responded, amid boos, "I have to tell you he's a decent person, and a person that you do not have to be scared of as President of the United States."

JUST WATCHED Flashback: McCain tells supporter Obama is 'a decent, family man' Replay More Videos ... MUST WATCH Flashback: McCain tells supporter Obama is 'a decent, family man' 01:01

Loving America

"I fell in love with my country when I was a prisoner in someone else's. I loved it not just for the many comforts of life here. I loved it for its decency; for its faith in the wisdom, justice and goodness of its people. I loved it because it was not just a place, but an idea, a cause worth fighting for. I was never the same again. I wasn't my own man anymore. I was my country's."

Getting back up after losing a presidential election

"I remind all my colleagues: We had an election. I think the message the American people are sending us now is they want us to work together, and get to work."

On being called a maverick

"That was a label that was given to me a long time ago. I don't decide on the labels that I am given. I said I have always acted in what I think is in the best interests of the state and the country, and that's the way that I will always behave."

Reaching across the aisle

Sen. John McCain arrived to the Senate chamber with a visible scar above his eye.

Less than two weeks after surgery to remove a blood clot revealed McCain had brain cancer, he returned to the Senate to vote against his party's effort to repeal the Affordable Care Act. That night, he delivered an epic 15-minute speech

"Our deliberations today -- not just our debates, but the exercise of all our responsibilities -- authorizing government policies, appropriating the funds to implement them, exercising our advice and consent role - are often lively and interesting. They can be sincere and principled. But they are more partisan, more tribal more of the time than any other time I remember. Our deliberations can still be important and useful, but I think we'd all agree they haven't been overburdened by greatness lately. And right now they aren't producing much for the American people."

"We're getting nothing done, my friends," McCain told his colleagues. "We're getting nothing done."

Remembering his tough times in Annapolis

"My superiors didn't hold me in very high esteem in those days. Their disapproval was measured in the hundreds of miles of extra duty I marched in my time here," McCain told Naval Academy graduates at Annapolis, Maryland, last year.

Reflecting on his decades-long political history

After he was awarded the National Constitution Center's annual Liberty Medal in 2017 for his lifetime of sacrifice and service to the nation, he delivered a pointed speech.

"I've had the good fortune to spend 60 years in service to this wondrous land. It has not been perfect service, to be sure, and there were probably times when the country might have benefited from a little less of my help. But I've tried to deserve the privilege as best I can, and I've been repaid a thousand times over with adventures, with good company, and with the satisfaction of serving something more important than myself, of being a bit player in the extraordinary story of America. And I am so very grateful."

Envisioning his legacy

In an interview with "60 Minutes," he discussed the way he wanted to be remembered.

"I want ... when I leave, that the ceremony is at the Naval Academy. And we just have a couple of people that stand up and say, 'This guy, he served his country.'"