A suspect who allegedly tried to murder a man at a London train station allegedly had images associated with Islamic State on his phone.

FOX News' Kitty Logan has more from London:

The 29-year-old man has appeared in a London court, charged with attempted murder. He's accused of stabbing two people at a subway station.

Prosecutors are calling the incident an act of terror, saying ISIS images and flags were found on the suspects phone.

Witnesses say he shouted, "this is for Syria," while brandishing a knife... British Prime Minister has described the incident as a 'hideous attack'.

It happened just three days after the British parliament voted to approve air strikes on Syria. London police say they'll step up patrols on public transport to deter any similar attacks.

In London, Kitty Logan, FOX News.