Andy Burnham has become the UK's fifth prime minister in four years after officially accepting the role from the King.
Burnham was only sworn back into parliament a month ago, after serving as Mayor of Greater Manchester.
Former PM Sir Keir Starmer announced his resignation on 22 June, just four days after Burnham was elected as an MP.
There were no other challengers to the position of leader of the Labour Party and by extension PM. 379 Labour MPs nominated Burnham for the job.
Starmer visited the King to offer his resignation, followed by Burnham to accept the job. Burnham is the King's fourth Prime Minister since he took the throne in 2022.
He will now need to appoint a cabinet.
Burnham is expected to try and tackle the cost of living crisis, as well as promising huge plans for devolution, more public control over water and energy, and a massive house building programme.
While parliament breaks for the summer, Burnham is expected to undertake a listening tour of the UK.
In his final speech as PM, Sir Keir Starmer highlighted some of his achievements. He said: "In six and a half years, I took our party from a historic defeat in 2019, changed it so it was fit to face the country and won a landslide general election victory in 2024.
"Since then, it has been the privilege of my life to serve you and this great country as Prime Minister. I am confident that Britain is now stronger and fairer than it was two years ago.
"Our economy is stronger. Our public services are on the up, with the biggest fall in waiting times for 17 years. Children are being lifted out of poverty every single day. Immigration is down significantly. Our defence and security are on a far stronger footing. And our international reputation is greatly enhanced."
He offered his support to Burnham thanked his wife, family and staff, as well as the British people.
Incoming PM Burnham has used his first speech to launch a drive to end rough sleeping. This will be backed by an additional £340 million.
Research by Crisis shows that a year of rough sleeping costs an estimated £20,128 per person, versus £1,426 for a successful prevention intervention.
Burnham said: "For too long, we’ve been told that ending rough sleeping will take decades or even that it’s impossible. I’m not having that.
"This is something a government can fix if it chooses to. Today, I’m choosing to.
"On my first day as Prime Minister, I’m announcing this government’s commitment to finally end long-term rough sleeping across the UK at the earliest opportunity.
"We’ll get to work immediately, bringing together national and local government with the investment needed to get it done.
"This is the kind of Britain I want us to be – a country where everyone has the security of a roof over their head, and where no one is left behind or written off. Let’s bring back hope."