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: Miami Proud: Artist Edouard Duval-Carrié's Work Focuses On Haitian People And Its History

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: Prayer Vigil Scheduled Thursday For Slain Hollywood Police Officer Yandy Chirino

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: Miami-Dade Public Schools Could Ease Mask Mandate By End Of Month, Reports Herald

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