A United Airlines passenger says she was ordered back to her seat when trying to use the bathroom on board a plane.

Nicole Harper said it happened a few weeks ago when she was traveling from Houston to Kansas City.

The nurse said she’s lived with an overactive bladder all her life.

"I said I'm going to need to use the restroom or I'm going to need a cup." 

She was given a cup because the fasten seatbelt sign was on.

Harper has filed a complaint with United Airlines and the Department of Transportation.

"They need to focus a little bit more on their paying customer and have more customer service."

United Airlines released the following statement:

"Customer safety is always our first priority. Initial reports from our flight attendants indicate that Ms. Harper attempted to visit the lavatory on final descent and was instructed to remain seated with the seat belt fastened per FAA regulations. The situation as described by Ms. Harper and our employees is upsetting for all involved. We have reached out to Ms. Harper and our flying partner Mesa Airlines to better understand what occurred."