An American Airlines flight was diverted to a Texas airport mid-flight this week after a passenger punched a flight attendant multiple times and assaulted at least one police officer, according to court documents.

The plane, which was headed to Bozeman, Montana, from Dallas, landed at an airport in Amarillo on Wednesday after the flight crew declared a Level 2 threat due to a physical assault, the criminal complaint filed in US District Court for the Northern District of Texas states, citing an affidavit from an FBI agent involved in the arrest.