McCain spent more than three decades representing Arizona in the U.S. Senate, and unsuccessfully ran two presidential campaigns, most notably falling to Barack Obama in 2008.

Shortly following his death, many in the sports world took to social media — including nearly every team and many prominent sports figures from Arizona — to remember and pay tribute to the Republican senator and war hero.

“John McCain was an Arizona icon, an American hero and a friend,” the Suns wrote. “As we collectively mourn his passing, we also celebrate his unparalleled leadership and dedication to public service. Additionally, his courage, perseverance and ability to overcome adversity, in every facet of his life, will continue to inspire us all.

“The Suns organization stands with Cindy and the entire McCain family in honoring the life and legacy of this incredible man.”

Goodbye to an American hero, one we were lucky enough to call a loyal fan.

Senator McCain was not only a great man and patriot but also a loyal D-backs fan. I’m proud to have called him a dear friend. On behalf of my entire family, our thoughts and prayers are with Cindy and the McCain family. pic.twitter.com/noSItd72o8

“The entire Coyotes organization is deeply saddened by the passing of Senator John McCain today,” the Coyotes wrote. “Senator McCain was a great American hero and patriot who dedicated his life and career to public service. Senator McCain was a maverick who fought for what he believed in and represented the very best ideals of the United States Senate. He was a courageous leader who served Arizona and the United States with tremendous pride, dignity and distinction.

“We extend our deepest condolences to his wife City and children Meghan, Bridget and James, as they mourn the loss of a great man and legendary public servant.”

The entire Arizona State University community joins the nation in mourning the loss of Sen. John McCain. https://t.co/NDyxiZSaUL