A Utah man has been charged in federal court after authorities say he threatened to shoot air marshals, hijack the flight and urinate in the cabin of a Delta Airlines plane en route from Amsterdam to Detroit.

During a Thursday appearance in U.S. District Court in Salt Lake City, a judge allowed Jared L. Hansen to remain free pending a Nov. 7 hearing in Detroit. Hansen was ordered to surrender his passport and abstain from drinking alcohol, among other conditions.

He didn't return a telephone message seeking comment Thursday, and no attorney was listed for him in court records.

Hansen, 31, was aboard an Oct. 4 Delta Airlines flight from Amsterdam to Detroit when authorities say he attempted to use the bathroom in the business class section of the cabin. Members of the flight crew asked him to either return to his seat or use the facilities in the rear of the cabin, but he refused, according to a criminal complaint filed in U.S. District Court in Detroit.

Hansen, who was believed to be heavily intoxicated, then threatened to urinate in the cabin and exposed himself, authorities said.