CORPUS CHRISTI, Texas (AP) — Authorities say a Southwest Airlines flight from Los Angeles to Houston was diverted after a passenger became disruptive and attempted to open an exterior door while the plane was in the air.

Southwest Flight 4519 was diverted Sunday to the Texas Gulf coast city of Corpus Christi where the passenger was removed.

READ MORE: Santa Clara County Extends Eviction Moratorium In Unincorporated Areas Through September

John Hyland, chief of public safety for Corpus Christi International Airport, says an off-duty officer on the flight helped to restrain the passenger.

READ MORE: Fourth Stimulus Check: Will You Get Another Relief Payment?

He says the woman was pacing back and forth along the aisle and not following instructions from crew before she reached for the door.

Hyland says the woman was committed for a mental health evaluation.

MORE NEWS: Sonoma Enacts Mandatory 20% Water Use Reduction, Limits Irrigation to 2 Days a Week

The flight carrying more than 170 passengers and crew later continued on to Houston, about four hours behind schedule.