A Ryanair flight from Edinburgh to Alicante was forced to land at Glasgow Prestwick after being struck by lightning.
The incident happened shortly after the flight took off from Edinburgh at about 18:15.
Following Ryanair procedure it was diverted to the nearest available airport.
It was inspected by engineers and took off for Alicante after being given the all-clear.
A Ryanair spokesman said: “We apologise to passengers affected by this short delay, however the safety of our passengers, crew and aircraft is our number one priority.”