SEATTLE — Alaska Airlines announced today it is purchasing over 50 Boeing 737 MAX aircraft, marking the airline’s biggest-ever purchase of Boeing planes in its history.

Alaska said it will purchase 52 of the planes between 2024 and 2027. The airline also secured rights for 105 more planes through 2030.

It’s the largest commitment for future aircraft in the company’s 90-year history.

The deal comes on the same day that Boeing reported a $3.3 billion loss for the third quarter, as revenue fell short of expectations and took huge losses for government programs including new Air Force One presidential jets.

The company blamed higher manufacturing and supply-chain costs for driving the losses in government programs.