MADRID -- A passenger on a delayed Ryanair flight from London who apparently got fed up waiting to get off a plane after it landed in the southern Spanish city of Malaga surprised fellow passengers by using the emergency exit to jump onto a wing.

The incident on New Year's Day took place 30 minutes after the flight from Stansted Airport landed.

A Ryanair passenger who apparently got fed up waiting to get off a plane stands on the wing of a Ryanair plane at Malaga airport, Spain, Jan. 1, 2018, filmed by another passenger. Fernando del Valle Villalobos/AP

The man, who has not been named but is said to be a non-Spanish citizen, was coaxed back onto the plane while police were called.

Get Breaking News Delivered to Your Inbox

Fellow passenger Fernando del Valle Villalobos, who videoed the incident, said he heard the man say he got fed up waiting.

"I was astonished," del Valle, 25, told The Associated Press in a telephone interview.

He said the passengers were standing in the aisle waiting to get off the plane when the man "very calmly asked permission to get past, opened the emergency exit, looked out, saw the wing, went back for his back-pack."

Later, he said the captain came out and asked the man why he had done it and del Valle heard him say clearly that he was sick of waiting inside. The passengers, except the man in question, were kept a further 15 minutes on the plane before being let off.

Police said Wednesday that they have opened a complaint against the man for breaching security.

Ryanair said the incident was now in the hands of Spanish authorities.