In a video recorded by a passenger, a flight attendant and fellow passenger are seen attempting to extinguish the flames with bottles of water and juice. Security and fire departments came to the scene and the fire was put out with their assistance.

The passenger responsible for the fiery package was escorted off by the police to help in the investigation. Evidence shows that the power bank, most likely powered by a lithium-ion battery, was not being used when it caught fire, the airline said.

The news site also reported that no other damage was caused because of the fire.

A replacement aircraft was brought in to the Guangzhou Baiyun International, where it departed for Shanghai Honggiao International Airport at 2:53 local time, three hours after the original scheduled time according to FlightAware.

Lithium-ion batteries – used in cell phones, laptops and power banks – have been known to catch fire. The batteries are banned from checked luggage, but are allowed in carry-on luggage, as long as they can be turned off.