Flying isn’t always fun, but it’s much worse when you land hundreds of miles from where you’re supposed to be.

Footage uploaded to social media shows an irate passenger arguing with flight attendants when he realizes that he’s on the wrong flight. Unfortunately for him, he didn’t discover the mistake until after the plane had already begun to land, leaving him stuck in the wrong city.

The passenger was flying from Pisa, Italy, and boarded a Ryanair flight bound for Bari, in southern Italy, the New York Daily News reports. Unfortunately, he was supposed to be on another plane which was headed to Cagliaria, the capital of Sardinia. Nobody realized the mistake until the plane began making its descent in Bari.

RYANAIR PASSENGER TRIES TO OPEN DOOR MID-FLIGHT: 'I WILL KILL EVERY ONE OF YOU'

Footage of the incident was uploaded to Twitter by a fellow passenger with the caption “landed. He realizes that he is in Bari and not Cagliari.” The video shows the man yelling at flight attendants. He angrily asks them how he was able to get through the ticket checks with a ticket for another plane. He then complains that he spent $446 to purchase his ticket and that he doesn’t have any more money.

CLICK HERE TO GET THE FOX NEWS APP

A spokesperson for Ryanair provided Fox News with the following statement: “We have asked our third-party handling agent at Pisa to investigate this matter and ensure it does not recur.”