A jury says it has unanimously reached a verdict for one of two men accused in an alleged terror plot to derail a passenger train travelling from New York to Toronto but is at an impasse on some of the counts against the second man.

Justice Michael Code asked the jury Wednesday to try once again to reach a verdict. The jury has been deliberating for eight days.

Raed Jaser and Chiheb Esseghaier face multiple charges in the alleged plot to derail a Via passenger train. They both pleaded not guilty.

Prosecutors had argued they were motivated by Islamic extremism and spent months plotting. An undercover FBI officer testified that that Tunisian national Esseghaier told him he wanted cause a 6-meter (20-foot) hole in a railway bridge.