A man was arrested after telling the flight crew on a United plane that he had a bomb.

According to the Jefferson Parish Sheriff's Office, Rony Gomez-Alberto, 34, started acting irrationally aboard United flight 2174 around 11:20 p.m. Authorities said he told crew members that he had a bomb on board.

The Department of Homeland Security said Gomez-Alberto is a "criminal illegal alien" and that he tried to "gain entry to the cockpit" during the flight.