A top British computer hacker was behind the first ISIS terror plot directed against mainland America, US court documents show.
Junaid Hussain used the internet to recruit American Munir Abdulkader to behead a US soldier whose family home address had been hacked from military records.
Hussain, 21, was was widely reported as number three on America's ISIS target list before he was killed in a US drone strike in Syria in August last year.
He was a key target due to his computer hacking skills and his work as an ISIS recruiter.
Hussain, from Birmingham, was married to Sally Jones, a middle-aged rocker turned Muslim convert from Kent, who was nicknamed 'Mrs Terror'.
She met the jihadi fighter online and left the UK with her young son to join him in Syria.
The revelation of Hussain's close involvement in the foiled bid to behead a US soldier shows why Hussain was such a highly prized target.
Eritrea-born Abdulkader, 21, who became a US citizen in 2006, was to behead the US soldier and launch a suicide attack on a police station.
He was caught by a US double agent who was working with Abdulkader and arranged for him to purchase the weapons. As soon he bought the guns, security services swooped.
Abdulkader later admitted the terror plot and is to be sentenced in the next few weeks.
Now, newly released American court documents from the District Court, Southern District of Ohio relating to his case reveal the extent of the close contact and communications between the two men.
The documents, obtained by the Program on Extremism at The George Washington University, say: 'Hussain's plan was for them to raid a soldier's home, behead him, record it, send the recording to him.
'Once this attack was completed, the Defendant was to go to a police station, throw pipe bombs, engage the police officers with firearms, and then fight to the death.'
Hussain, according to the court documents filed last week, even suggested Abdulkader wear the beheaded soldier's uniform to the police station.
Abdulkader had been advised by Hussain that travel to Syria was too risky, and that he should 'consider a violent attack within the United States' instead.
As a result Abdulkader focused on a plot to 'murder a government employee simply because that employee proudly served the United States of America.....'
Abdulkader, a Cincinnati university student until last year, kept in almost daily contact with Hussain asking him questions about the IS leader Abu Bakr al-Baghdadi and how to obtain instructions for making a molotov cocktail.
And Hussain crucially provided the address and personal information of the soldier, including the name of his wife. Hussain had previously boasted that the Islamic State had hacked personal details of hundreds of US military personnel.
US officials also believe Hussain was behind the online radicalisation of at least one of the two gunmen who opened fire at a Prophet Mohammed cartoon competition in Garland, Texas, in May last year.
In a separate court case in the UK earlier this year Junead Khan was convicted of plotting to behead US airmen outside their British bases to emulate Jihadi John, the IS chief executioner who was killed in November last year.
Khan, 25, had also been in contact with Hussain who offered to provide him with personal information which would have enabled him to target American military in the UK.
As part of the 'Cyber Caliphate', Hussain is also believed to have aided the group in obtaining the passwords of the US Central Command's Twitter and YouTube accounts and briefly using them to send hate messages.
Before leaving for Syria Hussain had been part of the hacker group Team Poison, where, using the handle Trick, he gained access to the address book of former prime minister Tony Blair and published information from it. The cyber hack earned him six months in jail in 2012.
Shortly after his release, while he was on bail for another offence, he fled to Syria and married jihadi Sally Jones, a 47-year-old mother from Kent, who is believed to be living in Raqqa, the de facto headquarters of the Islamic State.
Her prolific tweets threatening attacks against the UK and Westerners has earned her the nickname 'Mrs Terror' and she is now believed to be on a British 'kill list' of known terrorists.
There were reports earlier this year that she may have moved to Mosul after the death of her husband. In which case she maybe being hunted by Britain's SAS.