A military jet made an emergency landing at Midway Airport Wednesday afternoon, according to officials.

The U.S. Navy F-18 was headed to Virginia from an airshow in Wisconsin when the plane’s pilot requested an emergency landing in Chicago after experiencing an engine malfunction, military officials said.

The jet landed safely at 12:40 p.m. with two passengers on board.

The cause of the F-18’s engine malfunction is under investigation.