An American Airlines plane made an emergency landing in Moncton, N.B., on Tuesday after there were reports of smoke in the cockpit.

The Boeing 777, which was on its way to Chicago from Heathrow Airport in London, landed in Moncton at approximately 3 p.m.

The plane was searched by members of the Dieppe Fire Department and mechanics from the airline, who determined the smoke was caused by an electrical fire.

"They had a smell, an electrical smell in the aircraft and it turned out it was an overheated battery," said Chris Farmer, the director of operations at the Greater Moncton International Airport.

"I'm not an aircraft engineer, but it's quite serious, it's obviously a fire hazard and it was serious enough for them to consider diverting to Moncton."

The doors on the plane were opened to allow the smoke to clear. By 5:20 p.m. AT, emergency crews had left the tarmac of the airport.

"Because it was an emergency call, we activated our emergency plan and the first thing we do is notify our emergency partners," said Farmer.

In addition to members of the Dieppe Fire Department, police officers, ambulance crews and the airport's firefighters also responded to the call.

There are no reports of any injuries.

Johanne Gallant, a spokeswoman for the Greater Moncton International Airport Authority, said the 150 passengers on board were taken off the plane and were waiting for another American Airlines plane to pick them up.

While the other plane was originally scheduled to arrive in Moncton from New York at 6 p.m. AT, officials said the plane was now expected later Tuesday night.

The passengers were taken to a secure room at the airport where they could wait without having to go through customs.