Four men acquainted with a gunman who killed two people in attacks against a free-speech seminar and a synagogue in Copenhagen have been acquitted of abetting terrorism. Two of them, however, were convicted of illegal arms possession.

Copenhagen's City Court on Tuesday cleared Bhostan Khan Hossein, Liban Ahmed Saleban Elmi, Ibrahim Khalil Abbas and Mahmoud Rabea of abetting Omar El-Hussein in the two attacks last year.

Hossein and Elmi were found guilty of illegal arms possession for disposing of the M-95 assault rifle El-Hussein used on Feb. 14, 2015, to kill a Danish filmmaker and wound three police officers.

The next day, El-Hussein opened fire outside Copenhagen's main synagogue, killing a Jewish guard and wounding two police officers before being killed during a shootout with a SWAT team.