John Bolton, who served as a national security adviser to Donald Trump and later became a vocal critic of the former president, received a six-month federal prison sentence on Friday. The conviction stemmed from the illegal retention of classified diary entries that he utilized while preparing his memoir.

US District Judge Theodore Chuang stated that Bolton endangered U.S. national security by transmitting highly sensitive diary entries, detailing his time during Trump's first administration, to his wife and daughter. The judge noted that as a former national security adviser, Bolton should have been acutely aware of the legal restrictions.

The case involved over 1,000 pages of personal diary entries covering intelligence briefings and meetings with senior officials and foreign leaders during 2018 and 2019. Prosecutors alleged that hackers linked to Iran accessed an email account used by Bolton, placing U.S. secrets in the hands of a geopolitical adversary.

Bolton had previously pleaded guilty in June to a single charge of unlawful retention of national defense information, agreeing to a fine of $2.25 million and a sentence between zero and 60 months. He acknowledged breaking the law in his haste to accurately record his 17 months in the role.

While federal prosecutors initially sought five years, Bolton's legal team requested probation. The case proceeded with the backing of career federal prosecutors, distinguishing it from other high-profile investigations, and Bolton admitted to wrongdoing.