BANGOR — A Florida man accused of causing a trans-Atlantic flight to be diverted to Bangor, Maine, is due in federal court for a detention hearing.

A federal magistrate judge declared Derek Stansberry competent earlier this week but his detention hearing was delayed until today. Federal prosecutors will be seeking to have him detained, but his defense lawyer and pretrial services will be arguing in favor of bail.

Prosecutors say Stansberry passed along a note that said he had a fake passport and told federal air marshals that he had dynamite aboard a Paris-to-Atlanta flight on April 27.

The Air Force veteran was working for a defense contractor in Africa. The defense contends his actions were out of character and that he has no criminal record.