Facebook said Sunday it aims to be a “hostile environment” for terrorists in the wake of a terror attack in London that left seven dead and 48 wounded. The social-media platform issued a statement reiterating its commitment to fighting terrorism after British Prime Minister Theresa May singled out internet companies and called for more work to be done to prevent terrorists from being able to spread their ideology online. Simon Milner, director of policy at Facebook, said the company works “aggressively to remove terrorist content from our platform as soon as we become aware of it—and if we become aware of an emergency involving imminent harm to someone's safety, we notify law enforcement.” Twitter also said it was working to stop the spread of extremist propaganda online, noting that it had already suspended nearly 400,000 accounts in the second half of 2016 alone. “Terrorist content has no place on Twitter,” Nick Pickles, the U.K. head of public policy at Twitter, said in a statement. “We continue to expand the use of technology as part of a systematic approach to removing this type of content,” he said.