A copilot’s decision to enjoy a puff on his e-cigarette caused chaos during the flight and ended up costing him his job.

The incident happened last week during an Air China flight from Hong Kong to Dalian, a city about 300 miles east of Beijing, the South China Morning Post reported.

To prevent the e-cigarette’s vapor from reaching the cabin, the co-pilot thought it would be a good idea to switch off the ventilation fan. But he accidentally shut off the air-conditioning system instead.

The mistake caused oxygen levels in the cabin to drop, prompting an altitude warning that forced the Boeing 737 to embark on an emergency descent. The 153 passengers realized something was up when their oxygen masks dropped down from the ceiling. Meanwhile, the aircraft made a rapid descent from more than 32,000 feet to around 13,000 feet in less than nine minutes, according to CNN.

Once the crew managed to figure out what had happened, the plane later returned to its regular altitude and landed safely at its intended destination. The aircraft escaped any damage and there were no reports of injuries among passengers.

After the plane landed in Dalian, passenger Hoby Sun told CNN, “We didn’t know what was going on, nor did the flight attendants, it seemed,” adding, “I’m not physically hurt, but the psychological impact lingers. When I close my eyes, I see the oxygen masks dangling in front of me.”

Air China said in a statement that after conducting an internal investigation, it had decided to terminate the contracts of both the copilot and the captain of the aircraft. It also promised to put measures in place to prevent such an incident from happening again.

The airline also recommended that the Civil Aviation Administration of China (CAAC) revoke the pilots’ licenses once it had finished its own investigation into the matter. The CAAC is now examining the aircraft’s flight data recorder and voice data recorder to piece together everything that happened during the chaotic flight.

Chinese aviation regulators banned the use of e-cigarettes on passenger planes in 2006. But it seems that Air China’s copilot thought he could get away with a sneaky puff on his device during the flight from Hong Kong to Dalian.

Amazon Prime brings more perks than just free two-day shipping. Subscribers get access to a huge library of TV shows to stream at no extra cost. Here are our favorite TV shows currently available on Amazon Prime.

Save yourself from hours wasted scrolling through Netflix's massive library by checking out our picks for the streamer's best movies available right now, whether you're into explosive action, subdued humor, or anything in between.

In a bid to improve quality of life for cancer patients, a team of researchers at the Massachusetts Institute of Technology have turned to machine learning to help avoid toxicity from cancer medications.

A biohacker, pharmahacker, and two bioethicists walk into a bar. We ordered them a metaphorical round and had a chat about the risks and rewards of DIY medicine — from unsanctioned gene therapy to medication made on the kitchen counter.

Thanks to a new moon, 2018's Perseid Meteor Shower will be much easier to view, with even the dimmest meteors observable by the naked eye. Here's how to see the show this weekend, and where the views will be the best.

In the world of crowdfunding, there’s no such thing as a sure thing. There's a million reasons why a project might fail. But with this handy guide, you'll be able to spot the signs of a sketchy project and decrease your chances of getting…

Long haul truckers are very good at their jobs, but they face long hours and unpredictable conditions. Autonomous tech may be coming, but here’s how lidar technology companies are working to enhance trucking safety today.