A British man arrested days before an annual national war commemoration has been convicted of preparing to carry out an Islamic State group-inspired knife attack in London.

Nadir Syed was arrested on Nov. 6, 2014, three days before Remembrance Sunday, the annual tribute to Britain's war dead.

Prosecutors said 22-year-old Syed was obsessed with beheadings and was inspired by the words of an IS leader who urged attacks on Western targets.

Syed, who had denied the charge, was convicted last week at London's Woolwich Crown Court. The verdict couldn't be reported until Monday because the jury was still deliberating on two other defendants.

Jurors failed to reach a verdict on suspects Haseeb Hamayoon and Yousaf Syed. The two men face a retrial.