A British teenager who hacked CIA, FBI, an US Department of Justice databases from his bedroom as a 15-year-old has been sentenced.
Kane Gamble, now 18, gained access to "extremely sensitive" military documents on intelligence operations in Iraq and Afghanistan.
Between June 2015 and February 2016 he also targeted former CIA director John Brennan and FBI deputy director Mark Giuliano.
The judge said Gamble ran a "campaign of cyber terrorism" from his home in Coalville, UK.
The court was told the teenager impersonated victims and tricked call centre workers into giving out their email addresses. He then sent emails from the victims' accounts to obtain confidential information.
He also leaked the details of 20,000 FBI employees to a number of websites including WikiLeaks, with the message "This is for Palestine".
Gamble even hacked the television of Jeh Johnson, the US Secretary of Homeland Security at the time, and programmed it to read the message "I own you".
He also left a voicemail for Mr Johnson's wife, saying "Hi Spooky, am I scaring you?"
Gamble's lawyer pointed out that Gamble is on the autistic spectrum, and said his actions were "naïve" and "childish".
He claimed Gamble was influenced by discussions of US policy in online chat rooms.
Gamble pleaded guilty to 10 charges and will serve two years at a youth detention centre.