A passenger jet bound for Edinburgh declared a mid-air emergency after one of the passengers became unwell during the flight.
The flight was arriving from Palma de Mallorca to Scotland and sent a 7700 squawk code to signal that there was an emergency on the flight, reports the Scottish Sun.
A 770 Squawk code is the signal used by airlines when there is an emergency incident which requires ground assistance but the plane is already in the air.
READ MORE: Edinburgh Airport: The incredible island spots you can jet off to from the capital
The jet departed the Spanish island at half past ten this morning and was due to land in the capital at 1.08pm.
Jet2 have confirmed that a passenger on the flight had fallen unwell and the crew requested medical attention.
A spokesperson for the airline said: “Due to a customer requiring medical attention, our crew requested medical assistance upon landing.”
This comes just a few days after a flight was diverted as it flew over Fife to Edinburgh Airport during a similar incident.
The Scandinavian Airlines flight from Sweden to Ireland also put out a 770 squawk code after a passenger fell ill on the flight.
The flight was due to land in Ireland at 11.10am in the morning but was forced to divert its course.
The jet was diverted to Edinburgh Airport and landed to deal with the emergency.
Passengers on the Airbus A320 were made to disembark at this time as well.