- Mohiussunnath Chowdhury, 27, drove a blue Toyota Prius at a marked police van
- Uber driver was sprayed with CS gas and arrested after shouting 'Allahu Akbar'
- Armed with a sword, he scuffled with officers who required hospital treatment
- Chowdhury, of Luton, left a suicide note on his sister's laptop, Old Bailey heard
An alleged terrorist who attacked police officers with a samurai sword outside Buckingham Palace left a suicide note which read: 'The Queen will be in hellfire'.
Mohiussunnath Chowdhury drove his Toyota Prius through traffic cones at a marked police van and reached for the blade on August 25 last year, the Old Bailey heard.
The Uber driver was sprayed with CS gas and arrested after shouting 'Allahu Akbar' during a scuffle with two officers outside the royal residence, jurors were told.
Chowdhury, 27, drove with a coal black samurai sword and a knife sharpener from his home in Luton, to the road opposite Buckingham Palace.
He then allegedly swerved in front of a police van and the two officers inside had to be taken to hospital after the struggle at 8.30pm.
The terror suspect drew 'posters' in prison of an officer being shot by a man shouting 'Allahu Akbar', the jury heard.
Chowdhury also sketched a picture of a plane hitting the Twin Towers, the Old Bailey was told.
He then pinned the posters up on his cell wall after he was remanded in custody ahead of his terror trial, it was said.
Chowdhury was born in London in May 1991 and later moved to Luton, working as a self-employed Uber driver.
Prosecutor Timothy Cray told the jury that Chowdhury planned to die as a martyr, fighting in the name of Allah.
In his 'suicide note' which he left on his sister's laptop on the night, Chowdhury wrote: 'Tell everyone I love them and that they should struggle against the enemies of Allah with their lives and their property.
'The Queen and her soldiers will all be in hellfire. They go to war with Muslims around the world and kill them without any mercy. They are the enemies Allah tells us to fight.'
The Uber driver, from Luton, accepts he drove his car to the palace then brandished a samurai sword on August 25, 2017.
The Old Bailey heard he now claims he was trying to trigger a 'death by cop suicide' and not a terror attack.
But an imitation gun was also found at his flat which prosecutors say could have been used to fool cops instead of the 'deadly' sword.
Prosecutor Timothy Cray showed the jury the drawings found inside his cell at Belmarsh Prison on September 27.
One image, scribbled using different colour pens, included a speech bubble from a terrorist with the words 'Allahu Akbar', alongside a police officer riddled with bullet holes.
He also referenced part '9:111' of the Quran, writing in capital letters: 'Allah has bought the lives of the believers in exchange for paradise.'
Mr Cray said: 'These two pieces of paper he pinned up on the wall of his cell, almost like posters.
'The first headed 'the exchange or bargain'.
'It states, with reference to verses from the Holy Quran, which the defendant interprets is an exchange or a bargain - we're taking it from his point of view.
'It seems that martyrdom, the exchange for that, an act of martyrdom, is paradise - that's the interpretation.
'He has illustrated the exchange or bargain by someone, a masked fighter, shouting Allahu Akbar, firing a gun into the chest of an unarmed, uniformed police officer - it seems outside number 10 Downing Street.
'The defendant accepts that he drew this.'
A search of his prison cell was then carried after the discovery, which revealed a piece of paper headed 'TAGHUT', a term for worship other than of Allah.
The paper, also written mainly in capital letters, included a list of 14 'Allies of Satan'.
The top three were 'USA and all allies', 'UK/Canada/Australia' and EU nations.
Mr Cray then showed jurors the 'realistic looking', chrome imitation BB pistol discovered in Chowdhury's bedroom.
He said: 'We say that if the defendant really is [saying], 'all I wanted to do is get myself killed by the confronting armed police', waving this around outside Buckingham Palace shouting 'Allahu Akbar' would do the job pretty well.
'If you didn't want to do anybody else any harm, why take the deadly weapon, the sharpened sword, when you could take something you know is perfectly harmless?
'Any armed police officer seeing you with that, pointing it, is going to shoot you dead.'
The jury was told during his police interview after the attack, Choudhury described it as 'surreal'.
Mr Cray said: 'He said that he was unhappy about the way things were, that our Queen is the root of the problems and he mentioned the corruption and the fact that life, society here was messed up, in his words.
'He said that due to the fact that police worked for the Queen, he planned to confront the police.
'He said he didn't think he would be able to go through with it, he said he just wanted to stand up against the atrocities that were going on in the world.'
The trial continues.