A day before President-elect Donald Trump threatened one of Boeing’s most high-profile defense procurements, the deal to build the new Air Force One, the company had finalized a deal to pledge $1 million for his inaugural festivities, the company said Thursday.

Boeing has a long history of helping defray the costs of inaugurations, and the company gave the same amount for Obama’s second inauguration in 2013.

The company finalized the contribution with the inaugural committee on Monday. Then on Tuesday, Trump tweeted that the cost of the Air Force One program was too high and should be canceled.

He tweeted that costs “are out of control, more than $4 billion. Cancel order!” Later, he told reporters that he thought the cost was “ridiculous. I think Boeing is doing a little bit of a number. We want Boeing to make a lot of money, but not that much money.”

Hours after the tweet, Trump spoke with Boeing chief executive Dennis A. Muilenburg, who assured him that the company would work to keep costs down and work with the administration on the program.

Trump then called Muilenburg “a good man” and “a terrific guy” on the “Today” show and said, “We’re going to work it out.” Of the deal, Trump said: “We’re going to get the prices down, and if we don’t get the prices down, we’re not going to order them. We’re going to stay with what we have.”

Despite the tension, Boeing said it is committed to supporting the festivities in January. USA Today first reported the pledge.

Christian DavenportChristian Davenport covers the defense and space industries for The Washington Post's Financial desk. He joined The Post in 2000 and has served as an editor on the Metro desk and as a reporter covering military affairs. He is the author of "The Space Barons: Elon Musk, Jeff Bezos and the Quest to Colonize the Cosmos" (PublicAffairs, 2018). Follow