Three British men who dubbed themselves the "Three Musketeers" were convicted Wednesday of plotting a bomb attack on troops or police inspired by Islamic extremism.

Jurors at London's Central Criminal Court found 29-year-old Naweed Ali, 25-year-old Khobaib Hussain and Mohibur Rahman, 33, guilty of preparing terrorist acts, after a trial that was partly held in secret for national security reasons.

A fourth defendant, Tahir Aziz, was convicted of the same charge. Prosecutors say the 38-year-old was brought into the plot in its later stages.

Ali, Hussain and Rahman met while serving prison terms for terrorism offenses, prosecutors said. They later set up a group on a messaging app called the "Three Musketeers."

Read more U.S. News & World Report