An upstate New York man accused of trying to assemble a mobile X-ray device meant to kill people at a mosque and an Islamic center is on trial in federal court.

Glendon Scott Crawford of Galway has pleaded not guilty to three charges, including conspiracy to use a weapon of mass destruction. The trial began Monday in Albany.

His attorney says Crawford was targeted in an elaborate FBI plot, that no crime otherwise existed and the device was harmless.

Eric Feight of Hudson was arrested with Crawford in June 2013. He pleaded guilty six months later to providing material support to terrorists for building a remote control for the machine. His sentencing is scheduled for September.

Federal authorities say Crawford initiated the plot.

Crawford, an industrial mechanic for General Electric, has been jailed since his arrest.