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: Police: Man, 2 Children Injured In Crash In Willingboro

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: Big Decision Looming For SEPTA Employees As Union Fights For Better Wages For Its Workers

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: Flames Put Out After Tearing Through Mount Laurel Home

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