Westminster Magistrates' Court was told how the 38-year-old – also known as Adrian McKenzie – boarded the train and began shouting "f****** Muslims" and "I am going to kill a Muslim".

He then allegedly stabbed male passenger Muhammed Askar Ali in the head and body, the court heard.

TWITTER

SHOCK: The attack is said to have taken place at Forest Hill overground station on Monday

Mr Ali, who is in his 40s, suffered a head injury while also a punctured lung and abdomen.

He was rushed to hospital after train passengers restrained his attacker, the court heard.

Prosecutor Ijaz Malik told the court: "On the afternoon of Monday the 12th of December this defendant has boarded a train in south London, threatened a passenger with a knife, and then stabbed a male passenger, whose name is Muhammed Askar Ali, to the head and to the torso.

TWITTER

ARRESTED: Brown is set to appear at Southwark Crown Court in January 11

"Mr Ali sustained a punctured lung, a punctured abdomen, and a wound to the head.

“Mr Ali sustained a punctured lung, a punctured abdomen, and a wound to the head”

Prosecutor Ijaz Malik

"Brown was heard shouting, 'f**king Muslims, I am going to kill a Muslim. I am going to get all the Muslims.'

"Passengers intervened, and he was eventually restrained, and police arrived."

Brown is charged with attempted murder, possession of an offensive weapon and assault by battery.

TWITTER

THREAT: Brown shouted 'I am going to get all the Muslims'

He appeared in court wearing a prison-issue grey tracksuit, and with a shaved head and spoke only to confirm his name and age during the short hearing.

He was remanded in custody and is due to appear at Southwark Crown Court on January 11.