Announcing his resignation, Sir Keir Starmer said: "The question my party is asking now is whether I am best placed to lead us into the next general election.
"I have heard the answer of my parliamentary party to that question, and I accept that answer with good grace.
"Every decision I have taken has been about putting the country I love first.
"That is why I will resign as leader of the Labour Party."
Starmer said that becoming Prime Minister was the"‘proudest moment of my life".
Speaking outside Downing Street, he said: "Walking up this street two years ago was the proudest moment of my life, a new Labour government, the first in 14 years, a page in our country’s history turned after years of disappointment and despair, the chance to change the lives of millions of people for the better, that’s what I came into politics for the journey to that point was not easy.
"Six years ago, I inherited a Labour Party that was politically, financially, and morally bankrupt.
"I was told time and time again that my party was finished, that we were consigned to history, that a majority at the general election, let alone a landslide majority, was impossible, but we proved those people wrong, because we changed our party, ripping out the poison of antisemitism, restoring trust on the economy, defence, and national security, and becoming a party that once again stood proudly with, not against, our national flag."
Sir Keir Starmer.
Starmer said he will spend more time being the ‘best husband’ and "best dad" after his resignation.
Speaking from Downing Street, he said: "I want to thank the brilliant Number 10 staff and our country’s extraordinary Civil Service who dedicate their lives to public service.
"And when I leave the biggest job in the country, I shall spend more time on the most important job, being the best husband I can to my fantastic wife, Vic, who has been a rock by my side through good times and bad, and being the best dad I can to my beautiful children, who are my pride and my joy."
* This article was originally published on Extra.ie.