A scheduled flight from Minneapolis to Los Angeles turned around and went back to Minnesota after two passengers suffered a midair meltdown over restroom use, authorities said.

Shortly after Delta Flight 2565 took off at 6:20 p.m. Wednesday, a woman got up to use the bathroom at a time when passengers were supposed to remain seated, officials told ABC News.

When crew members told her to sit down, the woman and her male companion freaked out, witnesses said, and even took swings at fellow passengers.

The Delta pilots went back to Minneapolis-St. Paul Airport, where cops boarded and took the rowdy pair off the plane just one hour after the original takeoff.

Anna Christine Koosmann, 36, of Edina, Minnesota, was ticketed for disorderly conduct and obstructing police, officials said.

Blake Adam Fleisig, a 35-year-old Los Angeles resident, was ticketed for disorderly conduct involving brawling or fighting.

Delta said the crew “elected to return to Minneapolis shortly after takeoff when two passengers refused to follow crew instructions, became aggressive and created a disruption in the cabin.”

With Post wire services