UK Prime Minister Theresa May announced her resignation on Friday, saying she would leave Downing Street and step down as Conservative leader on June 7.

Speaking outside Number 10, May became emotional at the end of her 6-1/2-minute speech as she said she would depart "with no will but enormous and enduring gratitude to serve the country I love."

LONDON — Theresa May became emotional at the end of her 6-1/2-minute speech Friday morning in which she announced that she would stand down as prime minister and Conservative leader in June.

In a statement outside 10 Downing Street, May said she would resign as Conservative leader but stay on as prime minister until her successor could be elected.

Much of her speech recounted how she had tried her hardest to persuade Parliament to sign up to her Brexit deal but ultimately failed.

"I will shortly leave the job that it has been the honor of my life to hold — the second female prime minister but certainly not the last," she said as her speech wound down.

Her voice cracked with emotion as she read the final line, saying, "I do so with no ill will but with enormous and enduring gratitude to have had the opportunity to serve the country I love."

And with that, she took her papers from the lectern, turned away from the media, and walked back inside No. 10.

Watch Theresa May's statement. The end of her speech is at the 6:10 mark.