BANGOR — A Swiss International Air Lines flight headed to New York was forced to make an emergency landing at Bangor International Airport Monday afternoon after the crew reported smoke in the cockpit.

The Airbus A330 was traveling from Zürich, Switzerland, to John F. Kennedy International Airport in New York when it diverted to Bangor.

A recording from air traffic control captured the crew reporting the emergency.

“292 souls on board, 10,000 tons of fuel remaining. Reporting an active fire in the cockpit. Not able to put it out.”

Passengers say the situation unfolded quickly after the pilot announced there was an emergency.

“The pilot came over and said, ‘We’ve got an emergency, that there’s smoke in the cabin,’” passenger David Weinstein said.

Weinstein said he did not see or smell smoke in the coach section, but passengers quickly realized something was wrong.

“The entertainment screens went off completely, went black. And then all of a sudden we noticed the plane going a bit faster. And Joshua noticed that it was turning. And then obviously we started going down. I was like, this is not normal,” Weinstein said.

Passengers Joshua Morris and Weinstein said the descent happened within minutes.

“It was quite fast. There’s probably about 20 minutes, 15 minutes. We literally just went from there straight down to the ground,” Morris said. “It was a quick descent. My ears were starting to pop and things, which means it was quite quick,” Weinstein said.

After landing in Bangor, passengers say they waited on the runway for about two hours while emergency crews inspected the aircraft.

“We just know that the fire brigade were coming on board. They said they wanted to come on board and check,” Weinstein said. “They checked the plane, made sure it was OK. The pilot wasn’t happy for the plane to continue because they don’t know where the smoke came from.”

Shortly after 3 p.m., the aircraft moved to the international gate, where passengers were able to leave the plane, clear customs and move to the domestic terminal.

Passengers say the airline arranged a replacement flight scheduled to leave Bangor around 6 p.m. Monday.

In a statement, Swiss International Air Lines spokesperson Michael Pelzer said the airline is still investigating what caused the smoke.

“At this time, we cannot yet say with certainty what may have caused the smoke,” Pelzer said. “In a situation like this, we take no risks — which is why our crews always choose the safest course of action and act out of an abundance of caution.”

The cause of the smoke remains under investigation. The nearly 300 passengers were expected to continue on to New York before the end of the day.