(CNN) -- A Texas man who became enraged when a flight attendant refused to serve him alcohol and spent part of a flight locked in the lavatory has pleaded guilty to interfering with an airline flight crew.
Jesse Todd Thompson appeared in U.S. District Court in Portland, Oregon, on Tuesday, where a judge scheduled his sentencing for May 24.
Thompson, 34, was a passenger on a Southwest Airlines flight from Kansas City, Missouri, to Portland last September when a flight attendant noticed he was drunk and refused to honor his drink vouchers, federal prosecutors said.
He then became loud and boisterous, yelling "No one is going to tell me what to do; I will do whatever I want to," according to the complaint.
Thompson also gestured toward the flight attendant "in a threatening manner," which prompted her to move several male passengers to seats around him, prosecutors said.
His neighbors tried to calm Thompson down, but he then locked himself in a lavatory as the plane began to approach Portland.
Police arrested Thompson for disorderly conduct and harassment when the plane landed.
He has prior convictions for driving under the influence in Indiana and Wyoming, battery in Wyoming and bail jumping in Texas, prosecutors said.
Interfering with a flight crew is punishable by up to 20 years in prison, a maximum fine of $250,000 and two to three years of supervised release.