An airplane passenger was arrested after being accused of writing a message that he was going to "hijack" the plane, resulting in a United flight being diverted back to Las Vegas after takeoff on Oct. 24.

The 25-year-old man was arrested on charges of making a threat or providing false information regarding an act of terrorism, which carries a possible sentence of 1 to 20 years in prison, according to The Associated Press.

Dig deeper: The man allegedly communicated that he was "gonna hijack this" plane - although he used an expletive - and "crash ur row only," The Associated Press reported, citing a criminal complaint.