Taimour Abdulwahab died after detonating an improvised explosive device in the Swedish capital on December 11, 2010, having earlier set fire to a car containing an IED.

Nasserdine Menni yesterday denied conspiring with Abdulwahab, from Luton, Beds, to further terrorist aims by criminal means, including the use of explosive devices intended to kill members of the public in Sweden.

It is alleged he did so in Glasgow, Luton, Bedford, Sweden, Syria, Iraq and other unknown locations between January 1, 2003 and March 8, 2011.

Menni, whose age is not known, also denies transferring money to Abdulwahab, knowing it would be used for terrorist purposes. His trial at the High Court in Glasgow is expected to last for up to three months.

Karl Viktor Andersson, a Swedish police officer, said he was answering an emergency call after reports of a car fire at around 5pm, when he was stopped by a member of the public and told there had been an explosion in the Bryggargatan area.

He added: “We just passed the corner and there was a body lying there on his back, with his intestines outside his body.”

Sgt Andersson said four or five off-duty medics were close to the body in a bustling shopping area in the city centre. He told the court that shops on either side of the body were badly damaged.

Asked if he spoke to the injured man, he replied: “He was not in any shape to speak. One eye was open, but he was quite badly injured.”

Roger Skoglund, a police investigator, said he went to the scene at around 10pm, adding: “I was met by the bomb squad who showed me the scene. The scene was sealed off so there was no one there apart from the bomb squad.

“A little bit down there was a man on his back covered by a blanket from an ambulance. Around him there were a number of small items which looked like small pipe bombs which had not gone off and at the front of him a small pot which had detonated.”

Menni, who was living in Glasgow and is understood to be Algerian, is also said to have repeatedly communicated with Abdulwahab in person, by phone, email, voice-over internet protocol systems and by other unknown means to discuss ways to pursue the conspiracy.

The indictment is divided into subsections outlining the allegations, which include a charge that he purchased false identity documents to access a bank account.

It is alleged that he accessed three bank accounts by fraud and obtained benefits by fraud.

He is also accused of obtaining leave to remain in the UK by means of deception between April 6, 2009 and June 29, 2009, by falsely stating his name was Ezedden Khalid Ahmed Al-Khaledi, and claiming to be seeking asylum. Menni denies all the charges against him.