The Justice Department filed a civil lawsuit Tuesday against former National Security Agency contractor Edward Snowden for violating his non-disclosure agreements with the CIA and the NSA by writing a new book about his leaks.

Snowden’s memoir, "Permanent Record,” hit bookshelves Tuesday. Snowden, who famously leaked classified documents about government surveillance, has avoided prosecution by living in Russia.

EDWARD SNOWDEN SAYS HE WILL RETURN TO US ON ONE CONDITION

“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,” said Assistant Attorney General Jody Hunt of the Department of Justice’s Civil Division.

The filing alleges that Snowden violated his non-disclosure agreements by failing to submit his manuscript to the agencies for pre-publication review, as is a standard process for former employees and contractors of the agencies.

The DOJ aims to ensure that no funds are transferred to Snowden or at his direction while the court is resolving the United States' claims. The immediate consequence could be the freezing of book revenue.

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

This case was filed in the Eastern District of Virginia and is separate from the criminal case against Snowden for allegedly disclosing classified information.

Snowden responded to the lawsuit, tweeting, "The government of the United States has just announced a lawsuit over my memoir, which was just released today worldwide. This is the book the government does not want you to read."

Attorney General William Barr approved the lawsuit, according to a source familiar with the situation.

Edward Snowden appears on a live video feed broadcast from Moscow at an event sponsored by ACLU Hawaii in Honolulu, on Feb. 14, 2015. (AP Photo/Marco Garcia, File)

Snowden’s memoir tells his life story in detail for the first time, explaining why he chose to risk his freedom to become perhaps the most famous whistleblower of all time.

Snowden writes in the book that his seven years working for the NSA and CIA led him to conclude the U.S. intelligence community "hacked the Constitution" and put everyone's liberty at risk and that he had no choice but to turn to journalists to reveal it to the world.

"I realized that I was crazy to have imagined that the Supreme Court, or Congress, or President Obama, seeking to distance his administration from President George W. Bush's, would ever hold the IC [intelligence community] legally responsible — for anything," he writes.

His decision to turn from obscure IC wonk to whistleblower in 2013 set off a national debate about the extent of government surveillance by intelligence agencies desperate to avoid a repeat of the Sept. 11 attacks. Intelligence officials who conduct annual classified assessments of damage from Snowden's disclosures say the documents will continue trickling out into the public domain for years to come.

Amid the release of his book, Snowden this week called on French President Emmanuel Macron to grant him asylum.

CLICK HERE TO GET THE FOX NEWS APP

But in an interview Monday on “CBS This Morning,” Snowden said he would like to return to the United States one day if he can get a fair jury trial.

“That is the ultimate goal, but if I’m going to spend the rest of my life in prison then my one, bottom-line demand that we all have to agree to is that at least I get a fair trial,” Snowden said.

Fox News' Catherine Herridge and The Associated Press contributed to this report.