She said: "We will review our counter-terrorism strategy to ensure the police and security services have all the powers they need and that the length of custodial sentences for terrorism related offenses are sufficient to keep people safe.
"We will work to reach international agreements that regulate cyberspace, to prevent the spread of extremism and terrorist planning and encourage tech companies to do more to remove harmful content from their networks and we will establish a new commission for countering extremism as a statutory body to help fight hatred and extremism in the same way as we have fought racism, because this extremism is every bit as insidious and destructive to our values and we will stop at nothing to defeat it."