“It is our clear assessment that the ‌assassination attempt was planned by the Russian intelligence services,” said Rasmus Kieffer-Kristensen, the head of Denmark’s national security and intelligence service (PET).

The police and security services made their announcements as two Danish men appeared in court near Copenhagen on Friday.

They were charged under ‌section ​108 of Denmark’s criminal code, ⁠which covers assisting a foreign intelligence service, as well as attempted murder, court documents showed.

Both men denied wrongdoing, the broadcaster DR reported.

According to court documents, prosecutors said the men were driving towards the venue armed with two loaded pistols and two knives when police arrested them at around 9.55pm, just five minutes before the concert was due to begin.

One of the suspects had allegedly bought a ticket to the concert, which was later cancelled.