American Airlines announced the decision to buy 47 Boeing 787 Dreamliners for a total of $12 billion. It is the second U.S.-based company this year to prefer Boeing to Airbus after Hawaiian Airlines in March 2018.

The airline chose to power the Dreamliners with General Electric Aviation’s GEnx-1B and signed another $6.5 billion contract for the engines and their maintenance for the next 20 years.

“This was a difficult decision between the Boeing 787 and the Airbus A350 and A330neo and we thank both manufacturers for their aggressive efforts to earn more of American’s business,” said President of American Airlines Robert Isom. “In the end, our goal to simplify our fleet made the 787 a more compelling choice.”

Indeed, as explained in the statement, that choice will allow American Airlines to reduce its number of widebody aircraft types from five to three in the future.

This decision comes as a blow for Airbus which has been struggling to sell its long-haul planes. So far, according to Airbus order book, no A330-800neo has been sold yet.