We will take back control of our money, by putting an end to vast annual payments to the EU. Instead, we will be able to spend British taxpayers' money on our own priorities, like the extra £394m per week that we are investing in our long-term plan for the NHS.

We cannot allow this ideology the safe space it needs to breed. Yet that is precisely what the internet, and the big companies that provide internet-based services provide. We need to work with allied democratic governments to reach international agreements that regulate cyberspace to prevent the spread of extremist and terrorism planning. And we need to do everything we can at home to reduce the risks of extremism online.

As we see the threat changing, evolving becoming a more complex threat, we need to make sure that our police and security and intelligence agencies have the powers they need. I mean longer prison sentences for people convicted of terrorist offences. I mean making it easier for the authorities to deport foreign terrorist suspects back to their own countries. And I mean doing more to restrict the freedom and the movements of terrorist suspects when we have enough evidence to know they are a threat, but not enough evidence to prosecute them in full in court. And if our human rights laws stop us from doing it, we will change the laws so we can do it.

I will shortly leave the job that it has been the honour of my life to hold. The second female prime minister, but certainly not the last. I do so with no ill will, but with enormous and enduring gratitude to have had the opportunity to serve the country I love.

I want us to be the party that represents the whole of Britain and not merely some mythical place called "Middle England", but the truth is that as our country has become more diverse, our party has remained the same. We should not underestimate the extent of this problem. Ask yourselves: how can we truly claim to be the party of Britain, when we don't truly represent Britain in our party?