A man from Cardiff has admitted sharing a terrorist song entitled Virgins Of Paradise on the second day of his Old Bailey trial.
On Wednesday, Zakaria Afey, 20, from St Mellons, pleaded guilty to disseminating the nasheed poem on January 12 2017 on the basis he was "reckless".
He also admitted having the terrorist manual How To Survive In The West on May 15 2017.
On Tuesday, prosecutor Michael Bisgrove told jurors: "This is a case about dissemination and the possession of a terrorist manual.
"It is not bombs or bullets or knives, it's electronic material, the kind that is used with frightening effect to indoctrinate and train predominantly young men who go on to commit acts that are becoming all too familiar."
He said documents found on his mobile phone led to the two charges brought against Afey.
The defendant's Samsung Galaxy was seized after a search of his home in October 2017.
Afey confirmed it was his and handed over the password to the handset, asking if the search was related to terrorism, the Old Bailey heard.
He told officers he was "interested in my religion" and read a lot but did "not support terrorism in any way".
He expressed concern they might find something but insisted he only wanted to understand all the aspects of his religion.
Afey initially denied the charges against him but changed his plea on the second day of his trial.
He will be sentenced by Judge Rebecca Poulet QC on Thursday.