This report originally appeared on LAist.com

A Virgin America flight headed from Boston to L.A. Monday had to stop in Omaha because of an allegedly drugged man who was masturbating mid-flight, who later tried to open an exit door.

The Omaha Police Department says that 26-year-old Doug Adams of Woodside, California became increasingly frenzied during the flight, touching himself and attempting to open the emergency door, forcing the crew to land, NBC reports.

Christie O'Toole, a Virgin America spokesperson, said in a statement that the plane had to land because of a "medical incident involving a guest on board." However, Omaha Police say Adams' behavior was due to a drug-related mental breakdown, according to ABC.

Filmmakers Sam Slater and Paul Bernon (both producers of Drinking Buddies) were sitting in front of Adams during the flight, and said that Adams was wearing a hospital bracelet.

Slater, who also shot cellphone footage of Adams being taken off the plane in handcuffs by police in Omaha, told CBS that Adams was muttering about not wanting to be a violent person. Then he began arguing with a woman seated next to him after returning from the bathroom. After a doctor on the flight took Adam's blood pressure, the flight crew and two off-duty Boston police officers moved him to a seat by himself in the back of the plane.

That's when Adams began trying to open the emergency exit door. At one point, Slater tweeted that he helped restrain Adams.

Adams was taken to a nearby hospital after being removed from the plane, according the U.S. Attorney's Office.