BOSTON (CBS) – A passenger on a JetBlue flight from Boston to San Juan, Puerto Rico was arrested after he allegedly choked a flight attendant and tried to enter the cockpit.

Flight 261 was about an hour out from landing in San Juan after taking off from Logan Airport Wednesday night when the attack happened.

READ MORE: Judge Bars Chicago Police Union President John Catanzara From Encouraging Officers To Defy City's Vaccine Mandate

Investigators say Khalil El Dahr tried to make a cell phone call. When the call did not go through, he became agitated. He eventually rushed towards the cockpit yelling that he wanted to be shot in Spanish.

READ MORE: Chicago Weather: Chilly Tonight, Sunny And Cool Weekend

Just as that happened, a flight crew officer opened the cockpit door. El Dahr then allegedly choked a flight attendant with his own tie and attempted to enter the cockpit.

It took six or seven crew members to restrain El Dahr using neck ties, flex cuffs and four seat belt extensions.

MORE NEWS: Sky Cruise To 86-50 Win Over Mercury, Take 2-1 Lead In WNBA Finals

El Dahr was arrested in San Juan and is facing federal charges.