A terrorist from Maida Vale caught with material that could have led to the deaths of ‘vast numbers of innocent people’ was today cleared of possessing porn films involving horses.

Abdul Raoof Al Shayeb, of Morshead Road, was jailed for five years in December for possession of manuals on bombs, missiles and sniper rifles, as well as jihadi exam papers.

He was convicted of possessing records of a kind likely to be useful to a person committing or preparing an act of terrorism.

The 51-year-old claimed he had met with Labour leader Jeremy Corbyn ‘many times’ to discuss the human rights situation in his native Bahrain and even attended the home of Lord Eric Avebury, Vice Chair of the Parliamentary Human Rights Group.

When police raided his home in April 2014 they found a 16GB SD card loaded with military files including photos of Al Shayeb in combat fatigues along with a PowerPoint presentation displaying instructions about the assembly, calibration and best shooting positions for a Dragunov sniper rifle.

At his trial Judge Martyn Zeidman, QC, had described the terrorist material on his memory card as ‘dynamite’ and told him: “Misuse of that material could have given rise to the deaths of many people.”

Officers also discovered two extreme pornographic films involving people having sex with a horse.

Today Al Shayeb refused to leave Wandsworth Prison to attend the hearing at Southwark Crown Court, but had indicated he would deny both charges.

Judge Peter Testar ordered that two counts of possession of extreme pornographic material should lie on the court file as it was not in ‘the public interest’ to pursue a trial.