A would-be teenage terrorist "ruthlessly exploited' an impressionable friend in a plot to carry out a murder similar to that of Fusilier Lee Rigby in London, a court has heard.
Kazi Islam, 18, is accused of grooming 19-year-old Harry Thomas to buy the ingredients for a pipe bomb and to attack one or more soldiers with a knife.
Conversations on BlackBerry Messenger and social media sites were uncovered when police raided Mr Islam's house in east London, where he lived with his family, jurors were told.
Prosecutor Annabel Darlow QC said Mr Islam had befriended Mr Thomas in October 2013.
He went on to incite Mr Thomas to kill a soldier with stories of children being murdered by military forces, even suggestting he started calling himself Haroon.