The KLM flight from Amsterdam to Toronto was diverted to Glasgow Airport on Thursday, after likely declaring a general emergency, known as a “7700 squawk,” mid-flight.

The Boeing 777, operating as flight KL691, had departed Amsterdam Schiphol at approximately 1.20pm UK time, bound for Toronto Pearson International Airport.

About an hour into its journey, flight tracking data showed the aircraft entering a holding pattern above Lanarkshire before diverting to Glasgow.

The plane landed safely at approximately 2.50pm.

KLM has shared with our sister title the Herald, that the flight had to be diverted to Glasgow Airport due to a medical emergency.

The aircraft later continued its journey to Toronto, departing Glasgow at around 4.15pm.

The 7700 squawk code is a squawk code that is reserved for emergency situations.

When broadcast by an aircraft’s transponder, it alerts Air Traffic Control (ATC) and other units that the aircraft squawking 7700 is in distress.

The code can be entered by pilots or instructed by air traffic controllers.