The Navy Seal who wrote a best-selling book detailing the secretive raid that killed al-Qaeda leader Osama bin Laden must pay the US Government at least US$6.8 million ($9.3m).
The payment is under a deal reached to avoid prosecution for not getting pre-publication approval for the work.
The deal had been expected, and was outlined in a six-page decree filed in federal court in Alexandria, Virginia.
It ends a nearly four-year saga for Matthew Bissonnette that began with the publication of No Easy Day: The Firsthand of the Mission that Killed Osama bin Laden one year after the raid.
Bissonnette ran afoul of the law for not adhering to a non-disclosure agreement he signed as a Seal that stated that he would submit any work for review by the Pentagon to make sure no classified information was revealed.
A decree signed by both federal authorities and Bissonnette and filed on Saturday said the Seal and the Government reached the deal after "extensive negotiations".
It holds that Bissonnette must pay US$2.76m within 30 days, and an additional US$1.38m within six months.
He also must file amended tax returns within six months that all of the proceeds he made on the book belong to the United States.
Bissonnette, who wrote the book under the pen name "Mark Owen," also agreed to pay the Government US$100,000 for a presentation on leadership that he gave that used slides that included information that was not submitted for Pentagon review first, the decree adds.
The agreement "does not discredit Mr Bissonnette's military service, but reinforces that it is important for our service members and individuals who have been assigned positions of trust and granted access to classified information to comply with the obligations set forth in their non-disclosure agreements," said Nicole Navas, a Justice Department spokeswoman.
The news was first reported by the Daily Beast, which added that Bissonnette also must pay US$1.3m to the Government in legal fees, which he paid using profits from the book.
A lawyer representing Bissonnette on the case, Robert Luskin, did not respond to requests for comment. Bissonnette told the Daily Beast that previous accusations that he leaked classified information in the book have gone away.
"After the initial accusations of me leaking all that classified stuff . . . they found nothing," Bissonnette told the Daily Beast. "They were just upset with me and wanted to get me one way or another. For four years, they looked into every little thing. Now . . . one signature and it all goes away," he said.
The Justice Department previously dropped two other investigations into Bissonnette, including one this year that scrutinised whether consulting work he had done while still on active duty violated conflict of interest laws. He served in Seal Team 6, known in the military as US Naval Special Warfare Development Group, or DEVGRU.
Last year, federal prosecutors in Southern California reached a separate agreement with Bissonnette in which he would not be charged for what they considered the unauthorised release of classified information in exchange for returning the proceeds he earned.