U.S. Senator John McCain, the 2008 Republican presidential nominee known for political independence during more than three decades in the Senate, has been diagnosed with an aggressive form of brain cancer, his office said on Wednesday.

The 80-year-old lawmaker and former Navy pilot, who was re-elected to a sixth Senate term in November, has been recovering at home in Arizona since undergoing surgery at the Mayo Clinic in Phoenix last Friday to remove a blood clot from above his left eye.

Tissue analysis since that procedure revealed that a brain tumor known as a glioblastoma was associated with the clot, his office said.

Glioblastoma is considered a grade IV tumor, the most malignant of gliomas. It can be very aggressive and spread into other parts of the brain quickly, according to the MD Anderson Cancer Center in Texas.

Mr. McCain's doctors said he was recovering from his surgery "amazingly well” and that his underlying health was excellent.

His treatment options include a combination of chemotherapy and radiation, his office said.

“The news of my fathers illness has affected every one of us in the McCain family,” McCain's daughter Meghan McCain said in a statement on Twitter. “My grandmother, mother, brothers, sister, and I have all endured the shock of the news, and now we live with the anxiety about what comes next.

She said the family was familiar with the experience of battling cancer since her father had fought it previously, and that through all of this, Mr. McCain himself was the “most confident and calm” of all of them.

Mr. McCain has had non-invasive melanomas removed at least three times. He also overcame injuries suffered as prisoner of war in Vietnam, where he endured beatings and torture by his North Vietnamese captors.

His fellow members of Congress rushed to offer tributes to the lawmaker and wishes for his quick recovery. Known for an independent political streak, ready wit and strong opinions, McCain is one of the best-known and most popular U.S. lawmakers among his peers and the media.

A group of Republicans meeting to discuss healthcare policy on Wednesday evening prayed together for Mr. McCain. Senator Lindsey Graham, a close friend, said Mr. McCain had told him he was eager to get back to work, Senator John Hoeven told reporters.

While known as a fierce advocate for strong U.S. military action overseas, McCain also has a reputation for working with Democrats on issues from clamping down on campaign finance abuses to immigration reform. This week, McCain called for a bipartisan approach to overhauling the U.S. healthcare system.

'Give it hell, John'

U.S. President Donald Trump said that “Senator John McCain has always been a fighter,” adding: “Get well soon.”

Former President Barack Obama, who defeated Mr. McCain for the White House in 2008, called McCain “an American hero and one of the bravest fighters I've ever known. Cancer doesn't know what it's up against. Give it hell, John.”

Senate Majority Leader Mitch McConnell called Mr. McCain, the chairman of the Armed Services Committee, a hero and said he looked forward to having him back in Washington.

Mr. McCain, the son and grandson of admirals, was a U.S. Navy pilot. His plane was shot down over Vietnam in 1967 and he spent 5-1/2 years as a prisoner of war.

One of McCain's proudest moments as a U.S. senator was working to pass legislation banning torture in 2015.

When he was offered release because of his father's rank, Mr. McCain refused to be freed before those who had been held captive longer. He finally returned to the United States in 1973, with other prisoners of war.

Mr. McCain's absence this week has complicated efforts by Mr. Trump and his fellow Republicans to repeal Obama's Affordable Care Act, popularly known as Obamacare. McCain's absence from Washington makes it difficult for McConnell to gather the 50 votes he needs in a chamber where the party holds only a 52-48-seat margin.

His absence could also complicate progress toward passing the annual National Defense Authorization Act, a $700 billion piece of legislation setting policy for the Department of Defense that must pass every year.