GREENBELT, Maryland — The man who once strode the West Wing advising presidents on war and peace stood instead before a federal judge on a cold December morning, his voice breaking as he told a courtroom he was sorry.

John R. Bolton, the famously mustachioed hawk who served as Donald Trump's third national security adviser, was sentenced Friday to six months in federal prison for unlawfully retaining and transmitting some of the nation's most closely guarded secrets — a remarkable coda for a figure who has shaped American foreign policy across four Republican administrations.

U.S. District Judge Theodore Chuang, delivering the sentence in a Greenbelt courtroom, told the 78-year-old Bolton that he "absolutely should have known better." The judge ordered him to surrender to prison on Feb. 8 and to forfeit a federal pension accrued over more than four decades of public service.

The six-month term, handed down alongside a previously agreed $2.25 million fine, was shorter than the five years prosecutors had sought. But Judge Chuang made plain that rank and reputation could not shield a public official from the consequences of treating state secrets as personal property.

"We cannot have two sets of rules, one for high-ranking officials in Washington, D.C., and one for everyone else," the judge said.

For Mr. Bolton, the sentencing marked the end of a long and unusually public descent. Fired by Mr. Trump in September 2019 after a series of foreign-policy disagreements, he went on to write a tell-all memoir, "The Room Where It Happened," that portrayed the president as dangerously ill-informed about the world. The White House sued to block its publication, arguing it contained classified information that had not been properly reviewed. A judge declined to halt the book, and it reached shelves days later.

The Justice Department then opened the investigation that brought him to court on Friday.

A Diary of Secrets

According to court documents, Mr. Bolton had a habit of writing diary-style reflections on his time in the White House, entries that prosecutors said were laced with information classified at the Top Secret level and beyond — including foreign adversaries' military plans, covert U.S. operations abroad, and intelligence on adversary leaders drawn from clandestine human sources and intercepted communications.

He then sent those entries to two family members — his wife and daughter, neither of whom was authorized to receive classified material — using non-government email accounts and a messaging application never approved for handling such information. Copies were also kept at his home in Bethesda, Maryland, where they were never permitted to be stored.

After he left office, prosecutors said, a cyber actor believed to be tied to Iran hacked Mr. Bolton's personal email account. He reported the intrusion to law enforcement, agents said, but never disclosed that the account had held national defense information.

The Judge's Reckoning

Mr. Bolton pleaded guilty in June to a single count of retaining classified information, part of an agreement that locked in the $2.25 million fine and the loss of his pension. In court on Friday, he expressed "deep regret" and told the judge he had kept the diary as a record of history during a time of profound national change.

"I had no intention to share classified information with foreign adversaries," Mr. Bolton said, his voice faltering. "I erred seriously and mishandled classified information. I was wrong, and I stand here today having pled guilty to a criminal offence, fully responsible for my conduct. I am sorry."

The hearing carried an unmistakable element of political irony. Federal prosecutors opened their sentencing arguments by reading Mr. Bolton's own past condemnations of others — his criticism of Hillary Clinton over her use of a private email server, and his more recent broadsides against Defense Secretary Pete Hegseth and other second-term Trump officials after they inadvertently added a journalist to a Signal chat discussing imminent U.S. military strikes.

"I wince at hearing these words, and I am truly sorry for the hypocrisy they embody," Mr. Bolton told the court. "Hypocrisy is never defensible, even inadvertently, and I own up to the remorse I feel for what I have previously said so emphatically, which my own behaviour contradicted."

Judge Chuang called Mr. Bolton's swift use of the classified material in his book "problematic," while acknowledging that his offence was less serious than some involving senior officials who had received lenient sentences. He also noted that lower-level government employees had, in other cases, been punished far more harshly.

The sentence, the judge said, reflected "a serious mistake in the broader context of otherwise honourable service."

President Donald Trump walks with Chief of Staff John Kelly and National Security Adviser John Bolton
President Donald Trump with Chief of Staff John Kelly, left, and National Security Adviser John Bolton, right, during the first Trump administration. Credit: I News Australia.

A Lifetime in the Arena

Before his turbulent turn under Mr. Trump, Mr. Bolton spent decades inside the national-security apparatus, serving in the administrations of Ronald Reagan, George H.W. Bush and George W. Bush. A staunch neoconservative, he was an unapologetic advocate of military force and regime change, backing the 2003 Iraq war and at one point urging preemptive strikes on North Korea.

His 2005 nomination as U.S. ambassador to the United Nations by President George W. Bush foundered after more than 100 former American envoys protested and Senate Democrats refused to confirm him; Mr. Bush installed him via a recess appointment.

When Mr. Trump brought him into the White House in April 2018, the pairing of a President skeptical of foreign entanglements and an adviser who championed them was always combustible. It blew apart 17 months later, and the two men have traded accusations ever since.

Within hours of Friday's sentencing, Mr. Trump took to his Truth Social platform to call Mr. Bolton a "total sleazebag" and add: "He did not serve our Country well, and when you don't, this is what should happen."

"A High Price to Pay"

Mr. Bolton's lawyer, Abbe Lowell, said the sentence "reflects careful consideration by the Court of everything Ambassador Bolton has done to make amends."

"While the Court did not go as far as we asked, it clearly recognised Ambassador Bolton's lifetime of good works and noble public service," Mr. Lowell said in a statement.

At the Justice Department, officials framed the case as a warning to anyone entrusted with the nation's secrets. Acting Chief Christian Nauvel of the National Security Division's Counterintelligence and Export Control Section said the responsibility to safeguard classified information "does not end with public service," and that rank and experience "do not excuse conduct that jeopardizes our national security."

Assistant Director Roman Rozhavsky of the FBI's Counterintelligence and Espionage Division was blunter still.

"No matter your rank or status, there's a high price to pay for abusing your position of trust and jeopardizing our national security," Mr. Rozhavsky said.

For Mr. Bolton — a man who spent a career insisting that the United States project power without apology — it is a price he will now begin paying on Feb. 8.