John Bolton, the former US national security adviser who became a political enemy of Donald Trump after serving under him, has been sentenced to six months in prison for mishandling classified information.

US district judge Theodore Chuang sentenced Bolton, 78, for violating the Espionage Act for keeping notes taken from classified national security meetings on a home computer and sending those notes to his wife and daughter over email. Bolton pleaded guilty in June to a charge of mishandling classified information.

Prosecutors at the Department of Justice decried this as a reckless threat to US national security, and called for a five-year prison sentence for Bolton, who became an outspoken critic of Trump after he was fired from his administration in 2019.

Bolton was charged last year with 18 counts of retaining or disseminating classified information – notes about his work that he had shared with his wife and daughter.