ALBANY, N.Y. (AP) — An American Eagle flight from New York City’s LaGuardia Airport to Montreal was diverted to an upstate airport after smoke was reported in the cockpit and cabin on Tuesday, but it made a safe emergency landing.

Flight 3364 was just north of Albany International Airport when the crew reported an odor and smoke, airport spokesman Doug Myers said. The plane, which had 36 passengers and three crew members, was cleared for the emergency landing at about 5 p.m. Tuesday.

The passengers and crew members were taken off the plane, and there were no injuries.

Airport fire and safety crews were trying to determine the cause of the smoke.

The airport spokesman initially said it was unclear how the travelers would resume their trip because American Eagle doesn’t serve Albany. But Fort Worth, Texas-based American Airlines, which is owned by AMR Corp., said it was sending another plane for the passengers.

“We are sending a replacement aircraft to pick up those passengers and continue them on to Montreal,” spokesman Mike Trevino said.

The new plane was scheduled to have the passengers in Montreal by Tuesday night, he said.