Passengers aboard JetBlue Flight 191 on Tuesday restrained the flight’s captain after he began screaming about a bomb and had to be locked out of the cockpit, according to the Associated Press.

Passengers said the flight captain left the cockpit to use the restroom. When he exited, he began screaming and banging on the cockpit door.

He then began moving around the plane, telling passengers to “say your prayers, say your prayers,” and yelling “Iran” and “Iraq.”

ADVERTISEMENT

The co-pilot told the passengers over the announcement system to restrain the erratic captain and about four men wrestled him to the ground.

The Las Vegas-bound plane made an emergency landing in Amarillo, Texas. The captain has been taken to a medical facility.

Watch video, courtesy of CBS News, below: