A pilot was removed from a plane before a flight from Austin to San Francisco Saturday evening.

The incident was on United Airlines Flight 455. The flight was scheduled to depart at 5:02 p.m. but was delayed for two hours after the pilot went on what passengers described as a "rant."

Passengers said the pilot came into the cabin wearing "street clothes" and talked about going through a divorce and the presidential election.

United Airlines released the following statement to KVUE:

We hold our employees to the highest standards and replaced this pilot with a new one to operate the flight, which we expect will depart shortly. We apologize to our customers for the inconvenience.

One passenger on the plane, Randy Reiss, said that the pilot came on the plane wearing "street clothes" and started talking to the passengers. She told them she was going through a divorce and commented on the presidential election. Reiss said that the pilot also said she was going to be on 'Oprah.'

"Being a pilot is a tough and stressful job, she was just not equipped today to do it," Reiss said. "She seemed in an emotionally tough space, so I hope she finds the help she probably needs."

The Washington Post reported the pilot's speech spurred more than a dozen passengers to leave the aircraft.