A Southwest flight from Salt Lake City to Los Angeles was forced to make an emergency landing shortly after takeoff when pilots noticed an engine issue. Witnesses on the ground saw flames coming from the aircraft.

An airport spokesperson confirmed that pilots became aware of a “performance issue” in the right engine and turned the plane around for an emergency landing. The flight took off at 6:38 a.m. Monday morning and landed back at the airport at 7:19 a.m., according to FlightAware.

There were 110 passengers and five crew members on board the Boeing 737.

One of the passengers, Traci Scarce, told ABC News that “there were sparks and flames coming from outside” and “it sounded like there was a stalling engine.” One reddit user took video from the ground which appears to show the aircraft with flames flying from one of the engines.

Scarce said that cabin crew was able to maintain calm until the aircraft landed on the tarmac where emergency personnel were waiting.

The passengers boarded a new aircraft and arrived in Los Angeles later that morning.