An Amazon cargo plane barreled off a runway at Miami International Airport on Sunday, killing at least five people as it struck vehicles and burst into flames, authorities said.

The aircraft overran the runway around 2 p.m. after arriving from San Juan, Puerto Rico. Five people were killed, three critically injured and two others hospitalized with less severe injuries, Miami-Dade County officials told a news conference. Miami officials said Sunday afternoon that it was too soon to determine whether the people who died were on board the plane or in the vehicles the plane hit.

The crash, which sent thick black smoke billowing into the sky, trapped the pilot and copilot in the cockpit and some occupants in cars, said Miami-Dade Rescue Fire Chief Ray Jadallah. The agency said another person was trapped under a vehicle.

It also halted flights at the busy travel hub for much of the afternoon. Fire crews were still dealing with a fuel leak on the plane several hours after the crash, Jadallah said.

The Prime Air plane came to rest beside a roadway near two semi-trucks, images from the scene showed. The aircraft appeared to be resting on its belly and was largely intact despite the fire. More than