Naa’imur Zakariyah Rahman court case: Court artist sketch of Naa’imur Zakariyah Rahman (left) in the dock at Westminster Magistrates’ Court (Elizabeth Cook/PA)© Provided by The Press Association Court artist sketch of Naa’imur Zakariyah Rahman (left) in the dock at Westminster Magistrates’ Court (Elizabeth Cook/PA)An Islamic State fanatic plotted to assassinate Prime Minister Theresa May in a suicide attack on 10 Downing Street, a court has heard.

Naa’imur Zakariyah Rahman, 20, allegedly thought he was just days away from inflicting “lethal violence with blade and explosion” before his arrest last November.

But his plan was uncovered by an MI5 operative, who posed as a senior IS official in Syria, the Old Bailey heard.

On September 14 last year, Rahman was allegedly snared in Telegram chat with an MI5 role player, posing as an Amir in Syria. The court heard Rahman asked him: “Can you put me in a sleeper cell ASAP?”

When he is asked for more information, he allegedly said: “I want to do a suicide bomb on Parliament. I want to attempt to kill Theresa May.”The next day, jurors heard he said: “My objective is to take out my target. Nothing less than the death of the leaders of Parliament.”

Rahman is charged with preparing terrorist acts by conducting reconnaissance, recording a pledge of allegiance, and delivering a rucksack and jacket to be fitted with explosives.

Prosecutor Mark Heywood QC said: “His settled conclusion was that lethal violence here, directed at the very heart of the United Kingdom government, was the only effective way to pursue his intentions.

“Before his arrest prevented it, he was, he believed, just days away from his objective, which was no less than a suicide attack, by blade and explosion, on Downing Street and, if he could, upon the Prime Minister Theresa May herself.”

The defendant, of Finchley, north London, is also charged with helping his friend Mohammad Aqib Imran, 22, to prepare terrorist acts.

He allegedly recorded a sponsorship video for Imran to join IS in Syria. Mr Heywood said the men knew each other well, and shared the “warped ideology” of IS.

Rahman’s uncle had joined IS in Syria and allegedly encouraged his nephew to attack the UK before he was killed in a drone strike, jurors heard.

By September last year, the defendants had allegedly met someone online who they believed would provide useful contacts. Mr Heywood said Rahman’s focus was on attack planning in the UK.

He said: “The evidence shows in detail his developing fervour as he first assembled his plan, carried out reconnaissance and perfected his ideas and then acquired the means to execute it.

“At the last he took back his own coat and his own rucksack both modified with improvised explosive devices, so that he could achieve his settled aim of a full frontal assault on the gates and then the door of Number 10.

“In this he expected to die. But he also hoped for personal reward beyond death and, in doing so, to cause death and great fear in a place and to people symbolic of the country itself.”

On Imran’s plans, Mr Heywood said: “He elected to travel and set about assembling money, acquiring a fake passport, engaging in research and otherwise equipping himself with the information and means to travel aboard for violence for terrorist purposes.

Rahman has denied two counts of preparing terrorist acts.

Imran, of Sparkbrook, Birmingham, has pleaded not guilty to preparing terrorist acts abroad and possessing a terrorist document on his Kindle entitled How To Survive In The West – A Mujahid’s Guide 2015.