One firefighter was injured in the accident.

Credit: FG/Bauer-Griffin / Contributor

A collision between two jets caused a scary situation at Toronto's Pearson Airport on Friday.

A WestJet flight from Cancun with 174 people onboard had just arrived in Toronto and was waiting to proceed to its gate when it was hit by an empty Sunwing airliner being towed by the airline's ground service, CBC News reports. The empty plane's wing burst into flames after the collision, causing panic among passengers on the WestJet aircraft. A passenger caught the incident on video and posted it on Instagram Friday.

Passengers on the WestJet flight were evacuated, CBC reports, and a firefighter responding to the scene was sent to the hospital after his face was exposed to a chemical, possibly antifreeze. A spokesperson for the Greater Toronto Airports Authority told CBC that the firefighter was released and is expected to make a complete recovery.

Investigators are reportedly gathering information about the incident, including "how many ground crew were present, how many are required [and] what the procedures are for this type of maneuver," a Transportation Safety Board of Canada spokesperson told CBC.

Swissport, the ground crew that was towing the Sunwing plane, apologized for the accident, but maintained that it was operating under all safety regulations.

"Ensuring the safety of our staff, our partners and travellers is paramount to Swissport. We regret this incident and are cooperating fully with the Transportation Safety Board of Canada's investigation," a spokesperson told CBC.