A Boeing 737 MAX 8 is pictured outside the factory on March 11, 2019 in Renton, Washington.
CNN  — 

Boeing once had a reputation for unmatched safety and quality, an economic giant and a shining example of American industrial prowess. No longer.

Since late 2018, a series of setbacks has besieged the company, including two fatal crashes that grounded its best-selling jet and an incident where a door plug detached in mid-air, leaving a gaping hole in a jet’s side.

In addition to the loss of 346 lives in the two crashes, the problems have cost the company tens of billions of dollars and damaged its reputation. Here’s how Boeing got to this point.