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: 'Run-Hide-Fight Really Does Work': Tree Of Life Survivor Audrey Glickman Wants Others To Remember 'It Can Happen Again'

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: Community Garden In Pittsburgh Holds Volunteer Events To Help Community Heal After Tree Of Life Shooting

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: Study: Rural Home Sales In Pennsylvania Increased During Pandemic

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