Theresa May’s turbulent leadership of the Conservative Party will end on June 7, paving the way for a new prime minister to lead the Brexit process.
A tearful prime minister said she had “done my best” to get her Withdrawal Agreement through Parliament and take the UK out of the European Union but acknowledged she had failed.
READ MORE: Theresa May resigns as Prime Minister
Here's a full transcript of her resignation statement made outside Number 10.
"Ever since I first stepped through the door behind me as Prime Minister, I was driven to make the United Kingdom a country that works not just for a privileged few but for everyone, and to honour the result of the EU referendum.
"Back in 2016, we gave the people the British people a choice.
"Against all predictions, the British people voted to leave the European Union.
"I feel as certain today as I did three years ago that in a democracy, if you give people a choice you have a duty to implement what they decide.
"I have done my best to do that.
"I negotiated the terms of our exit and a new relationship with our closest neighbours that protects jobs, our security and our union.
"I have done everything I can to convince MPs to back that deal.
"Sadly, I have not been able to do so. I tried three times. I believe it was right to persevere, even where the odds against success seemed high.
"But it is now clear to me that it is in the best interests of the country for a new prime minister to lead that effort.
"So I am today announcing that I will resign as the leader of the Conservative and Unionist Party on Friday 7 June so that a successor can be chosen.
"I have agreed with the party chairman and with the chairman of the 1922 committee that the process for electing a new leader should begin in the following week.
"I have kept Her Majesty the Queen fully informed of my intentions and I will continue to serve as her Prime Minister until the process has concluded.
"It is and will always remain a matter of deep regret to me that I have not been able to deliver Brexit.
"It will be for my successor to seek a way forward that honours the result of the referendum.
"To succeed, he or she will have to find consensus in Parliament where I have not.
"Such a consensus can only be reached if those on all sides of the debate are willing to compromise.
"For many years the great humanitarian, Sir Nicholas Winton, who saved the lives of hundreds of children by arranging their evacuation from Nazi-occupied Czecheslovakia through the Kindertransport, was my constituent in Maidenhead.
"At another time of political controversy a few years before his death, he took me to one side at a local event and gave me a piece of advice.
"He said: 'Never forget that compromise is not a dirty word. Life depends on compromise.' "He was right.
"As we strive to find the compromises we need in our politics, whether to deliver Brexit or to restore devolved government in Northern Ireland, we must remember what brought us here.
"Because the referendum was not just a call to leave the EU, but for profound change in our country, a call to make the United Kingdom a country that truly works for everyone.
"I'm proud of the progress we have made over the last three years.
"We have completed the work that David Cameron and George Osborne started. The deficit is almost eliminated.
"Our national debt is falling and we are bringing an end to austerity.
"My focus has been on ensuring that the good jobs of the future will be created in communities across the whole country, not just in London and the South East, through our modern industrial strategy.
"We have helped more people than ever enjoy the security of a job. We are building more homes and helping first-time buyers onto the housing ladder, so young people can enjoy the opportunities their parents did.
"And we are protecting the environment, eliminating plastic waste, tackling climate change and improving air quality.
"This is what a decent, moderate and patriotic Conservative government on the common ground of British politics can achieve, even as we tackle the biggest peacetime challenge any government has faced.
"I know that the Conservative Party can renew itself in the years ahead, that we can deliver Brexit and serve the British people with policies inspired by our values.
"Security, freedom and opportunity. Those values have guided me throughout my career. But the unique privilege of this office is to use this platform to give a voice to the voiceless. To fight the burning injustices that still scar our society.
"That is why I put proper funding for mental health at the heart of our NHS long term plan.
"It's why I'm ending the postcode lottery for victims of domestic abuse.
"It is why the race disparity audit and gender pay reporting are shining a light on inequality so it has nowhere to hide.
"And it is why I set up the independent inquiry into the tragedy at Grenfell Tower, to search for the truth so nothing like it can ever happen again, and so the people who lost their lives that night are never forgotten.
"Because this country is a union. Not just a family of four nations, but a union of people, all of us. Whatever our background, the colour of our skin, or who we love, we stand together, and together we have a great future.
"Our politics may be under strain but there is so much that is good about this country, so much to be proud of, so much to be optimistic about.
"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."
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules here