A United Airlines flight carrying 150 passengers returned safely to Las Vegas after a passenger allegedly wrote a message threatening to hijack the aircraft, prompting an emergency security response.

The flight, which was scheduled to travel from Las Vegas to Newark, New Jersey, turned back less than an hour after takeoff on Saturday night. Las Vegas police detained the 25-year-old passenger following a report of alleged threats.

According to the criminal complaint, the passenger allegedly wrote messages threatening to hijack the plane and crash it into a specific row. Authorities have not publicly established that the passenger attempted to take control of the aircraft.

The passenger was arrested on charges related to making a threat or providing false information about an act of terrorism. The allegations have not been proven in court, and the defendant is presumed innocent.

United Airlines confirmed that the aircraft returned safely to Harry Reid International Airport to address a potential security concern. The flight was delayed overnight before departing for Newark on Sunday morning.

The Federal Aviation Administration said it would investigate the incident. The case highlights the importance of aviation security procedures and the serious consequences that threatening behavior can have for passengers and airline operations.