Donald Trump bowed to pressure Monday to honor the late John McCain, ordering that flags be lowered to half-staff across the country, as the late senator fired a parting shot at the president in a farewell message to the United States.
Trump's about-face came after he found himself mired in controversy over his rather conspicuous failure to pay tribute to McCain, who died Saturday at 81 after a year-long battle with brain cancer.
When veterans' groups launched appeals for a more fitting salute to McCain, a Navy veteran who was imprisoned for more than five years in Vietnam, the Republican leader -- who had no love lost for the Arizona senator -- blinked.
"Despite our differences on policy and politics, I respect Senator John McCain's service to our country," Trump said in a statement as he ordered the flag atop the White House and elsewhere to fly at half-staff until McCain's burial on Sunday.
He later told evangelical leaders that "we very much appreciate everything that senator McCain has done for our country."
The White House flag was lowered after McCain's death on Saturday -- but it was once again at the top of the flagpole on Monday morning.
Trump's initial silence about McCain underscored the isolation of the US leader and fueled criticism that he is incapable of bringing a divided nation together even as it mourns a man widely seen as an American hero and a political icon.
In Phoenix, where a week of tributes to McCain was soon to get under way, the two-time presidential candidate's former campaign manager Rick Davis confirmed that Trump would not be attending the funeral.
However, Vice President Mike Pence is set to speak at a ceremony honoring McCain at the US Capitol on Friday.
White House chief of staff John Kelly, Defense Secretary James Mattis and National Security Advisor John Bolton will represent the administration during services.
- 'Tribal rivalries' -
In Phoenix, Davis read a posthumous statement that made a final jab at Trump.
"We weaken our greatness when we confuse our patriotism with tribal rivalries that have sown resentment and hatred and violence in all the corners of the globe," McCain said.
"We weaken it when we hide behind walls, rather than tear them down, when we doubt the power of our ideals, rather than trust them to be the great force for change they have always been," he said -- -- an apparent reference to Trump's plans for a border wall.
- Long-running enmity -
McCain, who served as a senator from Arizona for more than 30 years, clashed repeatedly with Trump even though they were both Republicans, and the president initially paid scant tribute to the senator after his death.
The Washington Post reported that White House spokeswoman Sarah Sanders, Chief of Staff Kelly and other senior staff had urged a statement be released referring to McCain as a "hero" -- but Trump opted for a terse, impersonal tweet instead.
The enmity between Trump and McCain dates from the day the real estate tycoon announced his candidacy for the Republican presidential nomination with an attack on Mexican immigrants as criminals and rapists.
During the 2016 campaign, Trump mocked McCain's war service. In the years since, McCain was Trump's loudest Republican critic, especially as the president disrupted America's long-time alliances.
McCain's remains will lie in state at Arizona's capitol on Wednesday, before a public viewing Friday in the rotunda of the US Capitol -- an honor reserved for the likes of John F. Kennedy, Ronald Reagan and civil rights champion Rosa Parks.
The two men who defeated McCain in his White House campaigns, Republican George W. Bush in 2000 and Democrat Barack Obama in 2008, are expected to deliver eulogies at a Saturday service at the National Cathedral in Washington.
Among the pallbearers will be Democratic former vice president Joe Biden, ex-senator Russ Feingold, former New York mayor Michael Bloomberg and actor Warren Beatty.
McCain will be buried Sunday at the US Naval Academy in Annapolis, Maryland, in a private funeral service.
- Bipartisan praise -
In Washington, McCain's death has been a rare occasion for bipartisan praise for his lifetime in public service.
Tributes have poured in from every living former president honoring the former Navy aviator for his courage, integrity and decency.
On Capitol Hill, his desk on the Senate floor was draped with a black cloth, and adorned with white roses.
Senators returning to work were saddened by his passing.
Democratic Senate Minority Leader Chuck Schumer, who is proposing a bill to rename one of the upper chamber's buildings after McCain, spoke of a great and unexpressable loss."
"In stark relief to what now passes for our politics, he continues to serve as a beacon to who we are and who we can be when we are at our best," said Jeff Flake, who was McCain's fellow Arizona senator.
"If John McCain can forgive the North Vietnamese torturers, we can at least forgive each other."