JetBlue
JetBlue pilot Clayton Osbon is pictured on the runway in Amarillo, Tex. on Tuesday. REUTERS

Clayton Osbon, a JetBlue pilot, was detained during a flight bound for Las Vegas on Tuesday after he freaked out in front of passengers and crew members.

The flight made an emergency landing in Texas after the pilot was wrestled to the ground and subdued for what witnesses and authorities are calling erratic behavior.

JetBlue spokesperson Tamara Young said in a statement emailed to IBTimes that a medical situation developed involving the captain, prompting the co-pilot to make an unscheduled landing at Amarillo's Rick Husband Airport.

Passengers and crew have described the medical situation as a panic attack, but no official reports have confirmed the assumption.

Osbon's JetBlue episode brings to mind other similar occurrences where flight attendants and pilots went rogue on their passengers.

Airlines such as Southwest, JetBlue, and American Airlines are all accustomed to the bad publicity that comes with their employees crossing the line while on the job:

American Airlines Flight 223

An American Airlines flight attendant was subdued by passengers after she launched into a tirade about the plane crashing. The flight attendant started off by telling the passengers that the flights take-off would be delayed due to technical problems. After another flight attendant made an announcement that contradicted the previous one, the erratic woman persisted.

According to the Huffington Post, the flight attendant came on the PA system ranting about American Airlines bankruptcy issues before telling passengers the plane was going to crash.

Captain, I am not responsible for crashing this plane, she was quoted as saying by the Dallas Observer.

The flight from Dallas to Chicago was about to take off when it had to be sent back to the gate. A group of male passengers subdued the woman and authorities met the flight at the gate.

After the incident, the crew was swapped and the plane was cleared to take off.

JetBlue: Steven Slater Controversy

An altercation occurred after JetBlue Airways Flight 1052 from Pittsburgh landed in New York.

Upon landing, flight attendant Steven Slater announced over the plane's public address system that he had been called an obscenity by a passenger. He followed by quiting his job, deploying the evacuation slide at the terminal gate, and sliding down it.

Slater later went into detail about the incident, saying that a passenger stood up too early to retrieve her bag from the overhead compartment. After repeatedly being instructed to remain seated, the passenger continued to remove the bag, and in doing so, hit Slater in the head with a bag. When asked for an apology, the passenger responded with profanity.

Southwest Airlines Pilot Rant (WARNING: INAPPROPRATE LANGUAGE)

A foul-mouthed Southwest Airlines pilot was suspended after inadvertently broadcasting an obscenity-laced tirade heard by other airplane crew and controllers.

In the rant, the unidentified pilot unleashed a slew of expletives as he ripped into his co-workers' sexuality, age and size.

According to CNN, the pilot on the Austin to San Diego flight was referring to the sexual orientation, age and attractiveness of flight attendants while speaking to a fellow crew member. The microphone became stuck and was heard by others for more than two minutes.

JetBlue Pilot Freakout

JetBlue Pilot Clayton Osbon was detained during a flight bound for Las Vegas on Tuesday after acting out in front of passengers and crew members.

The flight made an emergency landing in Texas after the pilot was wrestled to the ground and subdued for what witnesses and authorities are calling, erratic behavior.

The pilot ran to the cockpit door, began banging on it and said something to the effect of, 'We've gotta pull the throttle back. We've gotta get this plane down', Laurie Dhue said in an interview with CNN.

The pilot was eventually fully restrained and another captain, traveling off duty, entered the flight deck to take over command. The flight diverted to Amarillo, Texas at around 10 a.m. local time according to JetBlue officials.