Scotland Yard has warned people in the UK that watching, downloading or disseminating the video purporting to show the beheading of American journalist James Foley could be treated as a criminal offence.

The Metropolitan police said on Wednesday that it is investigating the contents of the video under its counter terrorism command, indicating that its public use or its being shared online could be seen as a criminal offence under the UK’s terrorism legislation, the Guardian reported.

“The Metropolitan police service counter terrorism command (SO15) is investigating the contents of the video that was posted online in relation to the alleged murder of James Foley,” it said in a statement.