Graffiti on Jewish school in Copenhagen
Graffiti on Jewish school in CopenhagenEU Jewish organizations union

A Danish court on Tuesday acquitted four Danes accused of aiding a Copenhagen gunman who murdered a filmmaker and a Jewish security guard in twin attacks in February 2015.

The four had been charged with "terror offences" for allegedly providing support for Danish-Palestinian Omar El-Hussein ahead of the second attack, which took place outside a synagogue.

Their actions were "not of such a character that the actions can lead to a conviction for complicity," the verdict read.

The four men, Bhostan Hossein, 26, Liban Elmi, 21, Ibrahim Abbas, 23, and Mahmoud Rabea, 32, smiled at each other and their lawyers when the verdict was read out.

Hossein and Elmi were however convicted of a lesser charge for possessing and disposing of a weapon used in the first attack. Their sentences were to be announced later Tuesday.

The prosecution said it was surprised by the acquittal.

"We are surprised that the court has judged the evidence against the accused differently than the prosecution has," the assistant prosecutor in the case, Sidsel Klixbull, said in a statement.

Danish Justice Minister Soren Pind wrote on Twitter that authorities would "study the verdict and see whether to appeal."

A lawyer for Hossein, Berit Ernst, told AFP she was "very satisfied with the decision."

The four risked life imprisonment if found guilty, which in Denmark means they would have been entitled to a parole hearing after 12 years.

Surveillance footage

On February 14, 2015, Danish-born El-Hussein opened fire with an automatic rifle outside a cultural centre hosting a free speech event.

Filmmaker Finn Norgaard, 55, was killed and three police officers were wounded.

Later that night, El-Hussein - seemingly inspired by the attacks on French satirical weekly Charlie Hebdo the previous month - headed to the city's main synagogue, where he shot and killed 37-year-old Jewish security guard Dan Uzan.

El-Hussein, 22, was shot dead by police hours later, having killed two people and wounded five.

The prosecution had argued that the four committed a "terror offence" through their "continuous and close contact" with El-Hussein after the first attack, by providing him with ammunition and a bag used in the second attack, and by paying for his time in an Internet cafe where he located the synagogue.

Surveillance footage showed the men meeting with him in the hours between the two attacks.

Grainy CCTV footage played in court showed Hossein and Elmi meeting with El-Hussein in a park, and the gunman handing Hossein a bag containing the M95 rifle used in the first attack, later found in a nearby ditch.

However, Hossein denied the charge of possessing and disposing of a weapon, claiming El-Hussein handed him the bag and then refused to take it back, while Elmi said he did not know the bag contained a weapon.

The court also viewed video images of El-Hussein, Elmi and Abbas in the cafe after the synagogue shooting.

They were seen talking jokingly, and El-Hussein appeared to act out pulling the trigger of a weapon.

Question of 'intent'

But the prosecution failed to prove "intent", meaning that the four knew about his plans to commit an act of terror, the court found.

Released from prison just two weeks before the attacks after serving time for a stabbing, El-Hussein was known for his violent temper and for having ties to a criminal gang.

The prosecution said he pledged allegiance to Islamic State group leader Abu Bakr al-Baghdadi on Facebook on the day of the shootings, but investigators said they believed he was not part of a jihadist network.

Danish intelligence agency PET has however been criticised for failing to act on information from prison services that he was at risk of radicalisation.

The four acquitted have all been members of or had ties to the same gang as El-Hussein, and according to media reports they have criminal records for offences ranging from break-ins to possession of automatic weapons.