“This happened in the UK, but it could have happened anywhere, and we take a united stance against it,” said the British prime minister.