A California man accused of trying to export military equipment to Iran has pleaded guilty in federal court in Delaware.

Thirty-five-year-old Marc Knapp of Simi Valley pleaded guilty Thursday afternoon to two felony counts involving violations of the International Emergency Economic Powers Act and the Arms Export Control Act.

Prosecutors have agreed not to ask for more than 57 months, or almost six years, in prison. Sentencing is set for May 23.

Prosecutors alleged that Knapp, who was arrested in July, illegally exported military equipment to Hungary and tried to make other exports, including an F-5B Tiger II fighter jet, to Iran and Russia.