Defense contractor Raytheon on Wednesday agreed to settle allegations it defrauded the U.S. government and bribed a Qatari official for $950 million.

Now a subsidiary of RTX, the aerospace and defense unit entered into two deferring prosecution agreements, resolving charges brought by the Department of Justice in both Brooklyn and Massachusetts.