A Frontier Airlines flight was rerouted mid-air Sunday over a “passenger disturbance.”

Frontier Airlines flight 3345 was scheduled to leave San Juan, Puerto Rico, and arrive in Chicago O'Hare International Airport, but it was diverted to Miami International Airport, according to the Federal Aviation Administration. The flight landed safely in Miami around 11:55 p.m.

This comes just a day after a similar situation occurred on a United Airlines flight headed from O’Hare airport to Minneapolis-St. Paul International. An unruly passenger sparked a security alert after trying to storm the cockpit, diverting the plane to Dane County Regional Airport in Madison, Wisconsin.

• 7 questions left unanswered after Trump's health assessment released

• Frequent flier told she's too big for Southwest seat amid airline policy change

Frontier Airlines said in a statement to Mirror US: "On Sunday, May 31, a passenger on flight 3345 from San Juan to Chicago O’Hare became disruptive and the flight was diverted to Miami. Law enforcement boarded the aircraft in Miami and removed the passenger and the flight subsequently continued on to Chicago a few hours later."

Why did Frontier Airlines flight 3345 have to divert to Miami?

A video was posted on X by @aviationbrk depicting a group of passengers restraining a man in his airline seat while mid-air. The caption claims the situation in the video occurred on Frontier flight 3345.

The caption says: “WATCH: Passengers restrain a man onboard a Frontier Airlines flight to Chicago's O'Hare on Sunday after he reportedly tried to open an emergency exit door in an attempt to jump off the plane mid-flight.”

If you can't see the post above, click here.

An anonymous user on the r/frontierairlines Reddit thread shared their experience on the flight, though their claims have not been confirmed. The user, Excellent_Safety3114, said the situation was the “most terrifying flight of my life.”

“Was on Flight from San Juan to Chicago yesterday. Already started off great with a 3 hour maintenance delay at SJU. Fine, whatever, these things happen,” the user said.

They continued: “Shortly after takeoff, a passenger who was clearly drunk or on something started going absolutely unhinged. We're talking repeatedly trying to open the doors mid-flight, punching other passengers, and attempting to choke a flight attendant.

“The crew was incredible honestly, they stayed composed through the whole thing. Eventually other passengers jumped in and we all had to help restrain this person with whatever we could find on board (seatbelt extensions, I think??).”

Because Puerto Rico is an island, the user noted that there’s nowhere to land until they reach the continental U.S. That meant the passengers were stuck in the air with the disruptive man until the crew could figure out what to do.

“Pilot eventually made the call to divert to Miami. We land around midnight. And then... nothing. No information, no updates, no staff to talk to,” the user alleged. “We were told if we left the gate area, we couldn't come back because TSA had shut down for the night. So we just sat there in a closed airport for 3+ hours with no food, no water, nothing. Eventually we boarded and I got home to Chicago at 6am.”

The passenger said they’ve submitted a complaint and refund request to Frontier.