The Justice Department on Tuesday filed a lawsuit against Edward Snowden, the former CIA employee and National Security Agency contractor for publishing a book filled with classified secrets that violated his non-disclosure agreements with the two agencies.

“The lawsuit alleges that Snowden published his book without submitting it to the agencies for pre-publication review, in violation of his express obligations under the agreements he signed,” read a statement from federal prosecutors in Virginia, referring to “Permanent Record,” which came out this week.

“Additionally, the lawsuit alleges that Snowden has given public speeches on intelligence-related matters, also in violation of his non-disclosure agreements.”

The feds said they weren’t trying to stop publication or sale of the book, but wanted all of the proceeds from its sale and his speeches about it.

Snowden, 36, considers himself a whistleblower, but was charged in June 2013 with theft of government property and two counts of violating the Espionage Act of 1917 for stealing highly classified documents when he was with the CIA and NSA. Each charge carries a maximum possible prison term of 10 years.

Rather than face the music, Snowden fled the country and was eventually given sanctuary by Vladimir Putin, and has remained in Russia since, though he has also asked the French government to grant him asylum there.

The lawsuit also names as defendants the book’s publisher, Henry Holt, and Company “solely to ensure that no funds are transferred to Snowden, or at his direction, while the court resolves” the lawsuit.

“Intelligence information should protect our nation, not provide personal profit. This lawsuit will ensure that Edward Snowden receives no monetary benefits from breaching the trust placed in him,” said G. Zachary Terwilliger, US Attorney for the Eastern District of Virginia.

“Edward Snowden has violated an obligation he undertook to the United States when he signed agreements as part of his employment by the CIA and as an NSA contractor,” added Assistant Attorney General Jody Hunt of the Department of Justice’s Civil Division.

“The United States’ ability to protect sensitive national security information depends on employees’ and contractors’ compliance with their non-disclosure agreements, including their pre-publication review obligations.”

Henry Holt did not immediately respond to a request for comment.