A video on social media shows flames apparently coming from a Boeing plane shortly after takeoff.

The brief clip, captured by someone on the ground, shows flames trailing the Boeing 747-8 plane minutes after it took off from Miami International Airport on Thursday night.

A Miami airport spokesperson confirmed to Newsweek that the Atlas Air flight landed safely at Miami airport just after 11 p.m.

According to FlightAware, Atlas Air 95 took off from the Miami airport at 10:32 p.m. ET and had been heading to Luis Munoz Marin International Airport in Puerto Rico when it was diverted.

The airport spokesperson said it was a cargo flight, but declined to provide additional details, directing inquiries to Atlas Air.

Newsweek has contacted the airline and the Federal Aviation Administration for comment via email.

The incident comes after a Boeing 737 MAX 9 plane was forced to make an emergency landing on January 5 after a panel blew out of the side of the plane shortly after takeoff.

The FAA said that 40 of 171 grounded Boeing 737 MAX 9 planes need to be inspected again before the agency would review the results and determine if it is safe to allow the MAX 9s to resume flying. The FAA said on Wednesday that it is also investigating Boeing’s manufacturing practices and production lines.

This is a breaking news story and will be updated.

An Atlas Air cargo plane prepares to take off from the Miami International Airport in Miami, on June 16, 2021. A video posted on social media showed flames apparently coming from an Atlas Air cargo plane shortly after takeoff.
Chandan Khanna/AFP via Getty Images