The Mexican airline Viva Aerobus said one of its planes suffered an engine failure while covering a domestic route, but that the craft landed safely.

2 DEAD AFTER PLANE CRASHES IN GULF OF MEXICO SHORTLY AFTER TAKING OFF FROM VENICE, FLORIDA

Mexico Fox News graphic

A Guadalajara-bound Mexican airliner landed in Puerto Vallarta after one of its engines reportedly burst into flames. (Fox News)

The twin engine Airbus A320 was flying from the Pacific coast resort of Puerto Vallarta to the western city of Guadalajara when the mishap occurred Wednesday afternoon, the company said.

SMALL MEXICAN AIRLINE AEROMAR ANNOUNCES CLOSING DUE TO FINANCIAL PROBLEMS AFTER PANDEMIC

The plane returned to Puerto Vallarta and landed safely. Video posted on social media shows flames shooting out of the engine while in the air. The company said "the aircraft was under control at all times and the welfare of all those on board was preserved."

CLICK HERE TO GET THE FOX NEWS APP

On Tuesday, two airplanes were involved in a mishap on a taxiway at Mexico City's international airport. One of the planes' wingtip hit the horizontal stabilizer of the other aircraft. No injuries were reported.