A former CIA technician charged with handing over classified documents to Wikileaks smuggled cellphones into a Manhattan correctional facility to wage an “information war” against the government, prosecutors allege.

In new filings submitted on Monday, prosecutors say that Joshua Adam Schulte, who was first arrested in August 2017 and is being held in solitary confinement in the Manhattan Correctional Center, used the phones to create secret email and social media accounts to disseminate both classified and misleading information from behind bars in an attempt to obstruct the case against him.

Prosecutors say that Schulte conscripted fellow inmates to aid in his war and that, according to journals found in his cell, he planned to shake the government down for $50 billion in restitution.

“I will look to breakup diplomatic relationships, close embassies, and U.S. occupation around the world & finally reverse U.S. jingoism,” Schulte wrote, according to court papers.

Schulte managed to use the phones to post messages on the social media accounts he created — including one in which he said the government planted child porn on his computer.

Prosecutors included the allegations about Schulte’s declaration of war in response to his motion to be taken out of solitary confinement. According to court documents, he was placed there in October amid allegations that he was using contraband phones to contact people on the outside.

The government says that Schulte’s leak, which included information about the CIA’s ability to compromise smartphones and other electronics, was the largest loss of confidential material in U.S. history.

An attorney for Schulte did not immediately respond to a request for comment.