Ed Note: The original version of this story failed to note that the incident in question happened in late September.

A passenger caused a Virgin Atlantic flight to make an unscheduled landing after masturbating and attempting to pry open an emergency exit.

The premature landing came about after the Bay Area man, seen wearing a hospital bracelet, got into an argument with a fellow-passenger and eventually attempted to exit the plane through an emergency door, according to KNBC.

Boston police officers were aboard the flight and reportedly apprehended the man as the plane — bound for Los Angeles from Boston — made an unscheduled landing in Nebraska.

One fellow passenger filmed the cops escorting the handcuffed man off the plane.

See the video below, via KNBC: