“You can’t pull up a quick text like ‘National Security for Dummies,’ ” five-time Republican senator John Warner of Virginia said while attacking Republican nominee Donald Trump. He endorsed Democrat Hillary Clinton on Sept. 28. (Video: WUSA9 / Photo: Jahi Chikwendiu/The Washington Post)

“You can’t pull up a quick text like ‘National Security for Dummies,’ ” five-time Republican senator John Warner of Virginia said while attacking Republican nominee Donald Trump. He endorsed Democrat Hillary Clinton on Sept. 28. (Video: WUSA9 / Photo: Jahi Chikwendiu/The Washington Post)

John Warner, veteran of World War II and Korea, speechwriter in the Eisenhower White House, secretary of the Navy in the Nixon Pentagon, Republican senator from Virginia and longtime chairman and ranking member of the Armed Services Committee before his retirement in 2009, performed one more act of public service Wednesday.

He urged those who love the military and care about American leadership to defeat Donald Trump.

Warner — endorsing the Democratic ticket while standing in Alexandria, Va., with fellow Virginian Tim Kaine, Hillary Clinton’s running mate — spoke bitterly of Trump’s description of the military as a “disaster” and a “shambles” with the generals reduced to “rubble.”

“We have today the strongest military in the world; no one can compare with us,” Warner said. Though the military needs to be modernized, he added, “no one should have the audacity to stand up and degrade the Purple Heart, degrade military families or talk about the military being in a state of disaster. That’s wrong!”

[John Warner endorses Hillary Clinton]

Republican John Warner announces his support for Democrats Hillary Clinton and Tim Kaine on Sept. 28 in Alexandria, Va. (Jahi Chikwendiu/The Washington Post)

These were strong words coming from the courtly 89-year-old, one of Elizabeth Taylor’s husbands and a revered figure in the military. Warner is a throwback to a different time, one of unflinching patriotism, civility, a recognition that your political opponent is not your enemy, and a dedication to consensus for the good of country.

These were the hallmarks of Warner’s generation, the Greatest Generation, “tempered by war, disciplined by a hard and bitter peace,” as John F. Kennedy put it in 1961.

“I look back with deep respect for those who taught me the fundamentals of duty and honor and country at the age of 17” when he enlisted, Warner said. “I’m here solely because of what I learned then.”

Those attributes faded as the baby boomers took the reins of government in the mid-1990s, and it has been worsening ever since, reaching rock bottom — one hopes — with the current Republican presidential nominee, a human insult machine, ill-prepared and unconcerned about it. Now party comes before country, both in the refusal to compromise in the legislature and in the mass rallying of Republicans and conservatives around Trump.

But a few have, like Warner, risen above party, and they deserve praise for their bravery. Another is George H.W. Bush, who has indicated privately that he will vote for Clinton. The conservative Arizona Republic on Tuesday night endorsed Clinton — the first Democrat endorsed for president by the paper in its 126-year history. The conservative Dallas Morning News and Cincinnati Enquirer made similar decisions. And a host of Republican luminaries has come out for Clinton, among them John Negroponte, Brent Scowcroft, Richard Armitage and Hank Paulson, as has a gaggle of former GOP representatives, senators and governors.

[George Will: Donald Trump’s rise reflects American conservatism’s decay]

Warner, in his decency, is everything that Trump is not.

1 of 17 Full Screen Autoplay Close Skip Ad × Memorable quotes from Clinton and Trump’s first presidential debate View Photos Here are some memorable quotes from the presidential debate in Hempstead, N.Y. Caption Here are some memorable quotes from the presidential debate in Hempstead, N.Y. Buy Photo Wait 1 second to continue.

He governed by consensus. “I had partners in Barry Goldwater and Sam Nunn and John Stennis and John Tower . . . old Scoop Jackson, and I learned from those men,” Warner said Wednesday. “That’s why I feel distressed about some of the comments made by the opponent to this ticket.”

He was unfailingly civil. “Candidate Clinton maintained [her] composure throughout the debate; the other candidate, in my judgment, did not,” Warner said. “She was firm but fair and, underline, respectful. That’s one word that’s totally lacking on the other side of this ticket.” Warner hailed Kaine, a longtime friend, as a “beautiful man” of “unquestioned integrity.”

And Warner was diligent. “We are, like it or not, the leader of the free world,” he said, and the president must “have a very firm and fundamental understanding” about America’s role and responsibility. “You don’t pull up a quick text like National Security for Dummies,” he said. Presidents “have got to understand there are times they don’t know everything, but they can learn, and particularly they can learn if they’ve got a foundation of their own experience to build upon — not go out and try to create it out of whole cloth after you read two or three brief sheets. Ridiculous.”

Warner’s language was formal, almost archaic. He spoke fondly of the Senate seniority system and of Clinton’s excellent attendance record on his committee, and he spoke of the “opponent,” not mentioning Trump by name — until he returned to the microphone to say one more thing after his 16-minute speech.

“When I recall what the opponent has said about the military, I shake my head,” Warner said, recalling the placard on the wall in Marine boot camp in 1945: “Loose lips sink ships. Got that Trump? Loose lips sink ships.”

Coming from this genteel and proud old Republican, the words were more powerful than the coarsest insult Trump could tweet.

Twitter: @Milbank

Read more from Dana Milbank’s archive, follow him on Twitter or subscribe to his updates on Facebook.