An easyJet flight was forced to make an emergency landing when the pilot fell ill and reportedly rushed to the loo mid-air.
EasyJet flight EZY6938 was approaching Edinburgh Airport in the early hours of Sunday morning after flying from Heraklion in Greece.
The crew sent out a Live Squawk 700 alert, which was a request for an expedited landing.
The first officer took control of the craft around 1.20am.
Passengers said the pilot was seen entering the toilet and did not come out until it had landed.
EasyJet confirmed that the first officer did land the plane, but did not say whether the captain remained in the toilet until after the plane had landed.
A passenger told the Scottish Sun: "The captain had been seen going into the toilet and not coming out.
"The plane was met on the runway by five fire engines and two ambulances and after landing.
"The very young-looking co-pilot announced on the tannoy that the emergency response was due to the captain taking ill."
They added that the co-pilot said they had been on duty for 13 hours.
They claimed the plane had pushed back from the stand and waited for 45 minutes for airways to clear prior to taking off from Greece, as it had done on the outward journey at Edinburgh airport.
An EasyJet spokesperson told The Mirror: "EasyJet can confirm that flight EZY6938 from Heraklion to Edinburgh on June 12 requested an expedited landing due to the captain becoming unwell while on approach to Edinburgh.
“The First Officer landed the aircraft in line with standard operating procedures and the captain was met by paramedics on arrival as a precaution.
“The safety and wellbeing of our passengers and crew is always easyJet's highest priority".