We're getting some reaction now from members of Sir Keir Starmer's cabinet - including David Lammy, who said the Labour leader has been "driven by a deep sense of public service and duty to this country".
"I've known Keir since he was a lawyer. He was principled then, just as he is now," the deputy prime minister said.
Starmer "brought stability back to our economy", cut NHS waiting lists and "put Britain back at the heart of Europe", Lammy said.
"Change promised, change fought for and change delivered. That is Keir Starmer's legacy, and I am incredibly proud to have played my part," he wrote on X.
X
This content is provided by X, which may be using cookies and other technologies.
To show you this content, we need your permission to use cookies.
You can use the buttons below to amend your preferences to enable X cookies or to allow those cookies just once.
You can change your settings at any time via the Privacy Options.
Unfortunately we have been unable to verify if you have consented to X cookies.
To view this content you can use the button below to allow X cookies for this session only.
Meanwhile, Starmer's chief secretary Darren Jones said he was "proud" to stand by him on Downing Street this morning.
Jones said Starmer brought Labour "back from the brink" into government two years ago, and warned that it "mustn't forget the lessons of our successive defeats".
"Whatever happens next, we can be grateful for Keir Starmer's leadership and the work his government has done to put Britain back on a path to a brighter future," he said.
X
This content is provided by X, which may be using cookies and other technologies.
To show you this content, we need your permission to use cookies.
You can use the buttons below to amend your preferences to enable X cookies or to allow those cookies just once.
You can change your settings at any time via the Privacy Options.
Unfortunately we have been unable to verify if you have consented to X cookies.
To view this content you can use the button below to allow X cookies for this session only.
Ed Miliband and Pat McFadden, the secretaries of state for energy and work and pensions, have also weighed in:
X
This content is provided by X, which may be using cookies and other technologies.
To show you this content, we need your permission to use cookies.
You can use the buttons below to amend your preferences to enable X cookies or to allow those cookies just once.
You can change your settings at any time via the Privacy Options.
Unfortunately we have been unable to verify if you have consented to X cookies.
To view this content you can use the button below to allow X cookies for this session only.
X
This content is provided by X, which may be using cookies and other technologies.
To show you this content, we need your permission to use cookies.
You can use the buttons below to amend your preferences to enable X cookies or to allow those cookies just once.
You can change your settings at any time via the Privacy Options.
Unfortunately we have been unable to verify if you have consented to X cookies.
To view this content you can use the button below to allow X cookies for this session only.