A Massachusetts man is facing charges after he allegedly tried to open an emergency exit door while aboard a United Airlines flight from Los Angeles to Boston and then allegedly attempted to stab a flight attendant in the neck, the US Attorney’s office said on Monday, according to WCVB-TV in Boston.

Francisco Severo Torres, 33, was charged with one count of interference and attempted interference with flight crew members and attendants using a dangerous weapon following the incident, which took place on Sunday.

According to court documents, about 45 minutes before United flight 2609 landed in Boston, the flight crew received an alarm in the cockpit that a starboard side door located between the first class and coach sections of the aircraft was disarmed.

A flight attendant found that the Boeing 757's door's locking handle had been moved out of the fully locked position and that the emergency slide arming lever had been moved to the "disarmed" position, according to documents.

The flight attendant reported this to the captain and flight crew after securing the door and emergency slide.

Another flight attendant reported that he saw Torres near the door and believed Torres had tampered with the door. When confronted about the door, Torres asked if any cameras showed him tampering with the door. The flight attendant then notified the captain that they believed Torres posed a threat to the aircraft and that the captain needed to land the aircraft as soon as possible, according to court documents.

Shortly thereafter, investigators said Torres got out of his seat and approached two flight attendants, one of which reported seeing Torres mouth something they could not hear. Torres then allegedly thrust one of the flight attendants in a stabbing motion with a broken metal spoon, hitting the flight attendant on the neck area three times, the documents say.

Torres was tackled by other passengers, and he was restrained with the assistance of the flight crew.

Torres was arrested Sunday night at Logan Airport. He made an initial appearance Monday in US District Court and was detained pending a hearing on Thursday.

The charge of interference and attempted interference with flight crew members and attendants using a dangerous weapon provides for a sentence of up to life in prison, up to five years of supervised release and a fine of up to $250,000, according to WCVB-TV.