Two Saudi Arabian airlines announced plans on Tuesday to order 78 Boeing 787 Dreamliners, a massive win for Boeing that marks the fifth largest commercial order by value in its history.

State-owned Saudi Arabian Airlines (Saudia) and new national airline Riyadh Air will each buy 39 widebody 787s from the U.S.-based planemaker. The deal contains options for 10 additional Dreamliners for Saudia and 33 for Riyadh Air.

The list prices for 78 planes would total nearly $37 billion, Reuters previously reported.

(Reporting by David Shepardson and Valerie Insinna)