Boeing Co. agreed to pay $2.5 billion to settle felony expenses that it defrauded the U.S. authorities by concealing details about the ill-fated 737 Max that was concerned in two deadly crashes.

The U.S. planemaker entered right into a deferred prosecution settlement within the Northern District of Texas on Thursday, the Justice Division stated in a press launch.

“The tragic crashes of Lion Air Flight 610 and Ethiopian Airways Flight 302 uncovered fraudulent and misleading conduct by workers of one of many world’s main business airplane producers,” Performing Assistant Lawyer Basic David P. Burns of the Justice Division’s Prison Division stated in a press release.

Boeing shares fell lower than 1% to $211.26 after the shut of normal buying and selling in New York.

A design flaw within the Max helped result in the 2 crashes inside about 5 months in 2018 and 2019, killing 346 folks. A number of investigative studies have discovered that the corporate altered a flight management system, however didn’t absolutely clarify the modifications to Federal Aviation Administration inspectors.

“I firmly consider that getting into into this decision is the best factor for us to do — a step that appropriately acknowledges how we fell wanting our values and expectations,” Boeing Chief Government Officer Dave Calhoun stated in a message to workers. “This decision is a critical reminder to all of us of how crucial our obligation of transparency to regulators is, and the results that our firm can face if any one in every of us falls wanting these expectations.”

The motion is the newest to hit the planemaker’s backside line. The corporate’s lack of ability to ship planes throughout the floor and cancellations of earlier orders have price the corporate billions of {dollars}.

Of the $2.5 billion, Boeing has already put aside $1.77 billion to reimburse airways and different Max clients. The corporate stated it anticipated to incur an extra $743.6 million cost for the fourth quarter of 2020, because it pays a $243.6 million penalty and $500 million in extra compensation for the households of the crash victims. Boeing is scheduled to report earnings for the quarter on Jan. 27.

The airplane, Boeing’s best-selling mannequin, was grounded for 20 months whereas the FAA and regulators in different nations oversaw design modifications to handle issues revealed in investigations. The FAA lifted its grounding on Nov. 18, offered airways accomplished a listing of repairs and revamped pilot coaching.

A felony investigation into how the airplane was designed and authorized started after the Oct. 29, 2018, crash off the coast of Indonesia of a Lion Air flight, however earlier than the second accident close to Addis Ababa.

“The deceptive statements, half-truths, and omissions communicated by Boeing workers to the FAA impeded the federal government’s potential to make sure the security of the flying public,” U.S. Lawyer Erin Nealy Cox for the Northern District of Texas stated in a press launch. “This case sends a transparent message: The Division of Justice will maintain producers like Boeing accountable for defrauding regulators – particularly in industries the place the stakes are this excessive.”

Extra must-read stories from Fortune: