Flight 5Y095, an Atlas Air Boeing 747-8 cargo plane, departed from Miami International Airport (MIA) en route to Puerto Rico on Thursday at approximately 10:11 p.m. ET. It soon began experiencing an engine malfunction, immediately turned back to MIA and landed safely within an hour, an Atlas Air spokesperson told Fox News. 

“The crew followed all standard procedures and safely returned to MIA,” the statement read, noting safety is the company’s top priority. Atlas Air also said it will be conducting a thorough inspection to determine what caused the malfunction.

Atlas Air Boeing 747-8 from Miami International Airport CATCHES FIRE MID AIR

The aircraft, a Boeing 747-8, took off from the Miami airport at 10:32 p.m. ET and had been heading to Puerto Rico when it was diverted, according to FlightAware.

The Federal Aviation Administration (FAA) and National Transportation Safety Board are investigating. The FAA said a post-flight inspection showed a softball-size hole above the engine, while the NTSB said it “has opened an investigation and is collecting information to evaluate and determine scope of the investigation.”