A Europe-bound flight was diverted to Boston's Logan International Airport due to smoke in the aircraft's cockpit.

The Lufthansa flight to Frankfurt, Germany, departed from Newark, New Jersey, after 8 p.m. on Monday evening. 

According to FlightAware, the plane was west of Nova Scotia when it turned around to make an unscheduled landing at Logan International Airport.

Flight sitting on the tarmac at Boston's Logan Airport

A flight from New Jersey to Germany was diverted to Boston's Logan Airport after the cockpit filled with smoke. (Twitter/@Raytakestolls1)

Massachusetts State Police confirmed to Fox News Digital that the flight was diverted due to smoke in the cockpit.

TEMPORARY GROUND STOP ISSUED AT NEW YORK'S LAGUARDIA AIRPORT DUE TO LAW ENFORCEMENT ACTIVITY: FAA

Air traffic control tower at Boston's Logan Airport

The air traffic control tower Planes at Boston Logan Airport on March 13, 2019 in Boston.

"The crew utilized oxygen masks during that time. The plane landed at Logan at 10:25 p.m. without further incident," Massachusetts State Police said in a statement.

Police said the Boeing 747 aircraft had 326 people onboard.

LAS VEGAS AIRPORT FLIGHTS GROUNDED AFTER ‘UNFOUNDED’ REPORTS OF SHOOTING SPARK PANIC

A Lufthansa flight parked at the gate in Germany

Lufthansa Airbus A340 airplane through a window at Frankfurt Airport on May 2, 2018, in Germany.

No injuries were reported.

CLICK HERE TO GET THE FOX NEWS APP

Lufthansa has not responded to Fox News Digital's request for comment.