At the height of the COVID-19 pandemic the outlook for United Airlines and rivals looked bleak.

“The pandemic was the most catastrophic event in the history of commercial aviation,” said Robert Rivkin, United’s senior vice president and chief legal officer.