After waiting for a long time to disembark from a Ryanair flight at Malaga airport in Spain, a passenger got impatient and decided to exit the plane via its emergency gate, Monday.

The 57-year-old Polish man, whose name was not released, lost his cool when passengers onboard flight FR8164 were told to wait before disembarking the plane. Taking his hand luggage along with him, he opened the emergency exit, climbed on top of one of the wings of the plane and sat there, Guardian reported. 

This led to the staff on the flight becoming anxious thinking the man might decide to jump onto the tarmac. The crew was then able to convince the man to return to the plane, where he was held until law enforcement arrived and arrested him for his deed.

Flight in question arrived from London after getting delayed for an hour at the Stansted Airport on New Year’s Day. It landed at Malaga at 11 p.m. local time (5 p.m. EST) without giving its passengers any explanation as to why it was delayed before taking off.

Apart from this, after the flight reached its destination, the passengers were told to wait another half an hour before they could start disembarking. The additional delay caused the Polish man to grow impatient and take the illegal way out.

Fernando Del Valle Villalobos, one of the passengers on the plane who witnessed the incident, told Mail Online: “He activated the emergency door and left, saying, ‘I’m going via the wing’. It was surreal.”

Villalobos added, BBC reported, “He was sat on the wing for quite a while until the crew managed to get him back inside.”

Raj Mistry, another fellow passenger at the scene, said the man suffered from asthma and struggled to breathe inside the plane. It was not immediately known whether the air conditioning system that, under normal circumstances should be turned on if the flight is grounded on the tarmac, was working or not.

“This airport security breach occurred after landing in Malaga airport on January 1st,” a Ryanair spokesperson said. “Malaga airport police immediately arrested the passenger in question and since this was a breach of Spanish safety and security regulations, it is being dealt with by the Spanish authorities.”

This is not the first time a Ryanair passenger tried to pull a similar stunt. In 2016, one passenger jumped from a disconnected bridge and sprinted across the tarmac towards a Ryanair flight in order make it in time for a flight to Gran Canaria, Spain.

The incident was captured on video, where the man was seen running toward a Boeing 727 that had already pulled away from the terminal. However, he was soon apprehended by the airport staff and faced a hefty fine for his stunt, the Independent reported.